• [DevOps] Orchestration With Kubernetes


    We’ll cover topics including:

    • Why Orchestration?
    • Kubernetes Fundamentals
    • Kubernetes on AWS
    • Using a Kubernetes Cluster
    • Other Deployment Strategies

    Why Orchestration?

    Mainly it helps to handle complicated workflows

    • Deploy code
    • Recover from failure
    • Scale 

    We focus on continuesly deployment. 

    The tools such as Jenkins / Travis can help to build docker image (CI), Kbuernates can helps to orchestrate our CD process to complete our software developement life-cycle.

    Kubernetes Fundamentals

    • A container orchestration system packed with features for automating our application’s deployment
    • Enables us to easily scale our application and ship new code
    • Automate scheduling
    • Recover from Failure
    • Automate releases
    • Handle Scaling

    K8s for Automated code Rollout

    • Detect the latest code
    • Launch into containers

    Pods

    • Containers often need to communicate with one another. It's not uncommon to see a deployment involving a few containers to be deployed.
    • Kubernetes pods are abstractions of multiple containers and are also ephemeral.

    Services

    • Applications are often deployed with multiple replicas. This helps with load balancing and horizontal scaling.

    • Services are an abstraction of a set of pods to expose them through a network.

    What's the purpose of wrapping pods as a service?

    A: User shouldn't care when pods are destroyed. Pods are ephemeral and expected to be terminated. Services persist and are the abstraction that exposes the pods. 

    New Terms

    TermDescription
    Horizontal Scaling Handling increased traffic by creating additional replicas so that traffic can be divided across the replicas
    Kubernetes Service An abstraction of a set of pods and interface for how to interact with the pods
    Pods A set of containers that are deployed together
    Load Balancing Handling traffic by distributing it across different endpoints
    Replica A redundant copy of a resource often used for backups or load balancing
    Consumer An external entity such as a user or program that interfaces with an application
  • 相关阅读:
    Windows Bat命令常用操作
    Centos下安装Geth
    Centos常用操作
    为什么CEdit使用SetSel无法取消选择?
    VC编译参数/Zm问题
    XX.exe已经停止工作,的处理兼容性
    excel表,Alt+F11调用出vb语言处理excel表内容,很方便
    在限制了可选日期范围的calendar中,使几个日期不可选的方法
    Agile敏捷开发
    做软件的这些年
  • 原文地址:https://www.cnblogs.com/Answer1215/p/14611350.html
Copyright © 2020-2023  润新知