Tag Archives: YAML

How can you find details of the tolerations field for the sample YAML file below? (Exhibit)

How can you find details of the tolerations field for the sample YAML file below? A. kubectl list pod.spec.tolerations B. kubectl explain pod.spec.tolerations C. kubectl describe pod.spec tolerations D. kubectl get pod.spec.tolerations Correct Answer: B kubectl explain to List the fields for supported resourcesexplainkubectl explain [–recursive=false] [flags]Get documentation of various resources. For instance pods, nodes, services, etc.References:https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#explainhttps://kubernetes.io/docs/reference/kubectl/cheatsheet/

What is the difference between YAML and JSON data structure?

A. YAML uses spaces; JSON uses parentheses B. YAML uses indentation; JSON uses brackets and braces C. YAML uses brackets and braces; JSON uses indentation D. YAML uses parentheses; JSON uses spaces Answer: Option A. Explanation:  No answer description available for this question. Show AnswerDiscussion The post What is the difference between YAML and JSON data structure? appeared… Read More »