Labs Flashcards
Are taints part of the metadata like labels?
No
How to add worker nodes to a cluster that has a master node if they are on different servers
Use the join command
What does YAML stand for?
Yaml ain’t markup language
Are tabs allowed in YAML?
No, you must use white spaces for indentation.
What separator is used to define multiple structures in a single file?
How many types of structures are there in YAML
2, Maps and Lists
How does YAML apply to Kubernetes?
Kubernetes objects are created using CLI with kubectl and manifest files. Guess what, manifest file is a yaml file that includes all the parameters needed to create a specific object
Advantages of defining an object in a manifest file
Convenience: No need to add parameters to CL.
Maintenance: Much easier to manage and troubleshoot.
Flexibility: Allows to create much more complicated objects than you can on CLI
How many fields a Kubernetes object include? Specify them
5. apiVersion kind metadata spec status
During the scaling process, should my application be interrupted?
No unless 0 replicas are specified. Users can continue to refresh and make internal requests to your webpage and it will still work.