Skip to content
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

[Release-1.30] - ServiceLB is broken when rke2-cloud-provider is on 1.29 but k8s version is <=1.28 #6906

Closed
brandond opened this issue Oct 1, 2024 · 1 comment
Assignees

Comments

@brandond
Copy link
Member

brandond commented Oct 1, 2024

Backport fix for ServiceLB is broken when rke2-cloud-provider is on 1.29 but k8s version is <=1.28

@VestigeJ
Copy link
Contributor

VestigeJ commented Oct 8, 2024

$ kgp cloud-controller-manager-ip -o yaml -n kube-system | grep -i image:

    image: index.docker.io/rancher/rke2-cloud-provider:v1.30.4-build20240910
    image: docker.io/rancher/rke2-cloud-provider:v1.30.4-build20240910

$ k version;rke2 -v;

Client Version: v1.30.5+rke2r1
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.5+rke2r1
rke2 version v1.30.5+rke2r1 (0c83bc82315cd61664880d0b52a7e070e9fbd623)
go version go1.22.6 X:boringcrypto

$ kg svc,po

NAME                 TYPE           CLUSTER-IP     EXTERNAL-IP   PORT(S)        AGE
service/kubernetes   ClusterIP      10.43.0.1      <none>        443/TCP        3m47s
service/test-lb      LoadBalancer   10.43.63.124   3.333.33.3   80:30266/TCP   67s

NAME                         READY   STATUS    RESTARTS   AGE
pod/nginx-7bf58bdb65-rnj2z   1/1     Running   0          66s

$ echo $COMMIT

da5986864fe517cff7fb7c0164740cf3dd91587c

=========== rke2 config ===========

node-external-ip: 3.3.3.32
token: YOUR_TOKEN_HERE
write-kubeconfig-mode: 644
debug: true
cni: multus,cilium
embedded-registry: true
enable-servicelb: true
disable-cloud-controller: false
disable:
  - rke2-ingress-nginx

$ kgp cloud-controller-manager-ip-3-3-3-32 -n kube-system -o yaml | grep -i image:

    image: index.docker.io/rancher/rke2-cloud-provider:v1.30.4-build20240910
    image: docker.io/rancher/rke2-cloud-provider:v1.30.4-build20240910

$ k version;rke2 -v;

Client Version: v1.30.5+rke2r1
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.5+rke2r1
rke2 version v1.30.5+dev.da598686 (da5986864fe517cff7fb7c0164740cf3dd91587c)
go version go1.22.6 X:boringcrypto

$ kg po,svc

NAME                         READY   STATUS    RESTARTS   AGE
pod/nginx-7bf58bdb65-rnj2z   1/1     Running   0          12m

NAME                 TYPE           CLUSTER-IP     EXTERNAL-IP   PORT(S)        AGE
service/kubernetes   ClusterIP      10.43.0.1      <none>        443/TCP        14m
service/test-lb      LoadBalancer   10.43.63.124   3.3.3.32       80:30266/TCP   12m

@VestigeJ VestigeJ closed this as completed Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants