After deploying your pods with a container image; what are some further configuration changes you can make by clicking the “Actions” button on the deployment toolbar?
- Rolling update
- Auto-scale
- Expose
PersistentVolume resources exist independently of pods, and they continue to live on as clusters and change when pods are deleted or added. Which are two ways that PersistentVolume resources can be provisioned?
- Dynamically through PersistentVolume claims
- Explicitly created by a cluster administrator
When creating node pools, what are some of the configuration objects you can specify and change across various pools?
Preemptible VMs
Machine types
OS image
:
Which are examples of sensitive data that are often used in conjunction with Kubernetes secrets?
OAuth tokens
SSH keys
Passwords
:
When exposing a deployment, what are the three service types that you can create?
Content distribution network
Node port
Load balancer
:
Which part of the pod template determines which applications each pod should run, which volumes it should mount and which labels it should contain?
Specification
:
You have created an image called ‘webserver’ and you want to send the image to the container registry. Which command can you run to send your docker image to your GCP container registry?
docker push webserver:latest
:
Which type of empty volume is created when a Pod is first assigned to a node and can be used for checkpointing a long computation for recovery from system crashes, or used as a scratch space for a disk based merge sort?
emptyDir
:
When deploying nodes in a multi-zonal configuration; how many zones should you use to ensure complete high availability?
3
:
What is the main advantage of enabling and using the config connector for Kubernetes?
Allow you to manage your GCP resources through Kubernetes
:
Which GKE Dashboard should you use to view running Deployments, DaemonSets and Pods?
Workloads
:
The main advantage of creating and using a ConfigMap in the GKE is the ability to:
Separate configurations from your pods and components; keeping workloads portable
:
What are the characteristics of a set of pods created with a StatefulSet?
Persistent identities
Persistent disk storage
Stable hostnames