Sobes.tech
Junior — Middle

Can you name the main manifests used in Kubernetes for resource management?

sobes.tech AI

Answer from AI

The main manifests in Kubernetes are YAML files that describe the desired state of resources. They include:

  • Pod — describes one or more containers that run together.
  • Deployment — manages the creation and updating of ReplicaSets to ensure the desired number of pods.
  • Service — provides persistent access to a set of pods, usually through a load balancer.
  • ConfigMap and Secret — for storing configuration data and secrets.
  • StatefulSet — manages the state and order of pod startup while maintaining identity.
  • DaemonSet — ensures a pod runs on each node of the cluster.
  • Job and CronJob — for executing one-time or periodic tasks.

Each manifest describes the resource's specifics and parameters, allowing Kubernetes to manage the application's lifecycle.