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.29] Windows workloads cannot be deleted post upgrade, stuck in Terminating #6535

Closed
rbrtbnfgl opened this issue Aug 12, 2024 · 1 comment
Assignees

Comments

@rbrtbnfgl
Copy link
Contributor

backport for #5551

@mdrahman-suse
Copy link
Contributor

Validation with RC v1.29.8-rc1+rke2r1

With Windows Server 2019 Datacenter
Steps: #6534 (comment)

Validation

$ rke2 -v
rke2 version v1.29.8-rc1+rke2r1 (c65abe03a32406188d9ec795506b679a211272c3)
go version go1.22.5 X:boringcrypto
  • Before restart rek2 on Windows
$ kgn
NAME                                          STATUS   ROLES                       AGE    VERSION
ip-xxx-xx-11-66.us-east-2.compute.internal    Ready    control-plane,etcd,master   16m   v1.29.8+rke2r1
ip-xxx-xx-14-254.us-east-2.compute.internal   Ready    <none>                      15m   v1.29.8+rke2r1
ip-ac1f0152                                   Ready    <none>                      15m   v1.29.8

$ kgp | grep win
default           win-webserver-f776f59bd-7bk9n                                         1/1     Running     0              14m

$ kubectl exec -it pod/win-webserver-f776f59bd-7bk9n -- powershell.exe nslookup
Default Server:  rke2-coredns-rke2-coredns.kube-system.svc.cluster.local
Address:  10.43.0.10
  • Restart rke2
PS C:\Users\Administrator> C:\usr\local\bin\rke2.exe --version
rke2.exe version v1.29.8-rc1+rke2r1 (c65abe03a32406188d9ec795506b679a211272c3)
go version go1.22.5
PS C:\Users\Administrator> Get-Service -Name rke2

Status   Name               DisplayName
------   ----               -----------
Running  rke2               rke2


PS C:\Users\Administrator> Restart-Service -Name rke2
  • After restart
$ kubectl exec -it pod/win-webserver-f776f59bd-7bk9n -- powershell.exe nslookup
Default Server:  rke2-coredns-rke2-coredns.kube-system.svc.cluster.local
Address:  10.43.0.10

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

2 participants