1 Env was deployed?
Question
For this question, please set the context to cluster3 by running:
kubectl config use-context cluster3
We have an external webserver running on student-node which is exposed at port 9999.
We have also created a service called external-webserver-ckad01-svcn that can connect to our local webserver from within the cluster3 but, at the moment, it is not working as expected.
Fix the issue so that other pods within cluster3 can use external-webserver-ckad01-svcn service to access the webserver.
But the env was not deployed at all
student-node ~ ✖ k get nodes
NAME STATUS ROLES AGE VERSION
cluster3-controlplane Ready control-plane 138m v1.26.0
cluster3-node01 Ready <none> 137m v1.26.0
student-node ~ ➜ curl student-node:9999
curl: (7) Failed to connect to student-node port 9999: Connection refused
student-node ~ ✖ k get svc | grep external | wc -l
0
student-node ~ ✖ ss -tupnl | grep 9999
2 Mismatch on version between Question and ‘Correct’ Answer?
Question
For this question, please set the context to cluster3 by running:
kubectl config use-context cluster3
One co-worker deployed an nginx helm chart on the cluster3 server called lvm-crystal-apd. A new update is pushed to the helm chart, and the team wants you to update the helm repository to fetch the new changes.
After updating the helm chart, upgrade the helm chart version to above 13.2.9 and increase the replica count to 2.
NOTE: - We have to perform this task on the cluster3-controlplane node.
You can SSH into the cluster3 using ssh cluster3-controlplane command.
The upgrade was updated and the result has been shown as
cluster3-controlplane ~ ➜ helm list -A
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
lvm-crystal-apd crystal-apd-ns 2 2023-12-28 14:05:29.547313415 -0500 EST deployed nginx-13.2.9 1.23.1
The check result was shown wrong with ’ Is the chart version upgraded?'. I checked solution
6 Upgrade the helm chart to above 13.2.9 and also, increase the replica count of the deployment to 2 from the command line. Use the helm upgrade command as follows: -
helm upgrade lvm-crystal-apd lvm-crystal-apd/nginx -n crystal-apd-ns --version=13.2.12 --set replicaCount=2