Posts

Showing posts with the label pod

Kubernetes Service

Image
               Why Service needs?             Kubernetes Pods are born and when they die, they are not resurrected. Using deployment, we can assign desired state of the pod. Deployment can create and destroy Pods dynamically. In cluster, If some set of Pods (call them "backends") provides functionality to other Pods (call them "frontends"). Frontends Pods find out and keeep track of which IP address to connect to, so that the frontend can use backend part of the the Pods.            In Kubernetes, a Service  defines a logical set of Pods and a Policy by which we can access them. A service in kubernetes is a REST object, similar to object. We can create POST service to create a new instance. The set of Pods targeted by a service is determined by a selector. Frontends Pods do not care which backend they use. While the actual Pods that compose the backend ...

Kubernetes API Overview

Image
                 Kubernetes API facilitate communication and operation between kubernetes component and external users. Most operation can be performed using the kubectl command line interface or other command line tool such as kubeadm.                 Kubernetes version, The version is set at API level rather then at the resource or field level. Kubernetes support multiple versions, each at different API path. for example, /api/v1 or /apis/extensions/vbeta1. Kubernetes API version has various levels like, Development level, Aplha lebevel, Beta level and Stable level. The naming convention to access this API is different on API level.                   Kubernetes API is specified by using /api/{apiVersion}. ApiVersion is anything mention as above.  Here, The term API group introduce to specify specific version. We can also enable and disab...

Kubernetes Pod

                Pod is the smallest deployable object in the kubernetes object model. Pod represents processes running on cluster. Pod is the basic execution unit of a kubernetes application. A pod is the basic execution unit. It is smallest and simplest unit in the kubernetes object model that we can create or deploy.                 A Pod encapsulates an application container, storage resources, a unique network IP and options how the containers should run. Pod contains either a single container or a small number of containers. Pods can be used two ways. 1. One-container-per-pod  2. Multiple-container-per-node. One-container-per-pod: Pods that run a single container is most common kubernetes use cases. Pod as a wrapper around a single container and kubernetes manages the pods rather than the containers directly. Multiple-container-per-pod: Pod might encapsulate an application composed of mul...

Kubernetes objects

Image
         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,       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...

What Why and How Kubernetes

Introduction What is kubernetes ? Why need kubernetes ? How do I use kubernetes ?       1. Introduction.        It is basically container orchestration engine for automating deployment , scaling and management of containerized application. This project is hosted by the cloud native computing foundation.        Kubernetes provides different solution for managing life-cycle of container, especially in large environment. Kubernetes is being used, Provisioning and deployment of container Scaling up and removing container to spread application load evenly   Redundancy and availability of container  Movement of container from one host to another resource  Allocation of resource between container Configuration of application in relation to the container running on it. Health monitoring of container and host     2. What is kubernetes ?     Kubernetes is...