HUB
Sign inSign up
k8s-rollingupdate logo

webdevops/k8s-rollingupdate

By webdevops

•Updated almost 9 years ago

Kubernetes rollingupdate trigger for Deployments, Daemonsets and Statefulsets

Image
Integration & delivery
Monitoring & observability
0

1.2K

webdevops/k8s-rollingupdate repository overview

⁠Kubernetes rollingupdate trigger for Deployments, Daemonsets and Statefulsets

This tool triggers a rolling update for Deployments, Daemonsets and Statefulsets with possiblity to filter by annotation.

⁠Usage

Usage:
  k8s-rollingupdate [OPTIONS]

Application Options:
      --kubeconfig=             Path to .kube/config [$KUBECONFIG]
      --kubecontext=            Context of .kube/config [$KUBECONTEXT]
  -n, --namespace=              Namespace to process [$K8S_ROLLINGUPDATE_NAMESPACE]
      --annotation=             Filter Kubernetes object by annotation
                                [$K8S_ROLLINGUPDATE_ANNOTATION]
      --annotation-value=       Filter Kubernetes object by annotation value (needs --annotation)
                                [$K8S_ROLLINGUPDATE_ANNOTATION_VALUE]
      --annotation-autorollout= Annotation which will be added to trigger rolling update (default:
                                rolllingupdate.webdevops.io/trigger)
                                [$K8S_ROLLINGUPDATE_ANNOTATION_TRIGGER]

Help Options:
  -h, --help                    Show this help message
# Trigger rolling update for everything in namespace
k8s-rollingupdate -n your-namespace

# Trigger rolling update for everything multiple namespaces
k8s-rollingupdate -n your-namespace -n other-namespace

# Trigger rolling update for everything with annotation foobar/barfoo
k8s-rollingupdate -n your-namespace --annotation foobar/barfoo

# Trigger rolling update for everything with annotation foobar/barfoo=value
k8s-rollingupdate -n your-namespace --annotation foobar/barfoo --annotation-value value

Tag summary

Content type

Image

Digest

Size

10.4 MB

Last updated

almost 9 years ago

docker pull webdevops/k8s-rollingupdate