Difference between revisions of "NGINX Ingress Controller"

From wikieduonline
Jump to navigation Jump to search
 
(31 intermediate revisions by 4 users not shown)
Line 1: Line 1:
https://github.com/nginxinc/kubernetes-ingress
+
[[wikipedia:NGINX Ingress Controller]]
  
 +
* https://docs.nginx.com/nginx-ingress-controller/
 +
* https://github.com/nginxinc/kubernetes-ingress
  
* <code>[[helm install]] --name ingress-nginx ingress-nginx/ingress-nginx</code>
+
* [[SSL/TLS]] termination
 +
* [[URL rewrites]]
 +
* [[WebSockets]] support
  
 +
* [[Ingress NGINX Controller]]
 +
* <code>[[helm install nginx-ingress]]</code>
 +
 +
[[kubectl get ingress]]
 +
[[kubectl get ingressclass]]
 +
[[kubectl logs -n nginx-ingress nginx-ingress-controller]]-XXX
 +
 +
== Official repo ==
 
  git clone https://github.com/nginxinc/kubernetes-ingress.git
 
  git clone https://github.com/nginxinc/kubernetes-ingress.git
 
  cd kubernetes-ingress/deployments/
 
  cd kubernetes-ingress/deployments/
  kubectl apply -f common/ns-and-sa.yaml
+
  [[kubectl apply -f]] common/ns-and-sa.yaml
 
  kubectl apply -f common/default-server-secret.yaml
 
  kubectl apply -f common/default-server-secret.yaml
 
  kubectl apply -f common/ingress-class.yaml  # https://docs.nginx.com/nginx-ingress-controller/installation/installation-with-manifests/#create-common-resources
 
  kubectl apply -f common/ingress-class.yaml  # https://docs.nginx.com/nginx-ingress-controller/installation/installation-with-manifests/#create-common-resources
Line 14: Line 26:
 
  kubectl apply -f deployment/nginx-ingress.yaml
 
  kubectl apply -f deployment/nginx-ingress.yaml
 
  kubectl apply -f service/loadbalancer-aws-elb.yaml
 
  kubectl apply -f service/loadbalancer-aws-elb.yaml
 +
 +
 +
[[kubectl get roles -A]]
 +
.../...
 +
ingress-nginx                        ingress-nginx                                    2022-07-18T10:28:37Z
 +
.../...
 +
 +
== [[Events]] ==
 +
 +
{{nginx-ingress events}}
  
 
== Activities ==
 
== Activities ==
 
* Read [[Installing Kubernetes NGINX Ingress controller using manifests]]: https://docs.nginx.com/nginx-ingress-controller/installation/installation-with-manifests/
 
* Read [[Installing Kubernetes NGINX Ingress controller using manifests]]: https://docs.nginx.com/nginx-ingress-controller/installation/installation-with-manifests/
 +
* Read AWS document about [[How do I provide external access to multiple Kubernetes services in my Amazon EKS cluster?]]: https://aws.amazon.com/premiumsupport/knowledge-center/eks-access-kubernetes-services/
 +
* [[Exposing TCP and UDP services]]
 +
* [[Ingress-nginx-controller: activating debug]]: [[k edit deploy -n nginx-ingress]]
 +
 +
== Related ==
 +
* [[CVE-2021-25742 ingress-nginx]]
 +
* [[AWS ALB Ingress controller]]
 +
* <code>[[kubectl create service externalname]]</code>
 +
* <code>[[ingress-nginx-controller]]</code>
 +
* <code>[[kubectl krew install ingress-nginx]]</code>
 +
* [[nginx-ingress-controller]]
 +
* [[kind: Ingress]]
 +
* [[Kubectl describe pods -n nginx-ingress]]
  
 
== See also ==
 
== See also ==
* {{helm install}}
+
* {{kind: Ingress}}
* {{Ingress}}
+
* {{Ingress-nginx}}
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Latest revision as of 08:16, 16 February 2024

wikipedia:NGINX Ingress Controller

kubectl get ingress
kubectl get ingressclass
kubectl logs -n nginx-ingress nginx-ingress-controller-XXX

Official repo[edit]

git clone https://github.com/nginxinc/kubernetes-ingress.git
cd kubernetes-ingress/deployments/
kubectl apply -f common/ns-and-sa.yaml
kubectl apply -f common/default-server-secret.yaml
kubectl apply -f common/ingress-class.yaml   # https://docs.nginx.com/nginx-ingress-controller/installation/installation-with-manifests/#create-common-resources
kubectl apply -f common/crds/
kubectl apply -f ../../contrib/helm/aws/aws-ingress-nginx-config.yaml
kubectl apply -f rbac/rbac.yaml
kubectl apply -f deployment/nginx-ingress.yaml
kubectl apply -f service/loadbalancer-aws-elb.yaml


kubectl get roles -A
.../...
ingress-nginx                         ingress-nginx                                    2022-07-18T10:28:37Z
.../...

Events[edit]

 ingress-nginx   53m         Normal    UpdatedLoadBalancer       service/nginx-ingress-controller                        Updated load balancer with new hosts
ingress-nginx   54m         Warning   UnAvailableLoadBalancer   service/nginx-ingress-controller                        There are no available nodes for LoadBalancer

Activities[edit]

Related[edit]

See also[edit]

Advertising: