Kubernetes

Descrição

Conceptos de Kubernetes
Andrés Felipe Velandia Orjuela
Mapa Mental por Andrés Felipe Velandia Orjuela, atualizado more than 1 year ago
Andrés Felipe Velandia Orjuela
Criado por Andrés Felipe Velandia Orjuela mais de 3 anos atrás
695
0

Resumo de Recurso

Kubernetes
  1. CONTAINERS
    1. standarized, portable and consistent application environments
      1. Control groups (cgroups)
        1. Hardware resources management
          1. Allow the host to share or limit resources for a process or container
        2. Namespaces
          1. Process, filesystem and networking isolation
            1. Container processes are limited to see only what is in the same namespace
          2. Union filesystems
            1. Containers run from an image (.iso)
          3. Components
            1. Most common ones for basic deployments
              1. Node
                1. A physical or virtual machine
                  1. Where the service is deployed
                  2. Pod
                    1. the smallest unit of K8's
                      1. Runner environment over the Node
                        1. Abstraction over container
                          1. Helps so it only interacts with the kubernetes layer
                            1. Can run a variety of container technologies
                          2. There's usually one container (appliaction) per pod
                            1. Each Pod gets an IP of a K8 virtual network
                              1. Gets a new IP each time it restarts
                            2. Service
                              1. Static IP address
                                1. Can be attached to a Pod
                                  1. If a Pod dies, the service keeps the IP address
                                  2. Can be external (targets the node) or internal (targets the pod)
                                  3. Load Balancer
                                  4. Ingress
                                    1. Does forwarding from requests to services
                                      1. Ensures TLS and DNS
                                    2. Meta-configuration
                                      1. ConfigMap
                                        1. External configuration for an application
                                          1. config services URL, etc.
                                        2. Secret
                                          1. Contains meta-variables encoded in a base64 format
                                            1. variables like credentials
                                        3. Data Storage
                                          1. Volumes
                                            1. Data in Pods are volatile
                                              1. Attaches a physical storage in the hard drive to a Pod
                                                1. Storage can be done on the local machine or remotely (outisde of K8 cluster)
                                            2. Replica and Schedule Management
                                              1. Deployment
                                                1. Blueprints for applications running on pods
                                                  1. Abstraction of Pods
                                                  2. Adjust the number of replicas of a Pod
                                                  3. StatefulSet
                                                    1. Avoid data inconsistencies on pods that need persistant data (like datbases)
                                                      1. Control which pods write on volumes
                                                      2. for STATEFUL applications
                                                  4. Architecture
                                                    1. Types of nodes
                                                      1. Master
                                                        1. 4 Processes necessary on Master Node
                                                          1. API Server
                                                            1. Interaction from user to cluster to deploy applications
                                                              1. Can be a UI, CLI (kubelet)
                                                                1. Cluster gateway which validates requests
                                                                2. Scheduler
                                                                  1. Decides which node starts an application Pod
                                                                    1. Schedules based on performance and resource usage on Pods
                                                                    2. Controller Manager
                                                                      1. Monitors and detects state changes like Pod failures
                                                                        1. Tells Scheduler to re-schedule downed Pods
                                                                        2. etcd
                                                                          1. key value stored of the cluster state
                                                                            1. Logs of cluster activities
                                                                              1. Application data is not stored, only cluster related data
                                                                        3. Slave
                                                                          1. 3 Processes necessary on each node
                                                                            1. Container runtime
                                                                              1. Ex. Docker
                                                                              2. Kubelet
                                                                                1. Interacts with the container runtime and the pod
                                                                                  1. Assign resources to the container
                                                                                  2. Kube Proxy
                                                                                    1. Forwards requests from services to Pod
                                                                                      1. Performance of communication
                                                                                    2. also called Worker node
                                                                                      1. Does the application (service) processing
                                                                                  3. It is a Container Orchestrator
                                                                                    1. Makes microservices more available
                                                                                      1. Services that are Highly maintainable and testable, loosely coupled, independtly deployable and owned by a small team.
                                                                                      2. Multiple development environment scenarios
                                                                                        1. Cloud
                                                                                          1. On premises
                                                                                            1. Hybrid
                                                                                            2. Management of large scale conteneraized applications
                                                                                              1. Offering availability, scalability and disaster recovery of services

                                                                                            Semelhante

                                                                                            Kubernetes
                                                                                            Dustin White
                                                                                            devops study plan
                                                                                            Madhu Sudhan
                                                                                            What Is Container
                                                                                            Amit Dixit
                                                                                            Docker & Kubernets
                                                                                            Richard Repenning
                                                                                            Kubernetes
                                                                                            Dan Fletcher
                                                                                            Biologia e Geologia - Geologia 10º ano, parte I - Ensino Secundário Português
                                                                                            Heres Oliveira
                                                                                            Estrutura e Formação das Palavras
                                                                                            Alessandra S.
                                                                                            Shakespeare
                                                                                            Alessandra S.
                                                                                            Períodos literários brasileiros
                                                                                            GoConqr suporte .
                                                                                            O que estudar para a OAB
                                                                                            GoConqr suporte .
                                                                                            FLUXOGRAMA PARA ATENDIMENTO E ACOMPANHAMENTO ACIDENTE COM EXPOSICAO A MATERIAL BIOLÓGICO (AEMB)
                                                                                            Hyago Connor