Documentation ¶
Index ¶
- Constants
- func ReconcileConfig(config *corev1.ConfigMap, ownerRef config.OwnerRef, ...) error
- func ReconcileDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, ...) error
- type KubeSchedulerParams
- func (p *KubeSchedulerParams) CipherSuites() []string
- func (p *KubeSchedulerParams) FeatureGates() []string
- func (p *KubeSchedulerParams) MinTLSVersion() string
- func (p *KubeSchedulerParams) SchedulerPolicy() configv1.ConfigMapNameReference
- func (p *KubeSchedulerParams) SchedulerProfile() configv1.SchedulerProfile
Constants ¶
View Source
const (
KubeSchedulerConfigKey = "config.json"
)
Variables ¶
This section is empty.
Functions ¶
func ReconcileConfig ¶
func ReconcileDeployment ¶
func ReconcileDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, config config.DeploymentConfig, image string, featureGates []string, policy configv1.ConfigMapNameReference, availabilityProberImage string, apiPort *int32, ciphers []string, tlsVersion string, disableProfiling bool) error
Types ¶
type KubeSchedulerParams ¶
type KubeSchedulerParams struct { FeatureGate *configv1.FeatureGateSpec `json:"featureGate"` Scheduler *configv1.SchedulerSpec `json:"scheduler"` OwnerRef config.OwnerRef `json:"ownerRef"` HyperkubeImage string `json:"hyperkubeImage"` AvailabilityProberImage string `json:"availabilityProberImage"` config.DeploymentConfig `json:",inline"` APIServer *configv1.APIServerSpec `json:"apiServer"` DisableProfiling bool `json:"disableProfiling"` }
func NewKubeSchedulerParams ¶
func NewKubeSchedulerParams(ctx context.Context, hcp *hyperv1.HostedControlPlane, images map[string]string, setDefaultSecurityContext bool) *KubeSchedulerParams
func (*KubeSchedulerParams) CipherSuites ¶
func (p *KubeSchedulerParams) CipherSuites() []string
func (*KubeSchedulerParams) FeatureGates ¶
func (p *KubeSchedulerParams) FeatureGates() []string
func (*KubeSchedulerParams) MinTLSVersion ¶
func (p *KubeSchedulerParams) MinTLSVersion() string
func (*KubeSchedulerParams) SchedulerPolicy ¶
func (p *KubeSchedulerParams) SchedulerPolicy() configv1.ConfigMapNameReference
func (*KubeSchedulerParams) SchedulerProfile ¶ added in v0.1.5
func (p *KubeSchedulerParams) SchedulerProfile() configv1.SchedulerProfile
Click to show internal directories.
Click to hide internal directories.