Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultImage = "k8s.gcr.io/scheduler-plugins/kube-scheduler:latest" PromNamespace = "openshift-monitoring" PromRouteName = "prometheus-k8s" PromTokenPrefix = "prometheus-k8s-token" )
Variables ¶
This section is empty.
Functions ¶
func RunOperator ¶
func RunOperator(ctx context.Context, cc *controllercmd.ControllerContext) error
Types ¶
type TargetConfigReconciler ¶
type TargetConfigReconciler struct {
// contains filtered or unexported fields
}
func NewTargetConfigReconciler ¶
func NewTargetConfigReconciler( ctx context.Context, operatorConfigClient operatorconfigclientv1.SecondaryschedulersV1Interface, operatorClientInformer operatorclientinformers.SecondarySchedulerInformer, kubeInformersForNamespaces v1helpers.KubeInformersForNamespaces, secondarySchedulerClient *operatorclient.SecondarySchedulerClient, kubeClient kubernetes.Interface, osrClient openshiftrouteclientset.Interface, dynamicClient dynamic.Interface, eventRecorder events.Recorder, ) (*TargetConfigReconciler, error)
func (*TargetConfigReconciler) Run ¶
func (c *TargetConfigReconciler) Run(workers int, stopCh <-chan struct{})
Run starts the kube-scheduler and blocks until stopCh is closed.
Click to show internal directories.
Click to hide internal directories.