features

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package features provides sample features for the statefulset primitive.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomConvergeStatus

CustomConvergeStatus demonstrates a custom handler for statefulset readiness.

func CustomGraceStatus

func CustomGraceStatus() func(*appsv1.StatefulSet) (concepts.GraceStatusWithReason, error)

CustomGraceStatus demonstrates a custom handler for health when not ready.

func CustomSuspendMutation

func CustomSuspendMutation() func(*statefulset.Mutator) error

CustomSuspendMutation demonstrates a custom mutation when suspended.

func MetricsFeature

func MetricsFeature(enabled bool, port int) statefulset.Mutation

MetricsFeature adds an exporter sidecar and some annotations.

func TracingFeature

func TracingFeature(enabled bool) statefulset.Mutation

TracingFeature adds a Jaeger sidecar to the statefulset.

func VersionFeature

func VersionFeature(version string) statefulset.Mutation

VersionFeature sets the image version and a label.

Types

This section is empty.

Jump to

Keyboard shortcuts

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