Skip to main content

Kubernetes



Kubernetes :

 Open-source container management tool that automates

1. Container Deployment
2. Container de(scaling)
3. Container load balancing

Developed by google, donated to CNCF

Container management tool 

Containerization is much better than vis
Kubernetes  keeps analyzing the traffic & load that is being used by the containers & auto-scale when their is high load

Distribution of traffics | loads


Selling Points
1.Automatic Bin Packing 
K8 packages application & automatically places it in containers based on needs.
2. Service discovery & load balancing  
K8 provides its own IP to container & single DNS name for a set of containers that are performing same logical operation.

3. Storage Orchestration
K8 provides you a mechanism to mount your own storage. local storage | cloud| network storage like NFS

4. Self Healing 
When K8 realizes one of your containers has failed. It creates a new one & starts that. & if a node fails ,k8 will create another node & containers will run in that node.

5. Secret & Configuration Management 
K8  can help you upload your secrets without having to build the entire image.

6. Batch Execution 
K8 can manage restart & restore the original state of the container

7. Horizontal scaling
K8 scale your application without 

8. Automatic Rollbacks & rollouts
  K8 progressively rollbacks & rolls out while deployment to ensure , high availability . Even if something goes wrong it will quickly rollback .

Difference between DOCKER and  KUBERNETES 

Docker is a containerization platform , Kubernetes is container management platform.

Docker swarm ~ Kubernetes

Pod is : logical grouping of containers


























How to Deploy applications through CLI ?


Understanding Kubernetes Dashboard























  


























































Comments

Popular posts from this blog

Microservices Design patterns

What are microservices? Microservices - also known as the microservice architecture - is an architectural style that structures an application as a collection of services that are Highly maintainable and testable Loosely coupled Independently deployable Organized around business capabilities Owned by a small team The microservice architecture enables the rapid, frequent and reliable delivery of large, complex applications. It also enables an organization to evolve its technology stack. You are developing a server-side enterprise application. It must support a variety of different clients including desktop browsers, mobile browsers and native mobile applications. The application might also expose an API for 3rd parties to consume. It might also integrate with other applications via either web services or a message broker. The application handles requests (HTTP requests and messages) by executing business logic; accessing a database; exchanging messages with other systems; and returni...

GraphQL

What is GraphQL  API Standard invented & open-sourced by Facebook Alternative to  REST API  enables declarative data fetching  exposes single endpoint & responds to queries How it works?  Why Graphql? Improvises performance by reducing the data that is to be transferred over the internet Variety of different frontend frameworks and platforms on client-side Fast development speed & expectation for rapid feature development Why Graphql is better than REST? Flexibility & efficient  No more over /under fetching of data Over fetching : Under fetching: Insightful analytics  Schema serves as contract between client and server CORE CONCEPTS : SDL :SCHEMA DEFINITION LANGUAGE Writing Data with mutations 3 kinds of mutations creating new data updating existing data deleting existing data

Jackson

<dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId> jackson-core </artifactId> <version>2.9.6</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId> jackson-annotations </artifactId> <version>2.9.6</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId> jackson-databind </artifactId> <version>2.9.6</version> </dependency> CBOR encoded data with Jackson <dependency> <groupId>com.fasterxml.jackson.dataformat</groupId> <artifactId>jackson-dataformat-cbor</artifactId> <version>2.9.6</version> </dependency> In order to read and write MessagePack encoded data <dependency> <groupId>org.msgpack</groupId> <artifactId>jackson-dataformat-msgp...