CKAD-exercises
CKAD-exercises copied to clipboard
A set of exercises to prepare for Certified Kubernetes Application Developer exam by Cloud Native Computing Foundation
Corrected the location of the documentation.
Before k8s 1.18, people would set the restart policy in their imperative commands to make `kubectl run` generate deployments, pods, or jobs depending on whether the restart policy was set...
adding more short cuts.. Adding 1.19 above version shortcuts
With the double-quotes enclosing : $i: $(date) , it not yielding the logs. Therefore by removing the double quotes it works just fine.
Using `kubectl run` with `--replicas=3` does not create a deployment anymore, but a pod with `--replicas` flag ignored. So this solution is not valid anymore.
The option to show specific labels on a get command is no -L and not -l
Updated create simple deploy command using 'k run nginx --image=nginx:1.7.8 --replicas=2 --port=80' instead of doing multiple steps to do the same.
The current command is giving error: kubectl run nginx --image=nginx --restart=Never --requests='cpu=100m,memory=256Mi' --limits='cpu=200m,memory=512Mi' **error: quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$'** I have corrected it. kubectl run nginx --image=nginx --restart=Never...
I added a setup section that includes a shell variable for --dry-run=client and update the questions to reflect that. I also updated the commands that use --restart=onFailure and --restart=Never I...