-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
svclb pods not deleted when services are deleted #5823
Comments
This was reported on Rancher Users slack: https://rancher-users.slack.com/archives/C3ASABBD1/p1657304386040799
k get pods -n kube-system
NAME READY STATUS RESTARTS AGE
coredns-d76bd69b-bnx9m 1/1 Running 3 (9d ago) 9d
metrics-server-7cd5fcb6b7-gflch 1/1 Running 3 (9d ago) 9d
local-path-provisioner-6c79684f77-hlwsg 1/1 Running 5 (9d ago) 9d
svclb-rook-ceph-mgr-dashboard-loadbalancer-1364e2b9-k7wsp 1/1 Running 0 7d23h
svclb-rook-ceph-mgr-dashboard-loadbalancer-1364e2b9-df8cj 1/1 Running 0 7d23h
svclb-rook-ceph-mgr-dashboard-loadbalancer-1364e2b9-sxb88 1/1 Running 0 7d23h
svclb-rook-ceph-mgr-dashboard-loadbalancer-1364e2b9-7nqq6 1/1 Running 1 (7d6h ago) 7d23h
svclb-istio-ingressgateway-c9776a98-m6hzn 3/3 Running 0 3d2h
svclb-istio-ingressgateway-c9776a98-kwvr7 3/3 Running 0 3d2h
svclb-istio-ingressgateway-c9776a98-4jn4m 3/3 Running 0 3d2h
svclb-istio-ingressgateway-c9776a98-hd4jw 3/3 Running 0 3d2h
svclb-keycloak-fb0704bb-pnq85 1/1 Running 0 2d23h
svclb-keycloak-fb0704bb-xfh2p 1/1 Running 0 2d23h
svclb-keycloak-fb0704bb-llc4r 1/1 Running 0 2d23h
svclb-keycloak-fb0704bb-cjx4v 1/1 Running 0 2d23h
svclb-postgres-db-40a02dd4-7h7q7 1/1 Running 0 2d22h
svclb-postgres-db-40a02dd4-svf68 1/1 Running 0 2d22h
svclb-postgres-db-40a02dd4-cn25l 1/1 Running 0 2d22h
svclb-postgres-db-40a02dd4-tskt4 1/1 Running 0 2d22h
svclb-stackgres-restapi-e9fc8149-xqhgw 0/1 Pending 0 23h
svclb-stackgres-restapi-e9fc8149-jp4cx 0/1 Pending 0 23h
svclb-stackgres-restapi-e9fc8149-444fj 0/1 Pending 0 23h
svclb-stackgres-restapi-e9fc8149-jxgjm 0/1 Pending 0 23h
svclb-nginx-service-2fcd8743-zbxv6 1/1 Running 0 3h9m
svclb-nginx-service-2fcd8743-dpw6q 1/1 Running 0 3h9m
svclb-nginx-service-2fcd8743-hj4gk 1/1 Running 0 3h9m
svclb-nginx-service-2fcd8743-dt5pn 1/1 Running 0 3h9m
svclb-nginx-b1379761-dhw6w 1/1 Running 0 3h27m
svclb-nginx-b1379761-zcgnd 1/1 Running 0 3h27m
svclb-nginx-b1379761-czflw 1/1 Running 0 3h27m
svclb-nginx-b1379761-jbpmv 1/1 Running 0 3h27m
svclb-west2-service-9d3852cf-rjhfw 1/1 Running 0 64m
svclb-west2-service-9d3852cf-9p29w 1/1 Running 0 64m
svclb-west2-service-9d3852cf-t2s5h 1/1 Running 0 64m
svclb-west2-service-9d3852cf-7z2xw 1/1 Running 0 64m
svclb-test-service-ac1dfd76-6qj28 1/1 Running 0 47m
svclb-test-service-ac1dfd76-ckfdz 1/1 Running 0 47m
svclb-test-service-ac1dfd76-cmdgz 1/1 Running 0 47m
svclb-test-service-ac1dfd76-47j66 1/1 Running 0 47m
svclb-test-f79880dc-gxrcx 0/2 Pending 0 4m35s
svclb-test-f79880dc-l9b9k 0/2 Pending 0 4m35s
svclb-test-f79880dc-x2bcz 0/2 Pending 0 4m35s
svclb-test-f79880dc-zkwdz 0/2 Pending 0 4m35s
svclb-test-replicas-2fef0816-l2xfv 0/2 Pending 0 4m35s
svclb-test-replicas-2fef0816-zctcp 0/2 Pending 0 4m35s
svclb-test-replicas-2fef0816-lgj2v 0/2 Pending 0 4m35s
svclb-test-replicas-2fef0816-gjgwv 0/2 Pending 0 4m35s
k delete pods -n kube-system svclb-test-f79880dc-gxrcx svclb-test-f79880dc-l9b9k
pod "svclb-test-f79880dc-gxrcx" deleted
pod "svclb-test-f79880dc-l9b9k" deleted
(envgen)$ k get pods -n kube-system
NAME READY STATUS RESTARTS AGE
coredns-d76bd69b-bnx9m 1/1 Running 3 (9d ago) 9d
metrics-server-7cd5fcb6b7-gflch 1/1 Running 3 (9d ago) 9d
local-path-provisioner-6c79684f77-hlwsg 1/1 Running 5 (9d ago) 9d
svclb-rook-ceph-mgr-dashboard-loadbalancer-1364e2b9-k7wsp 1/1 Running 0 7d23h
svclb-rook-ceph-mgr-dashboard-loadbalancer-1364e2b9-df8cj 1/1 Running 0 7d23h
svclb-rook-ceph-mgr-dashboard-loadbalancer-1364e2b9-sxb88 1/1 Running 0 7d23h
svclb-rook-ceph-mgr-dashboard-loadbalancer-1364e2b9-7nqq6 1/1 Running 1 (7d6h ago) 7d23h
svclb-istio-ingressgateway-c9776a98-m6hzn 3/3 Running 0 3d2h
svclb-istio-ingressgateway-c9776a98-kwvr7 3/3 Running 0 3d2h
svclb-istio-ingressgateway-c9776a98-4jn4m 3/3 Running 0 3d2h
svclb-istio-ingressgateway-c9776a98-hd4jw 3/3 Running 0 3d2h
svclb-keycloak-fb0704bb-pnq85 1/1 Running 0 2d23h
svclb-keycloak-fb0704bb-xfh2p 1/1 Running 0 2d23h
svclb-keycloak-fb0704bb-llc4r 1/1 Running 0 2d23h
svclb-keycloak-fb0704bb-cjx4v 1/1 Running 0 2d23h
svclb-postgres-db-40a02dd4-7h7q7 1/1 Running 0 2d22h
svclb-postgres-db-40a02dd4-svf68 1/1 Running 0 2d22h
svclb-postgres-db-40a02dd4-cn25l 1/1 Running 0 2d22h
svclb-postgres-db-40a02dd4-tskt4 1/1 Running 0 2d22h
svclb-stackgres-restapi-e9fc8149-xqhgw 0/1 Pending 0 23h
svclb-stackgres-restapi-e9fc8149-jp4cx 0/1 Pending 0 23h
svclb-stackgres-restapi-e9fc8149-444fj 0/1 Pending 0 23h
svclb-stackgres-restapi-e9fc8149-jxgjm 0/1 Pending 0 23h
svclb-nginx-service-2fcd8743-zbxv6 1/1 Running 0 3h11m
svclb-nginx-service-2fcd8743-dpw6q 1/1 Running 0 3h11m
svclb-nginx-service-2fcd8743-hj4gk 1/1 Running 0 3h11m
svclb-nginx-service-2fcd8743-dt5pn 1/1 Running 0 3h11m
svclb-nginx-b1379761-dhw6w 1/1 Running 0 3h29m
svclb-nginx-b1379761-zcgnd 1/1 Running 0 3h29m
svclb-nginx-b1379761-czflw 1/1 Running 0 3h29m
svclb-nginx-b1379761-jbpmv 1/1 Running 0 3h29m
svclb-west2-service-9d3852cf-rjhfw 1/1 Running 0 66m
svclb-west2-service-9d3852cf-9p29w 1/1 Running 0 66m
svclb-west2-service-9d3852cf-t2s5h 1/1 Running 0 66m
svclb-west2-service-9d3852cf-7z2xw 1/1 Running 0 66m
svclb-test-service-ac1dfd76-6qj28 1/1 Running 0 48m
svclb-test-service-ac1dfd76-ckfdz 1/1 Running 0 48m
svclb-test-service-ac1dfd76-cmdgz 1/1 Running 0 48m
svclb-test-service-ac1dfd76-47j66 1/1 Running 0 48m
svclb-test-f79880dc-x2bcz 0/2 Pending 0 6m23s
svclb-test-f79880dc-zkwdz 0/2 Pending 0 6m23s
svclb-test-replicas-2fef0816-l2xfv 0/2 Pending 0 6m23s
svclb-test-replicas-2fef0816-zctcp 0/2 Pending 0 6m23s
svclb-test-replicas-2fef0816-lgj2v 0/2 Pending 0 6m23s
svclb-test-replicas-2fef0816-gjgwv 0/2 Pending 0 6m23s
svclb-test-f79880dc-bfhcc 0/2 Pending 0 3s
svclb-test-f79880dc-vz52q 0/2 Pending 0 3s |
See also same in KlipperLB github: k3s-io/klipper-lb#38 We tore down our entire cluster and reinstalled (1 master and 3 worker nodes). Then we started nginx with the following configuration:
Reviewing the different namespaces, we saw the following (as expected): Then we executed a "k delete -f nginx-test.yaml" with the following results:
Note the four svclb-nginx still running (and they are still running 8 mins after delete was issued. |
As a temporary work-around, you can roll back your cluster to v1.24.1, which does not include the above-linked PR. You could also manually delete the svclb DaemonSets after deleting their Service. |
According to K3S software, we are using version 1.23.8
Also, 1.24.1 is not available on github. Sorry - I am in error, 1.24.1 is available. I did not look back far enough. However, this would be advancing a version from what we are currently doing. @brandond BTW, my colleague has been using 1.23.6_k3s1 without any problems. Is this a good version to drop back to? |
@brandond - I am able to download the 1.23.6_k3s1 by clicking on download tarball or zip icon. I am not able to figure out the combination of how to install a specific tagged version. I have tried setting the INSTALL_K3S_VERSION and that seems to be trying to get that version. However, it is not found in the releases area. I have also tried to work with INSTALL_K3S_CHANNEL_URL and INSTALL_K3S_SKIP_ENABLE without getting the software to install. Please provide details on how to install tagged version that is not a release. |
Releases are named something like |
Validated on master branch with commitid
|
This comment was marked as outdated.
This comment was marked as outdated.
@vxav please don't "me too" on old closed issues. Open a new issue, fill out the issue template, and provide steps to reproduce. |
Following the merge of #5657, deleting LoadBalancer Services leaves orphan
svclb
pods that block reuse of ports by subsequent services.Steps to reproduce:
The text was updated successfully, but these errors were encountered: