K8s Conventions

TECH

9/23/20231 min read

  • k8s documentation: https://kubernetes.io/docs/reference/kubectl/conventions/

  • It is a bit difficult to create and edit YAML files. Especially in the CLI. During the exam, you might find it difficult to copy and paste YAML files from browser to terminal.

  • Using the kubectl run command can help in generating a YAML template. And sometimes, you can even get away with just the kubectl run command without having to create a YAML file at all. For example, if you were asked to create a pod or deployment with specific name and image you can simply run the kubectl run command.