metricsserver

package
v2.19.12 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "metrics-server"
)

Variables

This section is empty.

Functions

func APIServiceCreator

func APIServiceCreator(caBundle []byte) reconciling.NamedAPIServiceCreatorGetter

APIServiceCreator returns the func to create/update the APIService used by the metrics-server

func ClusterRoleBindingAuthDelegatorCreator

func ClusterRoleBindingAuthDelegatorCreator(isKonnectivityEnabled bool) reconciling.NamedClusterRoleBindingCreatorGetter

ClusterRoleBindingAuthDelegatorCreator returns the ClusterRoleBinding required for the metrics server to create token review requests

func ClusterRoleBindingResourceReaderCreator

func ClusterRoleBindingResourceReaderCreator(isKonnectivityEnabled bool) reconciling.NamedClusterRoleBindingCreatorGetter

ClusterRoleBindingResourceReaderCreator returns the ClusterRoleBinding required for the metrics server to read all required resources

func ClusterRoleCreator

func ClusterRoleCreator() reconciling.NamedClusterRoleCreatorGetter

ClusterRole returns a cluster role for the metrics server

func DeploymentCreator added in v2.19.0

func DeploymentCreator(registryWithOverwrite registry.WithOverwriteFunc) reconciling.NamedDeploymentCreatorGetter

DeploymentCreator returns the function to create and update the metrics server deployment

func ExternalNameServiceCreator

func ExternalNameServiceCreator(namespace string) reconciling.NamedServiceCreatorGetter

ExternalNameServiceCreator returns the function to reconcile the metrics server service

func NetworkPolicyCreator added in v2.19.0

func NetworkPolicyCreator() reconciling.NamedNetworkPolicyCreatorGetter

NetworkPolicyCreator NetworkPolicy allows egress traffic of user ssh keys agent to the world

func PodDisruptionBudgetCreator added in v2.19.0

func PodDisruptionBudgetCreator() reconciling.NamedPodDisruptionBudgetCreatorGetter

PodDisruptionBudgetCreator returns a func to create/update the metrics-server PodDisruptionBudget

func RolebindingAuthReaderCreator

func RolebindingAuthReaderCreator(isKonnectivityEnabled bool) reconciling.NamedRoleBindingCreatorGetter

RolebindingAuthReaderCreator returns a func to create/update the RoleBinding used by the metrics-server to get access to the token subject review API

func ServiceAccountCreator added in v2.19.0

func ServiceAccountCreator() reconciling.NamedServiceAccountCreatorGetter

ServiceAccountCreator creates the service account for the metrics-server.

func ServiceCreator added in v2.19.0

func ServiceCreator() reconciling.NamedServiceCreatorGetter

ServiceCreator returns the function to reconcile the user cluster metrics-server service.

func TLSServingCertSecretCreator added in v2.19.0

func TLSServingCertSecretCreator(caGetter servingcerthelper.CAGetter) reconciling.NamedSecretCreatorGetter

TLSServingCertSecretCreator returns a function to manage the TLS serving cert for the metrics server.

func UserClusterResourcesForDeletion added in v2.19.0

func UserClusterResourcesForDeletion() []ctrlruntimeclient.Object

UserClusterResourcesForDeletion contains a set of resources deployed in user cluster if metrics-server is running fully in the user cluster (not in seed). It does not cover common metrics-server resources that are being deployed regardless of the deployment strategy (in seed / in user cluster).

Types

This section is empty.

Jump to

Keyboard shortcuts

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