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

