Difference between revisions of "NGINX Ingress Controller"
Jump to navigation
Jump to search
(31 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | [[wikipedia:NGINX Ingress Controller]] | |
+ | * https://docs.nginx.com/nginx-ingress-controller/ | ||
+ | * https://github.com/nginxinc/kubernetes-ingress | ||
− | * | + | * [[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 == | ||
− | * {{ | + | * {{kind: Ingress}} |
− | * {{Ingress}} | + | * {{Ingress-nginx}} |
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Latest revision as of 08:16, 16 February 2024
wikipedia:NGINX Ingress Controller
- SSL/TLS termination
- URL rewrites
- WebSockets support
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]
- 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[edit]
- CVE-2021-25742 ingress-nginx
- AWS ALB Ingress controller
kubectl create service externalname
ingress-nginx-controller
kubectl krew install ingress-nginx
- nginx-ingress-controller
- kind: Ingress
- Kubectl describe pods -n nginx-ingress
See also[edit]
kind: Ingress, nginx.ingress.kubernetes.io, networking.k8s.io/[v1Beta,v1 ], extensions/v1beta1, ingress.spec.rules, kubectl apply -f ingress.yaml, spec.tls, ingressClassName
- NGINX Ingress Controller: ConfigMap ingress-nginx,
UnAvailableLoadBalancer, UpdatedLoadBalancer, ingress-nginx-controller, ingress-nginx-controller-controller-admission, nginx.org/ingress-controller
Advertising: