controlplane

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deployment

type Deployment struct {
	Address            string
	KineContainerImage string
	DataStore          kamajiv1alpha1.DataStore
}

func (*Deployment) BuildScheduler

func (d *Deployment) BuildScheduler(podSpec *corev1.PodSpec, tenantControlPlane *kamajiv1alpha1.TenantControlPlane)

func (*Deployment) ResetKubeAPIServerFlags

func (d *Deployment) ResetKubeAPIServerFlags(resource *appsv1.Deployment, tcp *kamajiv1alpha1.TenantControlPlane)

ResetKubeAPIServerFlags ensures that upon a change of the kube-apiserver extra flags the desired ones are properly applied, also considering that the container could be lately patched by the konnectivity addon resources.

func (*Deployment) SetAffinity added in v0.1.1

func (d *Deployment) SetAffinity(spec *corev1.PodSpec, tcp *kamajiv1alpha1.TenantControlPlane)

func (*Deployment) SetAnnotations

func (d *Deployment) SetAnnotations(resource *appsv1.Deployment, annotations map[string]string)

func (*Deployment) SetContainers

func (d *Deployment) SetContainers(podSpec *corev1.PodSpec, tcp *kamajiv1alpha1.TenantControlPlane, address string)

func (*Deployment) SetLabels

func (d *Deployment) SetLabels(resource *appsv1.Deployment, labels map[string]string)

func (*Deployment) SetNodeSelector added in v0.1.1

func (d *Deployment) SetNodeSelector(spec *corev1.PodSpec, tcp *kamajiv1alpha1.TenantControlPlane)

func (*Deployment) SetReplicas

func (d *Deployment) SetReplicas(deploymentSpec *appsv1.DeploymentSpec, tcp *kamajiv1alpha1.TenantControlPlane)

func (*Deployment) SetRuntimeClass added in v0.2.0

func (d *Deployment) SetRuntimeClass(spec *corev1.PodSpec, tcp *kamajiv1alpha1.TenantControlPlane)

func (*Deployment) SetSelector

func (d *Deployment) SetSelector(deploymentSpec *appsv1.DeploymentSpec, tcp *kamajiv1alpha1.TenantControlPlane)

func (*Deployment) SetStrategy

func (d *Deployment) SetStrategy(deployment *appsv1.DeploymentSpec, tcp *kamajiv1alpha1.TenantControlPlane)

func (*Deployment) SetTemplateLabels

func (d *Deployment) SetTemplateLabels(template *corev1.PodTemplateSpec, labels map[string]string)

func (*Deployment) SetToleration added in v0.1.1

func (d *Deployment) SetToleration(spec *corev1.PodSpec, tcp *kamajiv1alpha1.TenantControlPlane)

func (*Deployment) SetTopologySpreadConstraints

func (d *Deployment) SetTopologySpreadConstraints(spec *appsv1.DeploymentSpec, topologies []corev1.TopologySpreadConstraint)

func (*Deployment) SetVolumes

func (d *Deployment) SetVolumes(podSpec *corev1.PodSpec, tcp *kamajiv1alpha1.TenantControlPlane)

Jump to

Keyboard shortcuts

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