Get list of all the pods showing name and namespace with a jsonpath expression.
Solution:
kubectl get pods -o=jsonpath="{.items[*]['metadata.name'
, 'metadata.namespace']}"
Does this meet the goal?
Correct Answer:
A
Given a partially-functioningKubernetes cluster, identifysymptoms of failure on the cluster.
Determine the node, the failingservice, and take actions to bring upthe failed service and restore thehealth of the cluster. Ensure that anychanges are made permanently.
You cansshto the relevant Inodes (bk8s-master-0orbk8s-node-0) using:
[student@node-1] $ ssh
You can assume elevatedprivileges on any node in thecluster with the followingcommand:
[student@nodename] $ | sudo ?Ci
Solution:
solution
F:WorkData Entry WorkData Entry20200827CKA23 C.JPG
F:WorkData Entry WorkData Entry20200827CKA23 D.JPG
F:WorkData Entry WorkData Entry20200827CKA23 E.JPG
Does this meet the goal?
Correct Answer:
A