volume

package
v0.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2020 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateVolumeGeneration

func UpdateVolumeGeneration(kubeClient kubernetes.Interface, pl corev1listers.PodLister, ns string, ls map[string]string) error

UpdateVolumeGeneration updates the volume generation annotation for all pods matching the selector. This technique is used to trigger immediate configmap volume refresh without restarting the pod, see https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#mounted-configmaps-are-updated-automatically NOTE: update spec.template.metadata.annotations on the deployment resource causes pods to be recreated.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL