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.28] - [cloud-provider] only pretend that instances from the current "cloud" exist #9792

Closed
brandond opened this issue Mar 26, 2024 · 1 comment
Assignees
Milestone

Comments

@brandond
Copy link
Member

Backport fix for [cloud-provider] only pretend that instances from the current "cloud" exist

@mdrahman-suse
Copy link

Validation on release-1.28 branch with commit feb211d

Followed steps mentioned here: #9280 (comment)

Replication

$ k3s -v
k3s version v1.28.8+k3s1 (653dd61a)
go version go1.21.8

$ kubectl get nodes -o yaml
...
labels:
      beta.kubernetes.io/arch: amd64
      beta.kubernetes.io/instance-type: k3s
      beta.kubernetes.io/os: linux
      kubernetes.io/arch: amd64
      kubernetes.io/hostname: server1
      kubernetes.io/os: linux
      node-role.kubernetes.io/control-plane: "true"
      node-role.kubernetes.io/etcd: "true"
      node-role.kubernetes.io/master: "true"
      node.kubernetes.io/instance-type: k3s
      topology.kubernetes.io/region: us-east-2
      topology.kubernetes.io/zone: us-east-2a
   ...
    providerID: aws://i-testprovider
...

Validation

$ k3s -v
k3s version v1.28.8+k3s-feb211d3 (feb211d3)
go version go1.21.8

$ kubectl get nodes -o yaml
...
labels:
      beta.kubernetes.io/arch: amd64
      beta.kubernetes.io/instance-type: c4.large
      beta.kubernetes.io/os: linux
      failure-domain.beta.kubernetes.io/region: us-east-2
      failure-domain.beta.kubernetes.io/zone: us-east-2a
      kubernetes.io/arch: amd64
      kubernetes.io/hostname: server1
      kubernetes.io/os: linux
      node-role.kubernetes.io/control-plane: "true"
      node-role.kubernetes.io/etcd: "true"
      node-role.kubernetes.io/master: "true"
      node.kubernetes.io/instance-type: c4.large
      topology.kubernetes.io/region: us-east-2
      topology.kubernetes.io/zone: us-east-2a
    ...
    providerID: aws://i-testprovider
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants