Rebuild concept eval from held-out pages; add held-out docs

This commit is contained in:
Daniel Samson committed 2026-11-21 13:17:32 +00:00
1 parent 3c8704eedd
commit a272afd637
3 files changed
+439 -38

No files matched your search

+24 -35
View File
@@ -1,35 +1,24 @@
{"id": "concept-001", "question": "What is a pod?", "reference": "A pod is the smallest deployable unit in Kubernetes. It groups one or more containers that share network and storage and are scheduled together on a node.", "key_terms": ["smallest", "container", "node"]}
{"id": "concept-002", "question": "What is a Deployment used for?", "reference": "A Deployment declares a desired number of identical pods and manages rolling updates and rollbacks by creating ReplicaSets.", "key_terms": ["replica", "rolling", "pods"]}
{"id": "concept-003", "question": "What is the difference between a Deployment and a StatefulSet?", "reference": "A Deployment treats its pods as interchangeable, while a StatefulSet gives each pod a stable identity and stable storage, usually for stateful applications like databases.", "key_terms": ["stable", "identity", "interchangeable"]}
{"id": "concept-004", "question": "What does a Service do?", "reference": "A Service gives a stable network endpoint and DNS name for a set of pods chosen by a label selector, and load-balances traffic across them.", "key_terms": ["stable", "selector", "label"]}
{"id": "concept-005", "question": "What is the difference between a Service and an Ingress?", "reference": "A Service exposes pods inside the cluster or on a node port or load balancer at layer 4. An Ingress routes external HTTP and HTTPS traffic to Services by host and path, at layer 7.", "key_terms": ["HTTP", "host", "path"]}
{"id": "concept-006", "question": "What is a namespace?", "reference": "A namespace is a way to divide cluster resources into separate groups, so names only need to be unique within the namespace.", "key_terms": ["group", "unique", "resources"]}
{"id": "concept-007", "question": "What is a ConfigMap?", "reference": "A ConfigMap stores non-confidential configuration data as key-value pairs, which pods can consume as environment variables or mounted files.", "key_terms": ["key-value", "configuration", "environment"]}
{"id": "concept-008", "question": "What is a Secret, and how is it different from a ConfigMap?", "reference": "A Secret stores sensitive data such as passwords or tokens. It is like a ConfigMap but meant for confidential values, which are base64-encoded in the API and should be protected with access controls and encryption at rest.", "key_terms": ["sensitive", "base64", "confidential"]}
{"id": "concept-009", "question": "What is a label, and how is it different from an annotation?", "reference": "A label is a key-value pair used to identify and select objects, and selectors match on labels. An annotation is also key-value metadata, but it is not used for selection, so it can hold larger or non-identifying information.", "key_terms": ["select", "metadata", "identify"]}
{"id": "concept-010", "question": "What is the control plane?", "reference": "The control plane is the set of components that manage the cluster: the API server, etcd, the scheduler and the controller manager. It makes global decisions about the cluster.", "key_terms": ["API server", "etcd", "scheduler"]}
{"id": "concept-011", "question": "What does the kube-scheduler do?", "reference": "The kube-scheduler assigns newly created pods that have no node assigned to a suitable node, based on resource requests, constraints and affinity rules.", "key_terms": ["node", "assign", "resource"]}
{"id": "concept-012", "question": "What is etcd used for in Kubernetes?", "reference": "etcd is a consistent, distributed key-value store that holds all cluster state and configuration. Only the API server talks to it directly.", "key_terms": ["key-value", "state", "API server"]}
{"id": "concept-013", "question": "What is a kubelet?", "reference": "The kubelet is an agent that runs on each node. It makes sure containers described in pod specs are running and healthy, and reports the node's status to the control plane.", "key_terms": ["node", "agent", "containers"]}
{"id": "concept-014", "question": "What is a liveness probe?", "reference": "A liveness probe checks whether a container is still running correctly. If it fails, the kubelet restarts the container.", "key_terms": ["restart", "container", "running correctly"]}
{"id": "concept-015", "question": "What is the difference between a liveness probe and a readiness probe?", "reference": "A liveness probe decides whether a container should be restarted. A readiness probe decides whether a pod should receive traffic from Services. A failing readiness probe removes the pod from endpoints but does not restart it.", "key_terms": ["restart", "traffic", "endpoints"]}
{"id": "concept-016", "question": "What are resource requests and limits?", "reference": "A request is the amount of CPU or memory the scheduler reserves for a container when choosing a node. A limit is the maximum the container may use. Exceeding a memory limit gets the container killed.", "key_terms": ["scheduler", "maximum", "memory"]}
{"id": "concept-017", "question": "What is a PersistentVolumeClaim?", "reference": "A PersistentVolumeClaim is a request for storage by a pod. Kubernetes binds it to a PersistentVolume that satisfies its size and access mode, which lets storage outlive the pod.", "key_terms": ["storage", "PersistentVolume", "request"]}
{"id": "concept-018", "question": "What is a DaemonSet?", "reference": "A DaemonSet ensures that one copy of a pod runs on every node, or on every node that matches a selector. It is often used for logging and monitoring agents.", "key_terms": ["every node", "one copy", "agents"]}
{"id": "concept-019", "question": "What is a Job, and how is it different from a Deployment?", "reference": "A Job runs pods until a task completes successfully, and it tracks completions. A Deployment keeps pods running indefinitely.", "key_terms": ["complete", "task", "indefinitely"]}
{"id": "concept-020", "question": "What is a CronJob?", "reference": "A CronJob creates Jobs on a repeating schedule written in cron syntax.", "key_terms": ["schedule", "cron", "Jobs"]}
{"id": "concept-021", "question": "What is a node?", "reference": "A node is a worker machine, virtual or physical, that runs pods. Each node runs a kubelet and a container runtime.", "key_terms": ["machine", "kubelet", "pods"]}
{"id": "concept-022", "question": "What does a taint do?", "reference": "A taint is applied to a node to repel pods unless they have a matching toleration. It is used to keep pods off certain nodes.", "key_terms": ["repel", "toleration", "node"]}
{"id": "concept-023", "question": "What is a HorizontalPodAutoscaler?", "reference": "A HorizontalPodAutoscaler changes the number of replicas of a workload, such as a Deployment, based on observed metrics like CPU utilization.", "key_terms": ["replicas", "metrics", "scale"]}
{"id": "concept-024", "question": "What are RBAC Roles and RoleBindings?", "reference": "A Role defines permissions on resources within a single namespace. A RoleBinding grants that Role to users, groups or service accounts in the same namespace.", "key_terms": ["permissions", "namespace", "grant"]}
{"id": "concept-025", "question": "What is the difference between a Role and a ClusterRole?", "reference": "A Role is limited to one namespace. A ClusterRole applies cluster-wide, or to cluster-scoped resources such as nodes.", "key_terms": ["namespace", "cluster-wide", "nodes"]}
{"id": "concept-026", "question": "What is a NetworkPolicy?", "reference": "A NetworkPolicy restricts which pods can send or receive network traffic, selected by labels. It only has effect when the cluster network plugin supports it.", "key_terms": ["traffic", "labels", "plugin"]}
{"id": "concept-027", "question": "What is a ServiceAccount?", "reference": "A ServiceAccount is an identity that pods use to authenticate to the Kubernetes API. Each pod runs as a service account, and RBAC grants permissions to it.", "key_terms": ["identity", "API", "pods"]}
{"id": "concept-028", "question": "Why does a pod in CrashLoopBackOff keep restarting?", "reference": "The container starts and exits with an error repeatedly. The kubelet restarts it with increasing back-off delays. Logs and the exit code, which kubectl describe shows, explain the cause.", "key_terms": ["exit", "restart", "logs"]}
{"id": "concept-029", "question": "What is a rolling update?", "reference": "A rolling update replaces pods of a Deployment gradually, a few at a time, so the application stays available. It is controlled by maxSurge and maxUnavailable.", "key_terms": ["gradually", "available", "maxUnavailable"]}
{"id": "concept-030", "question": "What is kubectl?", "reference": "kubectl is the command-line tool for talking to the Kubernetes API server, for example to get, describe, apply, and delete resources.", "key_terms": ["command-line", "API server", "resources"]}
{"id": "concept-031", "question": "What does kubectl apply do?", "reference": "kubectl apply creates or updates resources to match the manifest file given, using a declarative approach that records the last applied configuration.", "key_terms": ["create", "update", "manifest"]}
{"id": "concept-032", "question": "What is a container image?", "reference": "A container image is a read-only, layered package containing an application and its dependencies, from which containers are started.", "key_terms": ["read-only", "layered", "dependencies"]}
{"id": "concept-033", "question": "What is the purpose of the Kubernetes API server?", "reference": "The API server is the front end of the control plane. It validates and processes REST requests from kubectl and other components, and is the only component that reads and writes etcd.", "key_terms": ["REST", "control plane", "etcd"]}
{"id": "concept-034", "question": "What is a StorageClass?", "reference": "A StorageClass describes a class of storage and the provisioner that creates PersistentVolumes dynamically when claims ask for that class.", "key_terms": ["provisioner", "dynamic", "PersistentVolume"]}
{"id": "concept-035", "question": "What is a sidecar container?", "reference": "A sidecar is an extra container in the same pod that supports the main container, for example for logging, proxying or syncing configuration. It shares the pod's network and volumes.", "key_terms": ["same pod", "support", "volumes"]}
{"id": "concept-001", "source": "content/en/docs/concepts/storage/ephemeral-storage.md", "question": "What is node-local ephemeral storage used for?", "reference": "Pods use ephemeral local storage for scratch space, caching and logs, and the kubelet uses it for emptyDir volumes, node-level container logs, container images and the writable layers of running containers. Its data can be lost if the node fails.", "key_terms": ["scratch space", "emptyDir", "lost"]}
{"id": "concept-002", "source": "content/en/docs/concepts/storage/ephemeral-volumes.md", "question": "What are ephemeral volumes designed for?", "reference": "Ephemeral volumes are for applications that need extra storage but do not need the data to persist across restarts, such as caches or read-only input files. They follow the Pod's lifetime, so they are created and deleted along with the Pod.", "key_terms": ["lifetime", "caches", "deleted"]}
{"id": "concept-003", "source": "content/en/docs/concepts/storage/projected-volumes.md", "question": "What does a projected volume do?", "reference": "Projected volumes combine several volume sources, such as secret, downwardAPI and configMap, into one directory. Every source must be in the Pod's own namespace.", "key_terms": ["one directory", "secret", "namespace"]}
{"id": "concept-004", "source": "content/en/docs/concepts/storage/storage-limits.md", "question": "How many volumes can Kubernetes by default attach to a node on Google Persistent Disk?", "reference": "By default, Kubernetes allows 16 volumes per node for Google Persistent Disk. Pods could get stuck waiting for volumes to attach if the limit were exceeded.", "key_terms": ["16", "stuck"]}
{"id": "concept-005", "source": "content/en/docs/concepts/workloads/controllers/job.md", "question": "What does a Job do?", "reference": "A Job creates one or more Pods and keeps retrying until a set number of them terminate successfully, tracking the successful completions. Deleting a Job cleans up the Pods it created.", "key_terms": ["retry", "successful", "cleans up"]}
{"id": "concept-006", "source": "content/en/docs/concepts/workloads/controllers/replicationcontroller.md", "question": "What is a ReplicationController, and what is now the recommended way to set up replication?", "reference": "A ReplicationController keeps a set number of pod replicas running at all times, replacing pods that fail or are deleted. A Deployment that manages a ReplicaSet is the recommended replacement.", "key_terms": ["replicas", "Deployment", "ReplicaSet"]}
{"id": "concept-007", "source": "content/en/docs/concepts/workloads/pods/pod-qos.md", "question": "What do Quality of Service classes decide in Kubernetes?", "reference": "Kubernetes assigns each Pod a Quality of Service class based on the resource requests and limits of its containers. It uses this class to decide which Pods to evict when a node lacks resources.", "key_terms": ["resource requests", "evict", "node"]}
{"id": "concept-008", "source": "content/en/docs/concepts/workloads/pods/disruptions.md", "question": "What is an involuntary disruption to a Pod?", "reference": "An involuntary disruption is an unavoidable case that removes a Pod, such as a hardware failure of the machine behind a node, a hypervisor failure, or a system software error. Voluntary disruptions are chosen by a person or a controller.", "key_terms": ["hardware", "unavoidable", "hypervisor"]}
{"id": "concept-009", "source": "content/en/docs/concepts/scheduling-eviction/gang-scheduling.md", "question": "What does gang scheduling ensure?", "reference": "Gang scheduling places a group of Pods on an all-or-nothing basis. If the cluster cannot accommodate the whole group, or the minimum count given by minCount, none of the Pods are bound to a node.", "key_terms": ["all-or-nothing", "minCount", "bound"]}
{"id": "concept-010", "source": "content/en/docs/concepts/services-networking/dns-pod-service.md", "question": "How does DNS help clients reach Services?", "reference": "Kubernetes creates DNS records for Services and Pods, so containers can look up a Service by name instead of by IP address. A client Pod's DNS search list includes its own namespace and the cluster's default domain by default.", "key_terms": ["DNS", "name", "namespace"]}
{"id": "concept-011", "source": "content/en/docs/concepts/services-networking/dual-stack.md", "question": "From which Kubernetes version is IPv4/IPv6 dual-stack networking enabled by default?", "reference": "IPv4/IPv6 dual-stack networking is enabled by default starting in Kubernetes 1.21, so Pods and Services can be assigned both IPv4 and IPv6 addresses.", "key_terms": ["1.21", "IPv4", "IPv6"]}
{"id": "concept-012", "source": "content/en/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins.md", "question": "What is a CNI plugin required for in a Kubernetes cluster?", "reference": "A CNI plugin is required to implement the Kubernetes network model. It must be compatible with CNI specification v0.4.0 or later, and the project recommends a plugin compatible with v1.0.0.", "key_terms": ["network model", "v0.4.0", "CNI"]}
{"id": "concept-013", "source": "content/en/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins.md", "question": "What do device plugins let Kubernetes do?", "reference": "A device plugin advertises system hardware resources, such as GPUs, high-performance NICs or FPGAs, to Kubernetes without changing Kubernetes itself. Plugins register with the kubelet through its Registration gRPC service.", "key_terms": ["GPU", "kubelet", "Registration"]}
{"id": "concept-014", "source": "content/en/docs/concepts/overview/working-with-objects/storage-version.md", "question": "What is a storage version in Kubernetes?", "reference": "The storage version describes how an object is serialized in the backing store, which is often etcd. The API server converts each API call so that clients do not see which version is actually stored.", "key_terms": ["serialized", "etcd", "convert"]}
{"id": "concept-015", "source": "content/en/docs/concepts/cluster-administration/system-logs.md", "question": "What is klog?", "reference": "klog is the Kubernetes logging library, which generates log messages for system components. Log verbosity can be configured, and the log output format is not covered by the API stability guarantees.", "key_terms": ["logging library", "verbosity", "stability"]}
{"id": "concept-016", "source": "content/en/docs/concepts/cluster-administration/admission-webhooks-good-practices.md", "question": "Which requests do admission controllers intercept?", "reference": "Admission controllers intercept create, update and delete requests sent to the Kubernetes API that match criteria defined by the operator. The requests are then sent to mutating or validating admission webhooks.", "key_terms": ["create", "delete", "mutating"]}
{"id": "concept-017", "source": "content/en/docs/concepts/scheduling-eviction/topology-aware-scheduling.md", "question": "What does Topology-Aware Scheduling guarantee for a PodGroup?", "reference": "Topology-Aware Scheduling finds the best placement for a PodGroup and guarantees that all of its pods are collocated within the same topology domain.", "key_terms": ["collocated", "topology domain", "placement"]}
{"id": "concept-018", "source": "content/en/docs/concepts/cluster-administration/flow-control.md", "question": "What does API Priority and Fairness do?", "reference": "API Priority and Fairness is an alternative to the max-inflight limits. It classifies and isolates requests more finely, so the most important requests still get through during a period of high traffic.", "key_terms": ["classifies", "isolates", "high traffic"]}
{"id": "concept-019", "source": "content/en/docs/concepts/resource-management/effective-pod-requests-limits.md", "question": "Why is a Pod's effective request not always a simple sum of its containers' requests?", "reference": "Init containers run one at a time, so the effective request of a Pod is not always the sum of its container values. The kube-scheduler uses the effective request to place the Pod on a node that has enough resources.", "key_terms": ["init containers", "effective", "scheduler"]}
{"id": "concept-020", "source": "content/en/docs/concepts/overview/working-with-objects/common-labels.md", "question": "What are the recommended common labels for?", "reference": "A common set of labels allows tools to work with objects interoperably, and makes applications described with metadata queryable. Kubernetes does not enforce a formal notion of an application.", "key_terms": ["interoperably", "metadata", "queryable"]}
{"id": "concept-021", "source": "content/en/docs/concepts/workloads/_index.md", "question": "What is a Pod in Kubernetes?", "reference": "A Pod represents a set of one or more running containers on your cluster. If the node running a Pod fails, the Pod is treated as final, and a new Pod must be created to recover.", "key_terms": ["one or more", "containers", "new Pod"]}
{"id": "concept-022", "source": "content/en/docs/concepts/architecture/mixed-version-proxy.md", "question": "What does the mixed-version proxy let an API server do?", "reference": "The mixed-version proxy lets an API server proxy resource requests to peer API servers running other versions, and clients get a combined view of resources through discovery. This helps during a long-lived rollout to a new release.", "key_terms": ["peer", "discovery", "rollout"]}
{"id": "concept-023", "source": "content/en/docs/concepts/resource-management/dynamic-resource-allocation/dra-observability.md", "question": "How can you check the status of dynamically allocated resources?", "reference": "You can check dynamically allocated resources with kubelet device metrics, through the PodResourcesLister gRPC service, with ResourceClaim device status, and with device health monitoring.", "key_terms": ["PodResourcesLister", "ResourceClaim", "health"]}
{"id": "concept-024", "source": "content/en/docs/concepts/workloads/workload-api/disruption-and-priority.md", "question": "Which disruption modes does a PodGroup support?", "reference": "A PodGroup supports two disruption modes, Single and All. The default is Single.", "key_terms": ["Single", "All", "default"]}