FlashKeepers

Cloud Computing · Professional · Professional Certifications

Kubernetes: Config, Storage and Security

ConfigMaps, Secrets, PersistentVolumes and Claims, StorageClasses, RBAC, ServiceAccounts, Pod Security and CKAD and CKS topics.

About this set

39 basic cards for Professional Cloud Computing. Set 1 of 3 in Kubernetes. It opens with "What are ConfigMaps used for in Kubernetes?" and "How do you create a ConfigMap from a literal key-value pair on the command line?". Study it alongside the other Professional sets below.

39 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What are ConfigMaps used for in Kubernetes?
Show answerStoring non-sensitive configuration data as key-value pairs that can be consumed by Pods
How do you create a ConfigMap from a literal key-value pair on the command line?
Show answerkubectl create configmap <name> --from-literal=<key>=<value>
Can ConfigMaps store binary data?
Show answerNo, ConfigMaps store only text data as key-value strings
What is the maximum size of a ConfigMap?
Show answer1 MB
How do you inject ConfigMap data as environment variables into a Pod?
Show answerUse envFrom.configMapRef with the ConfigMap name, or env.valueFrom.configMapKeyRef for individual keys
What encoding does Kubernetes use for Secret data at rest in etcd?
Show answerBase64 by default (base64 is encoding, not encryption)
How do you create a generic Secret from a file using kubectl?
Show answerkubectl create secret generic <name> --from-file=<path>
What is the maximum size of a Kubernetes Secret?
Show answer1 MB
When would you use a kubernetes.io/dockercfg Secret type?
Show answerTo store Docker registry credentials for pulling images from private registries
What is the main difference between Secrets and ConfigMaps regarding data sensitivity?
Show answerSecrets are intended for sensitive data, while ConfigMaps are for non-sensitive configuration
What is a PersistentVolume?
Show answerA cluster-level storage resource that exists independently of any Pod
What is a PersistentVolumeClaim?
Show answerA request for storage by a Pod, which binds to an available PersistentVolume
Name the three PersistentVolume access modes
Show answerReadWriteOnce (RWO), ReadOnlyMany (ROX), ReadWriteMany (RWX)
What does it mean when a PersistentVolumeClaim status is Bound?
Show answerThe PVC has successfully matched with an available PersistentVolume
What is a reclaim policy for a PersistentVolume?
Show answerThe action taken when a PVC is deleted: either Retain, Delete, or Recycle

24 more cards in the app

Study this set free