a

Docker Kubernetes

docker-kubernetes-training---Stalwart-Training

This boot camp introduces participants to docker and its ecosystem, help them get started using Docker to build, package and run their applications inside containers. This course also covers container orchestration with Kubernetes.

This course covers docker right from how to run a single container, to how to package your application into a docker image and finally deploying it at a production scale on a multitude of hosts. This course is useful for you if,

  • You are a developer and want to understand how Docker works as well as learn to package your application into a docker image. You may also be interested in creating release strategies and deploy it in pre-production or production environments.
  • You are operations personnel who would like to understand how to get started with containers, troubleshoot issues, support docker environments. You may also want to understand how to design and deploy a highly available, fault tolerant production scale infrastructure with Kubernetes, understand the network primitives, etc.
  • You are a QA and would like to understand how to use Docker to set up test environments, speed up testing and continuous integration process and also learn how container orchestration works with Kubernetes.

3 Days

  • Linux/Unix Systems Fundaments
  • Understanding of Command Line Interface
  • Basic knowledge of editors on Linux (any one of vi/nano/emacs)
  • Understanding of YAML syntax and familiarity with reading/writing basic YAML specifications
  1. Introduction
    1. Basics of Docker
    2. Dockerfile
    3. Networking
  1. Creating and Running Containers
    1. Container Images
    2. Building Application Images with Docker
    3. Storing Images in a Remote Registry
    4. The Docker Container Runtime
  2. Deploying a Kubernetes Cluster
    1. Installing Kubernetes on a Public Cloud Provider
    2. Installing Kubernetes Locally Using minikube
    3. Running Kubernetes on Raspberry Pi
    4. The Kubernetes Client
    5. Cluster Components
  3. Common kubectl Commands
    1. Namespaces
    2. Contexts
    3. Viewing Kubernetes API Objects
    4. Creating, Updating, and Destroying Kubernetes Objects
    5. Labelling and Annotating Objects
    6. Debugging Commands
  1. Pods
    1. Pods in Kubernetes
    2. Thinking with Pods
    3. The Pod Manifest
    4. Running Pods
    5. Accessing Pod
    6. Health Checks
    7. Resource Management
    8. Persisting Data with Volumes
    9. The Distributed System ToolKit
      1. Sidecar containers
      2. Ambassador containers
      3. Adapter containers

 

  1. Labels and Annotations
    1. Labels
    2. Annotations

 

  1. Resource Quotas
    1. Enabling Resource Quota
    2. Compute Resource Quota
    3. Storage Resource Quota
    4. Object Count Quota
    5. Quota Scopes
    6. Requests vs Limits
    7. Viewing and Setting Quotas
    8. Quota and Cluster Capacity
    9. Limit Priority Class consumption by default
  1. Service Discovery
    1. What Is Service Discovery?
    2. Using CoreDNS for Service Discovery
    3. About CoreDNS
    4. Upgrading an existing cluster with kubeadm
    5. Installing kube-dns instead of CoreDNS with kubeadm
    6. The Service Object
    7. Looking Beyond the Cluster
    8. Cloud Integration
    9. Advanced Details

 

  1. ReplicaSets
    1. Reconciliation Loops
    2. Relating Pods and ReplicaSets
    3. Designing with ReplicaSets
    4. ReplicaSet Spec
    5. Creating a ReplicaSet
    6. Inspecting a ReplicaSet
    7. Scaling ReplicaSets
    8. Deleting ReplicaSets

 

  1. DaemonSets
    1. DaemonSet Scheduler
    2. Creating DaemonSets
    3. Limiting DaemonSets to Specific Nodes
    4. Updating a DaemonSet
    5. Deleting a DaemonSet

 

  1. Jobs
    1. The Job Object
    2. Job Patterns

 

  1. ConfigMaps and Secrets
    1. ConfigMaps
    2. Secrets
    3. Naming Constraints
    4. Managing ConfigMaps and Secrets

 

  1. Deployments
    1. First Deployment
    2. Creating Deployments
    3. Managing Deployments
    4. Updating Deployments
    5. Deployment Strategies
    6. Deleting a Deployment

 

  1. Integrating Storage Solutions and Kubernetes
    1. Importing External Services
    2. Running Reliable Singletons
    3. Kubernetes-Native Storage with StatefulSets

 

  1. The Ecosystem
    1. Installing Helm, the Kubernetes Package Manager
    2. Using Helm to Install Applications
    3. Creating Your Own Chart to Package Your Application with Helm
    4. Converting Your Docker Compose Files to Kubernetes Manifests
    5. Creating a Kubernetes Cluster with kubicorn
    6. Storing Encrypted Secrets in Version Control
    7. Deploying Functions with kubeless
  1. Deploying Real-World Applications
    1. Parse
    2. Ghost
    3. Redis

 

  1. Service Mesh
    1. Why service mesh?
    2. Conduit and Istio
    3. Managing microservices with Istio
  2. Authorization Overview
    1. Determine Whether a Request is Allowed or Denied
    2. Review Your Request Attributes
    3. Determine the Request Verb
    4. Authorization Modules
    5. Using Flags for Your Authorization Module
    6. Privilege escalation via pod creation
  3. Networking
    1. Calico
    2. Flannel
  4. Scaling
    1. Scaling a Deployment
    2. Automatically Resizing a Cluster in GKE
    3. Automatically Resizing a Cluster in AWS
    4. Using Horizontal Pod Autoscaling on GKE
  5. Security
    1. Providing a Unique Identity for an Application
    2. Listing and Viewing Access Control Information
    3. Controlling Access to Resources
    4. Securing Pods
  6. Ingress Controller
    1. What is Ingress?
    2. Prerequisites
    3. The Ingress Resource
    4. Ingress controllers
    5. Before you begin
    6. Types of Ingress
    7. Updating an Ingress
    8. Failing across availability zones
    9. Future Work
    10. Alternatives
  7. Monitoring and Logging
    1. Accessing the Logs of a Container
    2. Recover from a Broken State with a Liveness Probe
    3. Controlling Traffic Flow to a Pod Using a Readiness Probe
    4. Adding Liveness and Readiness Probes to Your Deployments
    5. Enabling Heapster on Minikube to Monitor Resources
    6. Using Prometheus on Minikube
    7. Using Elasticsearch–Fluentd–Kibana (EFK) on Minikube