metricsserver

package
v3.0.0-...-d6c4d9c Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func APIServiceReconciler

func APIServiceReconciler(caBundle []byte) reconciling.NamedAPIServiceReconcilerFactory

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

func ClusterRoleBindingAuthDelegatorReconciler

func ClusterRoleBindingAuthDelegatorReconciler(isKonnectivityEnabled bool) reconciling.NamedClusterRoleBindingReconcilerFactory

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

func ClusterRoleBindingResourceReaderReconciler

func ClusterRoleBindingResourceReaderReconciler(isKonnectivityEnabled bool) reconciling.NamedClusterRoleBindingReconcilerFactory

ClusterRoleBindingResourceReaderReconciler returns the ClusterRoleBinding required for the metrics server to read all required resources.

func ClusterRoleReconciler

func ClusterRoleReconciler() reconciling.NamedClusterRoleReconcilerFactory

ClusterRole returns a cluster role for the metrics server.

func DeploymentReconciler

func DeploymentReconciler(imageRewriter registry.ImageRewriter) reconciling.NamedDeploymentReconcilerFactory

DeploymentReconciler returns the function to create and update the metrics server deployment.

func ExternalNameServiceReconciler

func ExternalNameServiceReconciler(namespace string) reconciling.NamedServiceReconcilerFactory

ExternalNameServiceReconciler returns the function to reconcile the metrics server service.

func NetworkPolicyReconciler

func NetworkPolicyReconciler() reconciling.NamedNetworkPolicyReconcilerFactory

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

func PodDisruptionBudgetReconciler

func PodDisruptionBudgetReconciler() reconciling.NamedPodDisruptionBudgetReconcilerFactory

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

func RolebindingAuthReaderReconciler

func RolebindingAuthReaderReconciler(isKonnectivityEnabled bool) reconciling.NamedRoleBindingReconcilerFactory

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

func ServiceAccountReconciler

func ServiceAccountReconciler() reconciling.NamedServiceAccountReconcilerFactory

ServiceAccountReconciler creates the service account for the metrics-server.

func ServiceReconciler

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

func TLSServingCertSecretReconciler

func TLSServingCertSecretReconciler(caGetter servingcerthelper.CAGetter) reconciling.NamedSecretReconcilerFactory

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

func UserClusterResourcesForDeletion

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