EMERGING TRENDS IN SOFTWARE ENGINEERING
DEVOPS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which language is supported for writing Kubernetes object definitions?
|
JSON
|
|
Kubernetes DSL
|
|
YAML
|
|
Python
|
Explanation:
Detailed explanation-1: -The Kubernetes resources are created in a declarative way, thus making use of YAML files. Kubernetes resources, such as pods, services, and deployments are created by using the YAML files.
Detailed explanation-2: -To create a Kubernetes pod with YAML, you first create an empty file, assign it the necessary access permissions, and then define the necessary key-value pairs. The important ones are the apiVersion, the kind (pod), name, and the containers within the pod.
There is 1 question to complete.