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
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<pre>
+
{{lc}}
helm install my-release ingress-nginx/ingress-nginx
+
helm install my-release [[ingress-nginx]]/ingress-nginx
NAME: my-release
+
NAME: my-release
LAST DEPLOYED: Mon May  4 21:27:48 2020
+
LAST DEPLOYED: Mon May  4 21:27:48 2020
NAMESPACE: default
+
NAMESPACE: default
STATUS: deployed
+
STATUS: deployed
REVISION: 1
+
REVISION: 1
TEST SUITE: None
+
TEST SUITE: None
NOTES:
+
NOTES:
The ingress-nginx controller has been installed.
+
The ingress-nginx controller has been installed.
It may take a few minutes for the LoadBalancer IP to be available.
+
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'
+
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:
+
An example Ingress that makes use of the controller:
 
+
 
   apiVersion: networking.k8s.io/v1beta1
 
   apiVersion: networking.k8s.io/v1beta1
   kind: Ingress
+
   [[kind: Ingress]]
 
   metadata:
 
   metadata:
 
     annotations:
 
     annotations:
Line 35: Line 35:
 
             - www.example.com
 
             - www.example.com
 
           secretName: example-tls
 
           secretName: example-tls
 
+
<pre>
 
If TLS is enabled for the Ingress, a Secret containing the certificate and key must also be provided:
 
If TLS is enabled for the Ingress, a Secret containing the certificate and key must also be provided:
  
Line 55: Line 55:
 
== See also ==
 
== See also ==
 
* {{Helm}}
 
* {{Helm}}
* {{K8s}}
+
* {{Ingress}}
 +
 
 +
[[Category:Helm]]

Latest revision as of 15:14, 10 October 2023

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[edit]

See also[edit]

Advertising: