Difference between revisions of "Helm install my-release ingress-nginx/ingress-nginx"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 49: Line 49:
 
</pre>
 
</pre>
  
 +
 +
== Related terms ==
 +
* [[Ingress (Kubernetes)]]
  
 
== See also ==
 
== See also ==
 
* {{Helm}}
 
* {{Helm}}
 
* {{K8s}}
 
* {{K8s}}

Revision as of 17:41, 10 May 2020

helm install my-release ingress-nginx/ingress-nginx
NAME: my-release
LAST DEPLOYED: Mon May  4 21:27:48 2020
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
The ingress-nginx controller has been installed.
It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status by running 'kubectl --namespace default get services -o wide -w my-release-ingress-nginx-controller'

An example Ingress that makes use of the controller:

  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

If TLS is enabled for the Ingress, a Secret containing the certificate and key must also be provided:

  apiVersion: v1
  kind: Secret
  metadata:
    name: example-tls
    namespace: foo
  data:
    tls.crt: <base64 encoded cert>
    tls.key: <base64 encoded key>
  type: kubernetes.io/tls


Related terms

See also

Advertising: