Giter Club home page Giter Club logo

kubernetes's Introduction

kubernetes

https://www.katacoda.com/courses/kubernetes/launch-single-node-cluster https://training.linuxfoundation.org/resources/tutorials/set-up-a-ci-cd-pipeline-with-kubernetes-part-1-overview/

  >>  Kubernetes is an open-source system that handles the work of scheduling containers onto a compute cluster and manages the workloads to ensure they run as the user intends.
  >>  Kubernetes is an open source container Management tool which automates container deployment, container (de) scaling and container load balancing.
  >>  it works in all cloud vendors: Public,Hybrid & on-premises

Containers do not waste or block host resources unlike virtual machines. Containers have isolated libraries and binaries specific to the application they are running.

image

image

Features of Kubernetes:

image

  • Kubernets is not a docker

  •       Docker      -->   Containerization platform
    
  •       Kubernetes  -->   Conatiner manageable platform
    
  •       Docker swarm also doing the same container manageable platform but auto scaling ,load balancing concept are missing . Manual intervention are required.
    
  •       Kubernetes is not for simplle application architecture and preferrably for complex application
    
  • Kubernetes is actually for,

image

  • Kubernetes Vs Docker Swarm:

image

POd is collection of COntainer:

image

image

image

image

Difference between Docker swarm and kubernetes:

image

Microservices:

image

If any issue in any one of microservices then deployment is required only for that service after fixing the issue not all the services.

image

Scaling:

image

  • Scaling:

          >>    Horizontal Pod Autoscale  - wil increase the no of pods
                The Horizontal Pod Autoscaler automatically scales the number of Pods in a replication controller, deployment, replica set or stateful set based on observed CPU utilization
          >>    Vertical Pod Autoscale  - will increase the cpu memory of pod
          >>    Cluster Autoscale       - will increase the kubernetes nodes
    

Container Setup:

image

Kubernetes: Kubernetes utilizes its own YAML, API, and client definitions and each of these differ from that of standard docker equivalents. That is to say, you cannot utilize Docker Compose nor Docker CLI to define containers. While switching platforms, YAML definitions and commands need to be rewritten.

Docker Swarm: The Docker Swarm API doesn’t entirely encompass all of Docker’s commands but offers much of the familiar functionality from Docker. It supports most of the tools that run with Docker. Nevertheless, if Docker API is deficient of a particular operation, there doesn’t exist an easy way around it around swarm.

Load Balance:

Kubernetes: Pods are exposed via service, which can be utilized as a load balancer within the cluster. Generally, an ingress is utilized for load balancing.

Docker Swarm: Swarm mode consists of a DNS element that can be utilized for distributing incoming requests to a service name. Services can be assigned automatically or can run on ports specified by the user.

Networking:

image

Availability:

image

Logging and Monitoring (K8s Vs swarm):

image

GUI:

image

Which is best swarm or k8s:

image

Uploading image.png…

kubernetes's People

Contributors

logambigaik avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.