DevOps Classroomnotes 10/Dec/2022

Kubernetes Probes

  • Types of Probes: Refer Here
    • Liveness Probe
    • Readiness Probe
    • Startup Probe

Kubernetes Workloads covered so far

  • Pod
  • ReplicationController
  • ReplicaSet
  • Service

Daemonset

  • This workload creates a Pod on every node in the k8s cluster
  • This is generally used for running agents i.e. log agents, backup agents, heart beat/monitoring agents.
    Preview
  • Lets try to write a manifest for a alpine with sleep 1d
  • Refer Here

Preview

Deployment Strategies

  • Recreate: This has a down time. Stop the application, deploy the new version and start all of the applciation instances to bring back to the working state.
  • Rolling update:
    • We will define the percentage of application instances that can be down
    • What will be percentage of application instances that can be used more for new versions
  • Red/Blue or Red/Green
  • A/B
  • Refer Here

Deployments

  • Refer Here
  • Deployment strategies Refer Here
  • Lets try to deploy the two versions. Refer Here for the first version of the deployment spec.
  • Lets create the deployment
    Preview
    Preview
  • Refer Here for the new spec with version 2
    Preview
  • undo rollout
    Preview

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Floating Social Media Icons by Acurax Wordpress Designers

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube