Files
kuberdata/eval/concepts.jsonl
T

36 lines
10 KiB
JSON

{"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"]}