Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SuffixSeed is the suffix for seed kube-state-metrics resources. SuffixSeed = "-seed" // SuffixRuntime is the suffix for garden-runtime kube-state-metrics resources. SuffixRuntime = "-runtime" )
Variables ¶
View Source
var TimeoutWaitForManagedResource = 2 * time.Minute
TimeoutWaitForManagedResource is the timeout used while waiting for the ManagedResources to become healthy or deleted.
Functions ¶
func CentralLoggingConfiguration ¶
func CentralLoggingConfiguration() (component.CentralLoggingConfig, error)
CentralLoggingConfiguration returns a fluent-bit parser and filter for the kube-state-metrics logs.
func New ¶
func New( client client.Client, namespace string, secretsManager secretsmanager.Interface, values Values, ) component.DeployWaiter
New creates a new instance of DeployWaiter for the kube-state-metrics.
Types ¶
type Values ¶
type Values struct { // ClusterType specifies the type of the cluster to which kube-state-metrics is being deployed. // For seeds, all resources are being deployed as part of a ManagedResource. // For shoots, the kube-state-metrics runs in the shoot namespace in the seed as part of the control plane. Hence, // only the runtime resources (like Deployment, Service, etc.) are being deployed directly (with the client). All // other application-related resources (like RBAC roles, CRD, etc.) are deployed as part of a ManagedResource. ClusterType component.ClusterType // KubernetesVersion is the Kubernetes version of the cluster. KubernetesVersion *semver.Version // Image is the container image. Image string // PriorityClassName is the name of the priority class. PriorityClassName string // Replicas is the number of replicas. Replicas int32 // IsWorkerless specifies whether the cluster has worker nodes. IsWorkerless bool // NameSuffix is attached to the deployment name and related resources. NameSuffix string }
Values is a set of configuration values for the kube-state-metrics.
Click to show internal directories.
Click to hide internal directories.