statefulset

package
v0.0.0-...-1540654 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefineStatefulSet

func DefineStatefulSet(statefulSetName string, namespace string,
	image string, label map[string]string) *appsv1.StatefulSet

DefineStatefulSet returns statefulset struct.

func RedefineWithContainerSpecs

func RedefineWithContainerSpecs(statefulSet *appsv1.StatefulSet, containerSpecs []corev1.Container)

func RedefineWithLivenessProbe

func RedefineWithLivenessProbe(statefulSet *appsv1.StatefulSet)

RedefineWithLivenessProbe adds liveness probe to statefulSet manifest.

func RedefineWithPostStart

func RedefineWithPostStart(statefulSet *appsv1.StatefulSet)

RedefineWithPostStart adds postStart to statefulSet manifest.

func RedefineWithPrivilegedContainer

func RedefineWithPrivilegedContainer(statefulSet *appsv1.StatefulSet)

func RedefineWithReadinessProbe

func RedefineWithReadinessProbe(statefulSet *appsv1.StatefulSet)

RedefineWithReadinessProbe adds readiness probe to statefulSet manifest.

func RedefineWithReplicaNumber

func RedefineWithReplicaNumber(statefulSet *appsv1.StatefulSet, replicasNumber int32)

func RedefineWithStartUpProbe

func RedefineWithStartUpProbe(statefulSet *appsv1.StatefulSet)

RedefineWithStartUpProbe adds startup probe to statefulSet manifest.

Types

This section is empty.

Jump to

Keyboard shortcuts

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