Skip to content

binbashing/check_kube_deployment_rollout_status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Description

Check script to monitor the rollout status of a Kubernetes Deployment


How it works

For a given deployment, check that the latest rollout has successfully progressed.

Results:
  • OK: The last rollout for a deployment has successfully progressed.
  • ERROR: The last rollout for a deployment failed to successfully progressed.

Usag

user@host:~$ ./check_kube_deployment_rollout_status.py -h
usage: check_kube_deployment_rollout_status.py [-h] -d DEPLOYMENT
                                               [-n NAMESPACE]
 
user@host:~$ check_kube_deployment_rollout_status.py -d deployment-foo -n namespace-bar
OK, The rollout of deployment-foo has successfully progress.

Requirements

A working kubernetes configuration via either a config file at ~/.kube/config or the environment variable KUBECONFIG

Python libraries
  • argparse
  • kubernetes

About

Check script to monitor the rollout status of a Kubernetes Deployment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages