Module 2 Flashcards
Kubernetes
a portable, extensible, open-source platform for managing containerized workloads and services that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.”
Cluster
A deployment of Kubernetes is called a cluster.
What are Kubernetes Objects?
Kubernetes objects are persistent entities in Kubernetes. In this way, Kubernetes objects define the state of thecluster. By creating an object, users cantell Kubernetes that theyexpect that object to exist. The system is then responsible for ensuring that that object does in fact exist.
Namespaces
With namespaces, userscan make one cluster appear to be several distinct clusters in order for multiple people to share the cluster. A cluster will automatically have several namespaces created. Namespaces can be used to provide logical separation of a cluster into virtual clusters.
Labels
Key/value pairs that can be attached to objects in order to identify those objects.
Selectors
Used by Kubernetes controllers to determine which set of objects ought to be controlled.
Pod
Simplest unit in kubernetes,
Represents processes running in thecluster.
Encapsulates a container (or sometimes multiple).
Replicaset
A ReplicaSet maintains a set of Identical Pods.
Kubectl CLI
Kubectl CLI is the user interface.
Resizing a VM to add additional capacity is part of which of the following?
Vertical scaling
Adding more VMs to a cluster to increase capacity is which of these?
Scale out
Replicating a Pod serves to scale an application in which of the following ways?
Horizontally
Which of the following statements describes Kubernetes?
A.Open source software
B.Container orchestration platform
C.A tool that facilitates declarative management
Which of the following components is part of the Kubernetes control plane?
etcd
Which of the following is considered a Kubernetes object?
Namespace
Which Kubernetes object represents a single instance of processes running in a container?
Pod
What does “create” do in this command?kubectl create –f nginx.yaml
It creates an object using the details in the nginx.yaml file.
What are some of the benefits of an IBM Cloud Kubernetes service? Select all that apply.
A.Image security compliance with Vulnerability Advisor
B.Support for multizone clusters.
C.Continuous monitoring of the cluster health.
D.Highly available masters.
Each node is made up of which of the following pairs?
C.kube-proxy and kubelet