SIMULATION
List ''nginx-dev'' and ''nginx-prod'' pod and delete those pods
kubect1 get pods -o wide
kubectl delete po ''nginx-dev''
kubectl delete po ''nginx-prod''
SIMULATION
Create a deployment as follows:
Name: nginx-random
Exposed via a service nginx-random
Ensure that the service and pod are accessible via their respective DNS records
The container(s) within any pod(s) running as a part of this deployment should use the nginx Image
Next, use the utility nslookup to look up the DNS records of the service and pod and write the output to /opt/KUNW00601/service.dns and /opt/KUNW00601/pod.dns respectively.
Solution:



SIMULATION
Create a busybox pod that runs the command ''env'' and save the output to ''envpod'' file
kubectl run busybox --image=busybox --restart=Never ---rm -it -- env > envpod.yaml
SIMULATION
Create a namespace called 'development' and a pod with image nginx called nginx on this namespace.
kubectl create namespace development
kubectl run nginx --image=nginx --restart=Never -n development
SIMULATION
Configure the kubelet systemd- managed service, on the node labelled with name=wk8s-node-1, to launch a pod containing a single container of Image httpd named webtool automatically. Any spec files required should be placed in the /etc/kubernetes/manifests directory on the node.
You can ssh to the appropriate node using:
[student@node-1] $ ssh wk8s-node-1
You can assume elevated privileges on the node with the following command:
[student@wk8s-node-1] $ | sudo --i
solution





Hillary
14 hours agoCarlee
9 days agoLaurene
16 days agoRobt
23 days agoLenna
1 month agoAyesha
1 month agoElfrieda
2 months agoLynelle
2 months agoUla
2 months agoWilda
2 months agoErnest
2 months agoLettie
3 months agoColeen
3 months agoNoel
3 months agoRuthann
3 months agoMartina
4 months agoHolley
4 months agoTy
4 months agoCatherin
4 months agoJaney
5 months agoAdela
5 months agoMerissa
5 months agoJaime
5 months agoGerald
6 months agoAnjelica
6 months agoAlberto
8 months agoLottie
9 months agoRossana
10 months agoChantell
11 months agoLai
1 year agoKanisha
1 year agoAlonzo
1 year agoBernadine
1 year agoTresa
1 year agoRochell
1 year agoElvera
1 year agoShawnta
1 year agoOsvaldo
1 year agoNgoc
1 year agoRyan
1 year agoDaren
1 year agoJustine
1 year agoGeraldine
1 year agoDominque
1 year agoDyan
2 years agoRozella
2 years agoRoosevelt
2 years agoLoren
2 years agoNorah
2 years agorimoha Kellis
2 years ago