Sobes.tech
Junior — Middle

Can you list the main types of resources and objects used in Kubernetes?

sobes.tech AI

Answer from AI

The main resource and object types in Kubernetes include:

  • Pod — the smallest deployable unit, containing one or more containers.
  • Service — an abstraction for accessing Pods, providing a stable IP and load balancing.
  • Deployment — manages the creation and updating of ReplicaSets, enabling declarative updates.
  • ReplicaSet — maintains a specified number of Pod copies.
  • StatefulSet — manages stateful applications and ordered deployment with persistent identities.
  • DaemonSet — ensures a copy of a Pod runs on all (or some) nodes.
  • ConfigMap — stores configuration data as key-value pairs.
  • Secret — stores sensitive information like passwords.
  • Namespace — provides logical separation of resources.
  • PersistentVolume (PV) and PersistentVolumeClaim (PVC) — manage persistent storage.

These objects allow managing applications and infrastructure in Kubernetes.