-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Hi Team Could you please help me #188
Comments
First Pic Q1 |
You can refer to the solution for Question2 here |
Hi ahmedqazi444, Thank You so much for the Question1. For question2 I need to use the -o wide command to get the error of the pod. I think I need to run the command " kubectl get po -o wide" or "kubectl get events -A | grep -i "Liveness probe are failed " | awk '{print $1 "/"$5}" or "kubectl get events -A -o wide"? to the fix the issue :- I think it will be related to the port right? Question3: NOTE:- I have seen two network policy with name: poxy-neyworkpolicy and db-networkpolicy already had been created. Question4: is the below command correct? kubectl create cronjob --image=busybox:stable --schedule="* /1 * * * *" --/bin/sh -c "uname" --dry-run=client -o yaml > pod.yaml in the edit i need to add under spec.jobtemplate.spec.template.spec.ActiveDeadlineSeconds right? Please help me here Team/@ahmedqazi444 |
|
@ahmedqazi444 Thank you so much for your response and answer... I have few questions and I just want you to verify and if i am incorrect please correct me Context: Your application's namespace requires a specific service account to be used Task:: Update the "appa" deployment in the "production-app" namespace to run as the "restrictedservice" service account. The Service account has already created Answer: kubectl get serviceaccounts # it will show "restrictedservice" Context: Task: Answer: kubectl create configmap another-config --from-literal=key4=value4 then edit the pod.yaml with below lines: Context: Task: Answer: kubectl -n pod-resources run nginx-resources --image=nginx --requests='cpu=400m,memory=2Gi ' |
I believe your approach is correct. Furthermore, you can practice these exact questions from the exercises in this repo to get a solid understanding.Good Luck. |
Hi Team ,
I have gave CKAD exam 27th april 2021. could you please help me with below questions
The text was updated successfully, but these errors were encountered: