component-basek8s.io/component-base/zpages/features Index | Files

package features

import "k8s.io/component-base/zpages/features"

Package features contains a separate feature set specifically designed for managing zpages related features. These feature gates control the availability and behavior of various zpages within Kubernetes components. New zpages added to Kubernetes components should utilize this feature set to ensure proper management of their availability.

Index

Constants

const (
	// owner: @richabanker
	// kep: https://kep.k8s.io/4828
	ComponentFlagz featuregate.Feature = "ComponentFlagz"

	// owner: @richabanker
	// kep: https://kep.k8s.io/4827
	// alpha: v1.32
	//
	// Enables /statusz endpoint for a component making it accessible to
	// users with the system:monitoring cluster role.
	ComponentStatusz featuregate.Feature = "ComponentStatusz"
)

Functions

func AddFeatureGates

func AddFeatureGates(mutableFeatureGate featuregate.MutableVersionedFeatureGate) error

AddFeatureGates adds all feature gates used by this package.

Source Files

doc.go kube_features.go

Version
v0.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
4 hours ago

Tools for package owners.