Object Parameters

Parameter Description
apiVersion The Kubernetes API version for the object.
- Alpha
- Beta
- Stable
kind The type of object being defined
- Pod
- Deployment
- Service
- Configmap, etc.
metadata metadata is used to uniquely identify and describe a Kubernetes object. Common keys:
- labels
- name
- namespace
- annotations
- finalizers, etc.
spec Under the spec section of a Kubernetes object definition, we declare the desired state and characteristics of the object we want to create.