Kubernetes objects
Kubernetes object use to represent the state of the cluster. Kubernetes object uses to represent the state of the cluster, what containerized application is running, the state of the running application, resource available for the running application. In brief, It represent the persistent entity in the kubernetes system.
Kubernetes object creation and state is achieved using the kubernetes API. kubectl command line interface is used to call kubernetes API. Kubernetes object uses to represent the desired state,
Kubernetes object creation and state is achieved using the kubernetes API. kubectl command line interface is used to call kubernetes API. Kubernetes object uses to represent the desired state,
Object state is managed by using the control plane. Control plane continually and actively manage actual state to the desired state. The .yaml file provides information regarding object desired state and other information. This yaml file specify using kubectl command line interface. When you use the Kubernetes API to create the object (either directly or via
kubectl
), that API request must include object state information as JSON in the request body.
In .yaml file for the object creation should contains following fields.
Kubernetes Object Properties |
Conclusion:
Kubernetes object uses to represent desired state of the object using kubectl command line interface and kubernetes APIS.
Comments
Post a Comment