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.
  • Lets try to write a manifest for a alpine with sleep 1d
  • Refer Here

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

  • Refer Here for the new spec with version 2
  • undo rollout
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a comment

Turn on JavaScript to leave a comment.

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

Please turn AdBlock off
Social Network Integration by Acurax Social Media Branding Company
Exit mobile version
%%footer%%