Difference between revisions of "Helm install nginx-ingress"

From wikieduonline
Jump to navigation Jump to search
(Changed redirect target from Helm install ingress-nginx to Nginx-ingress)
Tag: Redirect target changed
(Removed redirect to Nginx-ingress)
Tag: Removed redirect
Line 1: Line 1:
#REDIRECT [[nginx-ingress]]
+
 
 +
* [[helm install nginx]]
 +
* [[helm install]] [RELEASE_NAME] [[ingress-nginx]]/ingress-nginx
 +
 
 +
 
 +
== Commands ==
 +
[[helm install nginx]]
 +
[[kubectl get svc]]
 +
[[kubectl describe configmap my-ingress-nginx-controller]]
 +
[[helm get values nginx-ingress -n nginx-ingress]]
 +
 
 +
kubectl get ingressclass
 +
NAME    CONTROLLER                    PARAMETERS  AGE
 +
nginx  [[nginx.org/ingress-controller]]  <none>      36s
 +
 
 +
[[helm install ingress-nginx]] ([[kubernetes.github.io]])
 +
[[helm install nginx-ingress]], [[helm install my-release oci://ghcr.io/nginxinc/charts/nginx-ingress]] --version 1.1.2
 +
 
 +
resource "[[helm_release]]" "nginx-ingress" {
 +
  name      = "nginx-ingress"
 +
  namespace  = "nginx-ingress"
 +
  chart      = "oci://ghcr.io/nginxinc/charts/nginx-ingress"
 +
}
 +
 
 +
== ConfigMap ==
 +
apiVersion: v1
 +
[[kind: ConfigMap]]
 +
metadata:
 +
  name: nginx-config
 +
  namespace: nginx-ingress
 +
data:
 +
  proxy-protocol: "True"
 +
  real-ip-header: "proxy_protocol"
 +
  set-real-ip-from: "0.0.0.0/0"
 +
 
 +
== Related ==
 +
* [[nginx.ingress.kubernetes.io annotations]]
 +
* <code>[[kubectl logs -n nginx-ingress]]</code>
 +
 
 +
== See also ==
 +
* {{nginx-ingress}}
 +
 
 +
[[Category:Nginx]]

Revision as of 11:41, 13 February 2024


Commands

helm install nginx
kubectl get svc
kubectl describe configmap my-ingress-nginx-controller
helm get values nginx-ingress -n nginx-ingress
kubectl get ingressclass
NAME    CONTROLLER                     PARAMETERS   AGE
nginx   nginx.org/ingress-controller   <none>       36s
helm install ingress-nginx (kubernetes.github.io)
helm install nginx-ingress, helm install my-release oci://ghcr.io/nginxinc/charts/nginx-ingress --version 1.1.2
resource "helm_release" "nginx-ingress" {
  name       = "nginx-ingress"
  namespace  = "nginx-ingress"
  chart      = "oci://ghcr.io/nginxinc/charts/nginx-ingress"
}

ConfigMap

apiVersion: v1
kind: ConfigMap
metadata:
  name: nginx-config
  namespace: nginx-ingress
data:
  proxy-protocol: "True"
  real-ip-header: "proxy_protocol"
  set-real-ip-from: "0.0.0.0/0"

Related

See also

Advertising: