IuriiO Notebook
  • Broken Code Notebook
  • Architecture and Design
    • Architectural Decision Records
    • Trade-off Analysis
    • Data Decomposition Drivers
    • Selecting a Database Type
    • Service Granularity
    • Consumer-driven Contracts
  • Cloud
    • AWS
      • Resources
      • Compute
        • EC2
        • Batch
        • ECS & ECR
        • Elastic Beanstalk
      • Storage & Data Management
        • S3
        • Storage Gateway
        • RDS
        • DynamoDB
        • ElastiCache
        • Redshift
        • EBS
        • EFS
        • FSx
        • Snowball
        • Athena
        • Encryption and Downtime
        • Untitled
      • Security & Compliance
        • IAM
        • Web Identity Federation
        • Organizations
        • Service Catalog
        • Tags and Resource Groups
        • STS
        • KMS
        • GuardDuty
        • Compliance
        • Marketplace Security Products
        • DDOS
        • Compliance Frameworks
      • High Availability
        • Global Infrastructure
        • Disaster recovery
        • Elastic Load Balancers
        • Untitled
      • Monitoring & Reporting
        • Cost Explorer
        • CloudWatch
        • Systems Manager
        • Config
        • CloudTrail
        • Cost control
        • Untitled
      • Networking
        • Networking 101
        • Route53
        • CloudFront
        • VPC
        • DirectConnect
        • WAF
        • Shield
        • Global Accelerator
      • Deployment & Provisioning
        • Untitled
        • Untitled
      • Automation & Optimization
        • CloudFormation
          • Links
          • Github resources
          • YAML 101
          • Videos
        • OpsWorks
        • Untitled
      • Application Services
        • SQS
        • SWF
        • SNS
        • Untitled
      • Serverless
        • Lambda
        • API Gateway
        • DynamoDB
        • SAM
        • Untitled
      • Well-Architected Framework
    • Azure
      • Tools
      • Organization & Management
      • Authentication & Authorization
      • Compute
      • Networking
      • Storage
      • Databases
      • Security
      • Privacy, Compliance & Trust
      • Cost Management
  • Containers & Services
    • Docker
      • Useful Links
      • Containers
      • Images
      • Dockerfile
      • System
      • Compose
      • Swarm
      • Docker & NodeJS
    • Kubernetes
      • Useful Links
      • Introduction
      • Getting started
      • Exposing containers
      • Kubernetes Management Techniques
        • Declarative YAML
      • Labels and Annotations
      • Storage in Kubernetes
      • Ingress Controller
      • CRD's and The Operator Pattern
      • Kubernetes Dashboard
      • Kubectl Namespaces and Context
  • Frontend
    • Resources
    • Design
      • Search experience
Powered by GitBook
On this page
  • What is Kubernetes
  • Why Kubernetes
  • Kubernetes or Swarm
  • Advantages of Swarm
  • Advantages of Kubernetes

Was this helpful?

  1. Containers & Services
  2. Kubernetes

Introduction

What is Kubernetes

  • Kubernetes (k8s) - popular container orchestrator

  • Container orchestration - make many servers act like one

  • Released by Google in 2015, maintained by large community

  • Runs on top of Docker (usually) as a set of APIs in containers

  • Provides API / CLI to manage containers across servers

  • Many clouds provide it for you

  • Many vendors make a "distribution" of it

Why Kubernetes

  • Orchestration: Next logical step in journey to a faster DevOps

  • First, understand why you may need orchestration, as not every solution needs orchestration

  • Number of servers + change rate = benefits of orchestration

  • Then, decide which orchestrator

  • If Kubernetes, decide which distribution

    • cloud or self-managed (Docker Enterprise, Rancher, OpenShift, Canonical, VMWare PKS)

    • don't usually need pure upstream version of k8s from Github

Kubernetes or Swarm

  • Kubernetes and Swarm are both container orchestrators

  • Boths are solid platforms with vendor backing

  • Swarm: easier to deploy / manage

  • Kubernetes: More features and more flexibility

  • Understand both and know your requirements

Advantages of Swarm

  • Comes with Docker, single vendor platform

  • Easiest orchestrator to deploy / manage yourself

  • Follows 80/20 rules (somewhat), 20% of features compared to k8s cover 80% of use cases

  • Run anywhere Docker does

    • local, cloud, datacenter

    • ARM, Windows, 32-bit, etc

Advantages of Kubernetes

  • Clouds will deploy / manage Kubernetes for you

  • Infrastructure vendors are making their own distributions

  • Widest adoptions and community

  • Flexible: covers widest set of use cases

  • "Kubernetes first" vendor support

  • "No one ever got fired for buying IBM"

    • picking solutions isn't 100% rational

    • trendy, will benefit your career

    • CIO / CTO checkbox

PreviousUseful LinksNextGetting started

Last updated 5 years ago

Was this helpful?