CKS Course LABS broken due to K8S v1.34 upgrade

The link for the lab would be :

https://learn.kodekloud.com/user/courses/certified-kubernetes-security-specialist-cks/module/8d7f7d5b-47ad-496b-9a30-49eedc61f7fa/lesson/561a4ee8-06cb-4969-acd5-b974f25393ed

(it’s literally the first lab of the CKS course)

the scheduler pod, says this:

Warning Unhealthy 81s (x25 over 55m) kubelet Readiness probe failed: HTTP probe failed with statuscode: 500

The problem with that is that pods won’t start, so it’s impossible for us test and finish the tasks, for example task number 6, I can’t finish the task because when I try to run:

kubectl exec -n salad fruits-865f7c6d4-ntqwd -c apple – apk info | grep curl && echo apple

returns me that first error

““Error from server (BadRequest): pod fruits-865f7c6d4-ntqwd does not have a host assigned””

I also ran the following command :

openssl x509 -noout -text -in /etc/kubernetes/pki/apiserver.crt | grep -A1 “Subject Alternative Name”
That returned:

X509v3 Subject Alternative Name:

DNS:controlplane, DNS:kubernetes, DNS:kubernetes.default, DNS:kubernetes.default.svc, DNS:kubernetes.default.svc.cluster.local, IP Address:10.96.0.1, IP Address:192.168.121.151

the kube-scheduler bind address is 127.0.0.1, AI suggested changing to 192.168.121.151 and then updating using kube-adm to regenerate the certs.

sudo kubeadm init phase certs apiserver --apiserver-cert-extra-sans=192.168.121.167,127.0.0.1,controlplane

but yeah, I’ve done or attempted the lab this morning and the kubernetes version was 1.33 and these problems didn’t show up. And now I’ve noticed that the nodes were updated to 1.34.



This may be transitory. I just checked your lab, and when it initially came up, kube-apiserver was not up and healthy yet. It took a few minutes to come up, but it did come up, and at that point, Q1 was ready.

Please try the lab again. You’re probably correct that you caught the system in the middle of an upgrade. I know that they’ve been working on some maintenance on the CKS course, and it looks like it’s landing today.

Hello Rob, thank you for your quick reply.
I initially noticed this problem, I had like 30 minutes left in the lab (its like 100+ minutes total).

I started other sessions to double check later on.

I will sleep now, in the morning will try the lab again and check if it’s still there.

Hi @laureans.victor ,

Thanks for highlighting. This has been fixed already. Please give it a try and let us know. cc @rob_kodekloud

Regards,

Thank you guys!

I’m trying it right now and can confirm the scheduler issue has been resolved.
Great work!