config

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateAppWrapperConfig added in v0.7.3

func ValidateAppWrapperConfig(config *AppWrapperConfig) error

Types

type AppWrapperConfig

type AppWrapperConfig struct {
	EnableKueueIntegrations bool                       `json:"enableKueueIntegrations,omitempty"`
	KueueJobReconciller     *KueueJobReconcillerConfig `json:"kueueJobReconciller,omitempty"`
	Autopilot               *AutopilotConfig           `json:"autopilot,omitempty"`
	UserRBACAdmissionCheck  bool                       `json:"userRBACAdmissionCheck,omitempty"`
	FaultTolerance          *FaultToleranceConfig      `json:"faultTolerance,omitempty"`
	SchedulerName           string                     `json:"schedulerName,omitempty"`
	DefaultQueueName        string                     `json:"defaultQueueName,omitempty"`
	SlackQueueName          string                     `json:"slackQueueName,omitempty"`
}

func NewAppWrapperConfig added in v0.7.3

func NewAppWrapperConfig() *AppWrapperConfig

NewAppWrapperConfig constructs an AppWrapperConfig and fills in default values

type AutopilotConfig added in v0.22.0

type AutopilotConfig struct {
	InjectAntiAffinities bool                  `json:"injectAntiAffinities,omitempty"`
	MonitorNodes         bool                  `json:"monitorNodes,omitempty"`
	ResourceTaints       map[string][]v1.Taint `json:"resourceTaints,omitempty"`
}

type CertManagementConfig added in v0.7.0

type CertManagementConfig struct {
	Namespace                   string `json:"namespace,omitempty"`
	CertificateDir              string `json:"certificateDir,omitempty"`
	CertificateName             string `json:"certificateName,omitempty"`
	CertificateOrg              string `json:"certificateOrg,omitempty"`
	MutatingWebhookConfigName   string `json:"mutatingWebhookConfigName,omitempty"`
	ValidatingWebhookConfigName string `json:"validatingWebhookConfigName,omitempty"`
	WebhookServiceName          string `json:"webhookServiceName,omitempty"`
	WebhookSecretName           string `json:"webhookSecretName,omitempty"`
}

func NewCertManagementConfig added in v0.7.3

func NewCertManagementConfig(namespace string) *CertManagementConfig

NewCertManagermentConfig constructs a CertManagementConfig and fills in default values

type ControllerManagerConfig added in v0.8.0

type ControllerManagerConfig struct {
	Metrics        MetricsConfiguration `json:"metrics,omitempty"`
	Health         HealthConfiguration  `json:"health,omitempty"`
	LeaderElection bool                 `json:"leaderElection,omitempty"`
	EnableHTTP2    bool                 `json:"enableHTTP2,omitempty"`
}

func NewControllerManagerConfig added in v0.8.0

func NewControllerManagerConfig() *ControllerManagerConfig

NewControllerRuntimeConfig constructs a ControllerRuntimeConfig and fills in default values

type FaultToleranceConfig added in v0.7.0

type FaultToleranceConfig struct {
	AdmissionGracePeriod        time.Duration `json:"admissionGracePeriod,omitempty"`
	WarmupGracePeriod           time.Duration `json:"warmupGracePeriod,omitempty"`
	FailureGracePeriod          time.Duration `json:"failureGracePeriod,omitempty"`
	RetryPausePeriod            time.Duration `json:"resetPause,omitempty"`
	RetryLimit                  int32         `json:"retryLimit,omitempty"`
	ForcefulDeletionGracePeriod time.Duration `json:"deletionGracePeriod,omitempty"`
	GracePeriodMaximum          time.Duration `json:"gracePeriodCeiling,omitempty"`
	SuccessTTL                  time.Duration `json:"successTTLCeiling,omitempty"`
}

type HealthConfiguration added in v0.8.0

type HealthConfiguration struct {
	BindAddress string `json:"bindAddress,omitempty"`
}

type KueueJobReconcillerConfig added in v0.22.0

type KueueJobReconcillerConfig struct {
	ManageJobsWithoutQueueName bool                      `json:"manageJobsWithoutQueueName,omitempty"`
	WaitForPodsReady           *v1beta1.WaitForPodsReady `json:"waitForPodsReady,omitempty"`
	LabelKeysToCopy            []string                  `json:"labelKeysToCopy,omitempty"`
}

type MetricsConfiguration added in v0.8.0

type MetricsConfiguration struct {
	BindAddress   string `json:"bindAddress,omitempty"`
	SecureServing bool   `json:"secureServing,omitempty"`
}

type OperatorConfig added in v0.7.3

type OperatorConfig struct {
	AppWrapper        *AppWrapperConfig        `json:"appwrapper,omitempty"`
	CertManagement    *CertManagementConfig    `json:"certManagement,omitempty"`
	ControllerManager *ControllerManagerConfig `json:"controllerManager,omitempty"`
	WebhooksEnabled   *bool                    `json:"webhooksEnabled,omitempty"`
}

Jump to

Keyboard shortcuts

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