operator

package
v0.0.0-...-93c25ae Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: Apache-2.0 Imports: 69 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultImage = "quay.io/openshift/origin-descheduler:latest"
View Source
const EXPERIMENTAL_DISABLE_PSI_CHECK = "EXPERIMENTAL_DISABLE_PSI_CHECK"

Variables

View Source
var DeschedulerCommand = []string{"/bin/descheduler", "--policy-config-file", "/policy-dir/policy.yaml", "--v", "2"}

deschedulerCommand provides descheduler command with policyconfigfile mounted as volume and log-level for backwards compatibility with 3.11

Functions

Types

type TargetConfigReconciler

type TargetConfigReconciler struct {
	// contains filtered or unexported fields
}

func NewTargetConfigReconciler

func NewTargetConfigReconciler(
	ctx context.Context,
	deschedulerImagePullSpec string,
	softTainterImagePullSpec string,
	operatorConfigClient operatorconfigclientv1.KubedeschedulersV1Interface,
	operatorClientInformer operatorclientinformers.KubeDeschedulerInformer,
	deschedulerClient *operatorclient.DeschedulerClient,
	kubeClient kubernetes.Interface,
	dynamicClient dynamic.Interface,
	configInformer configinformers.SharedInformerFactory,
	routeInformers routeinformers.SharedInformerFactory,
	coreInformers coreinformers.SharedInformerFactory,
	eventRecorder events.Recorder,
) *TargetConfigReconciler

func (*TargetConfigReconciler) Run

func (c *TargetConfigReconciler) Run(workers int, stopCh <-chan struct{})

Run starts the kube-scheduler and blocks until stopCh is closed.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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