Pod is a K8S ObjectK8S Object
To see a list of available [[Kubernetes]] objects on your cluster, you can run:
# only namespaced
kubectl api-resources --namespaced=true
# only cluster-scoped
kubec... used to run one or more tightly coupled containers and is rarely used directly, especially in production because of the limitations on the number of properties that can be updated. Instead, pods are usually managed by other objects like K8S ReplicasetK8S Replicaset
ReplicaSets are [[K8S Object]]s used to make sure a certain number of [[K8S Pod]]s is running on the Kubernetes cluster.
ReplicaSet uses the labels defined in the selector property to find all the....
All containers in a pod can reach themselves via localhost as they are part of the same network. It's also easy to share volumes between them.
A pod can have a specific K8S Service AccountK8S Service Account
Service Accounts are [[K8S Object]]s used to help pods with [[K8S Authentication]].
The ServiceAccount object is namespace-scoped. It's used to allow a process in a pod to access Kubernetes API Se... attached to it, otherwise it uses the default one.