Difference between revisions of "Kind: Ingress"

From wikieduonline
Jump to navigation Jump to search
Line 41: Line 41:
 
         [[secretName:]] example-tls
 
         [[secretName:]] example-tls
  
 +
 +
  .../...
 +
  status:
 +
    [[loadBalancer:]]
 +
      ingress:
 +
      - hostname: a324242432.elb.ap-southeast-1.amazonaws.com
 +
  .../...
  
 
== Related terms ==
 
== Related terms ==

Revision as of 14:41, 9 August 2023


apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: foobar
spec:
  rules:
  - host: foobar.example.com
    http:
      paths:
      - backend:
          serviceName: foo
          servicePort: 8080
        path: /
helm install my-release ingress-nginx/ingress-nginx
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  annotations:
    kubernetes.io/ingress.class: nginx
  name: example
  namespace: foo
spec:
  rules:
    - host: www.example.com
      http:
        paths:
          - backend:
              serviceName: exampleService
              servicePort: 80
            path: /
  # This section is only required if TLS is to be enabled for the Ingress
  tls:
      - hosts:
          - www.example.com
        secretName: example-tls


 .../...
 status:
   loadBalancer:
     ingress:
     - hostname: a324242432.elb.ap-southeast-1.amazonaws.com
 .../...

Related terms

See also

Advertising: