Facing issues with CKA mockexam 1,2 and 3 1. A new application `orange` is depl . . .

Sunitha:
Facing issues with CKA mockexam 1,2 and 3

  1. A new application orange is deployed. There is something wrong with it. Identify and fix the issue.
    cant find any app by the name orange

1)A kubeconfig file called super.kubeconfig has been created under /root/CKA. There is something wrong with the configuration. Troubleshoot and fix it.

no file under /root/CKA

We have deployed a new pod called np-test-1 and a service called np-test-service. Incoming connections to this service are not working. Troubleshoot and fix it.
Create NetworkPolicy, by the name ingress-to-nptest that allows incoming connections to the service over port 80

np-test-1 and a service called np-test-service both doesn’t exist

  1. We have created a new deployment called nginx-deploy. scale the deployment to 3 replicas. Has the replica’s increased? Troubleshoot the issue and fix it.

cant view the deployment

A kubeconfig file called super.kubeconfig has been created under /root/CKA. There is something wrong with the configuration. Troubleshoot and fix it.

can’t view the file under /root/CKA

5)

Create a new user called john. Grant him access to the cluster. John should have permission to create, list, get, update and delete pods in the development namespace . The private key exists in the location: /root/john.key and csr at /root/john.csr

C

.csr and .key doesn’t exist.

Mohamed Ayman:

  1. Regarding orange application, check this GIF:

cka-mockexam1-orange-app.gif

Mohamed Ayman:
1)check the kubeconfig under /root and If not existed, try to restart the lab and when moving to this question, wait just 1 minute.

The question needs you to make sure the port for the kube-apiserver is correct. so you should change port from 2379 to 6443 then check via kubectl cluster-info --config=/root/super.kubeconfig Please check the following:
cka-mockexam3-q8.gif

Sunitha:
thank you so much @Mohamed Ayman

Mohamed Ayman:
You’re welcome