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

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 commit ca0b958 on release-1.27 branch

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

Validation

$ rke2 -v
rke2 version v1.27.16+dev.ca0b9588 (ca0b9588913a76c58c7825152a2c129223f28d86)
go version go1.22.5 X:boringcrypto

$ kgn
NAME                                         STATUS   ROLES                       AGE    VERSION
ip-xxx-xx-3-247.us-east-2.compute.internal   Ready    control-plane,etcd,master   100m   v1.27.16+rke2r2
ip-xxx-xx-6-16.us-east-2.compute.internal    Ready    <none>                      98m    v1.27.16+rke2r2
ip-ac1f037f                                  Ready    <none>                      92m    v1.27.16

$ kgp | grep win
default           win-webserver-847857c9d-6lmtp                                         1/1     Running     0             42m

$ kubectl exec -it win-webserver-847857c9d-6lmtp -- 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.27.16+dev.ca0b9588 (ca0b9588913a76c58c7825152a2c129223f28d86)
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 win-webserver-847857c9d-6lmtp -- 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