clusterchecksrunner

package
v1.2.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultAffinity

func DefaultAffinity() *corev1.Affinity

DefaultAffinity returns the pod anti affinity of the cluster checks runners The default anti affinity prefers scheduling the runners on different nodes if possible for better checks stability in case of node failure.

func GetCCRRbacResourcesName added in v1.1.0

func GetCCRRbacResourcesName(dda metav1.Object) string

GetCCRRbacResourcesName returns the Cluster Checks Runner RBAC resource name

func GetDefaultClusterChecksRunnerClusterRolePolicyRules added in v1.1.0

func GetDefaultClusterChecksRunnerClusterRolePolicyRules(dda metav1.Object) []rbacv1.PolicyRule

GetDefaultClusterChecksRunnerClusterRolePolicyRules returns the default Cluster Role Policy Rules for the Cluster Checks Runner

func GetDefaultServiceAccountName

func GetDefaultServiceAccountName(dda metav1.Object) string

GetDefaultServiceAccountName return the default Cluster-Agent ServiceAccountName

func NewDefaultClusterChecksRunnerDeployment

func NewDefaultClusterChecksRunnerDeployment(dda metav1.Object) *appsv1.Deployment

NewDefaultClusterChecksRunnerDeployment return a new default cluster-checks-runner deployment

func NewDefaultClusterChecksRunnerPodTemplateSpec

func NewDefaultClusterChecksRunnerPodTemplateSpec(dda metav1.Object) *corev1.PodTemplateSpec

NewDefaultClusterChecksRunnerPodTemplateSpec returns a default cluster-checks-runner for the cluster-agent deployment

Types

This section is empty.

Jump to

Keyboard shortcuts

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