Closed bd-spl closed 1 year ago
@bd-spl: This issue is currently awaiting triage.
If Ingress contributors determines this is a relevant issue, they will accept it by applying the triage/accepted
label and provide further guidance.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
w/a: full redeploy of the ingress-nginx addon with helm
/remove-kind bug
kubectl delete
. Where did you get that process from. You should follow up on that source as there may be other steps that were to be done after a deletehelm upgrade
command using a values file or the --set
flagsI will close for now. Please re-open when required. /close
@longwuyuan: Closing this issue.
What happened:
Ingress Nginx Controller does not recreate removed ingress-nginx-controller service of LoadBalancer type, nor the LB itself. The service needs to be recreated in order to apply changed annotations, for example, from internal to internet-facing LB type.
What you expected to happen:
If the service and/or LB removed manually, controller recreates it back. If annotation change for the service, controller recreates the service and/or its LB.
NGINX Ingress controller version (exec into the pod and run nginx-ingress-controller --version.):
Kubernetes version (use
kubectl version
):Environment:
Cloud provider or hardware configuration: AWS EKS
OS (e.g. from /etc/os-release):
Kernel (e.g.
uname -a
):Install tools:
Please mention how/where was the cluster created like kubeadm/kops/minikube/kind etc.
Basic cluster related info:
kubectl version
kubectl get nodes -o wide
How was the ingress-nginx-controller installed: helm provider by terraform (helm_release). Other details below are not relevant for this particular case (whatever config is deployed, the main problem is recreating the service/LB after it is removed).
helm ls -A | grep -i ingress
helm -n <ingresscontrollernamepspace> get values <helmreleasename>
Current State of the controller:
kubectl describe ingressclasses
kubectl -n <ingresscontrollernamespace> get all -A -o wide
kubectl -n <ingresscontrollernamespace> describe po <ingresscontrollerpodname>
kubectl -n <ingresscontrollernamespace> describe svc <ingresscontrollerservicename>
Current state of ingress object, if applicable:
kubectl -n <appnnamespace> get all,ing -o wide
kubectl -n <appnamespace> describe ing <ingressname>
Others:
kubectl describe ...
of any custom configmap(s) created and in useHow to reproduce this issue:
Remove the LB service:
kubectl delete svc/ingress-nginx-controller -n ingress-nginx
, or its managed LB in AWS console/UIAnything else we need to know: