features

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Overview

Package features provides sample mutations for the PDB primitive example.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StrictAvailabilityMutation

func StrictAvailabilityMutation(version string, metricsEnabled bool) pdb.Mutation

StrictAvailabilityMutation switches the PDB from percentage-based MinAvailable to an absolute MaxUnavailable of 1 when metrics are enabled, indicating that the service requires stricter disruption control.

func VersionLabelMutation

func VersionLabelMutation(version string) pdb.Mutation

VersionLabelMutation sets the app.kubernetes.io/version label on the PDB. It is always enabled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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