Difference between revisions of "NGINX Ingress Controller"

From wikieduonline
Jump to navigation Jump to search
Line 13: Line 13:
 
  [[kubectl get ingress]]
 
  [[kubectl get ingress]]
 
  [[kubectl get ingressclass]]
 
  [[kubectl get ingressclass]]
 +
[[kubectl logs -n nginx-ingress nginx-ingress-controller]]-XXX
  
 
== Official repo ==
 
== Official repo ==

Revision as of 06:30, 16 February 2024

wikipedia:NGINX Ingress Controller

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
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

 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

Related

See also

Advertising: