What is Kubernetes?
Kubernetes orchestrates containerized workloads by scheduling them, maintaining desired state, providing service discovery, and supporting rollouts.
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 1453–1464 of 3610 questions
Kubernetes orchestrates containerized workloads by scheduling them, maintaining desired state, providing service discovery, and supporting rollouts.
A Pod is the smallest deployable Kubernetes unit and can contain one or more tightly coupled containers sharing network identity and optionally volumes.
A Deployment manages ReplicaSets and provides declarative updates and rollback for stateless replicated Pods.
A Deployment specifies the desired replica count and a selector/template that identifies the Pods it manages.
A Service provides a stable virtual IP and DNS name for a changing set of Pods selected by labels.
A ConfigMap stores non-confidential configuration that can be exposed to Pods as environment variables, arguments, or mounted files.
A Secret represents sensitive configuration such as credentials or tokens. Access should be restricted with RBAC and encryption at rest configured.
Namespaces logically group resources and help apply access controls, quotas, and naming boundaries within a cluster.
A liveness probe detects a container that is running but cannot make progress; repeated failures can cause Kubernetes to restart it.
A readiness probe indicates whether a Pod should receive Service traffic. A failed readiness probe removes it from ready endpoints without necessarily restarting it.
Change the replica count manually or use a Horizontal Pod Autoscaler when metrics and resource requests are configured.
Start with Pod status and events, inspect logs, describe the Pod, and verify configuration, image access, probes, and resource limits.