GoConqr has a new look! Let us know what you think.

Flashcards

6 Kubernetes concepts pods deployments

Archimed Nemes Kodekloud Kubernetes for beginners Easy English 13 cards

Cards in this deck (13)

  1. 1What are main top level properties in pos yaml fileapiVersion
    kind
    metadata
    spec
  2. 2What could be in kind field?Pod, ReplicaSet, Deployment or Service
  3. 3What could be in metadata field?Data about object like name labels
  4. 4What is data type in metadata field?Dictionary - key-value
  5. 5What could be in spec field?containers
  6. 6What is command to create pod?kubectl create -f pod-definition.yml
    or
    kubectl apply -f pod-definition.yml
  7. 7demopodstry in notepad or in linux
  8. 8What is best tool for writing YAML filesVisual Studio Code
  9. 9What is necessary extension fo r yamlRED HAT Yaml extension
  10. 10Make change in settings of VS Code to work with Kubernetes.Click on gear in YAML extension
    then go to extension settings > YAML schema click edit settings.json and add
    "kubernetes": "*.yaml"
    and reload VS code
  11. 11What does replication controllers do?It helps us to run multiple instances of single pod in Kubernetes cluster
  12. 12What is we have only one pod? What does replication controller do in that case?Replication controller can help bringing up new pod when existing pod fails. Thus replication comtroller helps enaure that specified number of pods are running
  13. 13What is another reason for replication controller?To create multiole pods to share load across them

Information

Description
Easy Kodekloud Kubernetes for beginners Flashcards on 6 Kubernetes concepts pods deployments, created by Archimed Nemes on 26/12/2022.
Created by
Archimed Nemes
Views
4
Rating

More on Kubernetes

Feedback

What is it about?

What do you think of the new look?

How do you like it?