statefulset

package
v25.10.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStorageSize

func GetStorageSize(sts *appsv1.StatefulSet, storageVolume string) *resource.Quantity

func HeadlessServiceNameVariants

func HeadlessServiceNameVariants(meta metav1.ObjectMeta, pod, service string) []string

func PodFQDNWithService

func PodFQDNWithService(meta metav1.ObjectMeta, podIndex int, service string) string

func PodIndex

func PodIndex(podName string) (*int, error)

func PodName

func PodName(meta metav1.ObjectMeta, podIndex int) string

func PodShortFQDNWithService

func PodShortFQDNWithService(meta metav1.ObjectMeta, podIndex int, service string) string

func ServiceFQDN

func ServiceFQDN(meta metav1.ObjectMeta) string

func ServiceFQDNWithService

func ServiceFQDNWithService(meta metav1.ObjectMeta, service string) string

func ServiceNameVariants

func ServiceNameVariants(meta metav1.ObjectMeta, service string) []string

func ValidPodName

func ValidPodName(meta metav1.ObjectMeta, replicas int, podName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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