features

package
v2.19.13 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// OIDCKubeCfgEndpoint if enabled exposes an HTTP endpoint for generating kubeconfig for a cluster that will contain OIDC tokens
	OIDCKubeCfgEndpoint = "OIDCKubeCfgEndpoint"

	// PrometheusEndpoint if enabled exposes cluster's metrics HTTP endpoint
	PrometheusEndpoint = "PrometheusEndpoint"

	// OpenIDAuthPlugin if enabled configures the flags on the API server to use
	// OAuth2 identity providers.
	OpenIDAuthPlugin = "OpenIDAuthPlugin"

	// VerticalPodAutoscaler if enabled the cluster-controller will enable the
	// VerticalPodAutoscaler for all control plane components
	VerticalPodAutoscaler = "VerticalPodAutoscaler"

	// EtcdDataCorruptionChecks if enabled etcd will be started with
	// --experimental-initial-corrupt-check=true +
	// --experimental-corrupt-check-time=10m
	EtcdDataCorruptionChecks = "EtcdDataCorruptionChecks"

	// EtcdLauncher if enabled will apply the cluster level etcd-launcher feature flag on all clusters,
	// unless it's explicitly disabled at the cluster level
	EtcdLauncher = "EtcdLauncher"

	// TunnelingExposeStrategy expose strategy enables the expose strategy based on usage of
	// HTTP/2 CONNECT for tunneling traffic from the worker nodes to the
	// control plane.
	TunnelingExposeStrategy = "TunnelingExposeStrategy"

	// UserClusterMLA if enabled MonitoringLoggingAlerting stack will be deployed with corresponding controller
	UserClusterMLA = "UserClusterMLA"

	// KonnectivityService enables the deployment of Konnectivity proxy for the
	// control plane to cluster communication, instead of relying on the legacy
	// solution based on OpenVPN.
	KonnectivityService = "KonnectivityService"

	// OperatingSystemManager feature create the required resources for the deployment of OperatingSystemManager(OSM)
	// across KKP seeds. However, this won't enable the deployment of OSM controllers on user clusters by default. To
	// enable OSM to be used as a provisioning tool, is via the enabling of the EnableOperatingSystemManager field in
	// user cluster.
	OperatingSystemManager = "OperatingSystemManager"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FeatureGate

type FeatureGate map[string]bool

FeatureGate is map of key=value pairs that enables/disables various features.

func NewFeatures

func NewFeatures(rawFeatures string) (FeatureGate, error)

NewFeatures takes comma separated key=value pairs for features and returns a FeatureGate.

func (FeatureGate) Enabled

func (f FeatureGate) Enabled(feature string) bool

Enabled returns true if the feature gate value of a particular feature is true.

func (FeatureGate) Set added in v2.16.3

func (f FeatureGate) Set(s string) error

func (FeatureGate) String added in v2.16.3

func (f FeatureGate) String() string

Jump to

Keyboard shortcuts

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