statefulset

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InternalProxySecretMountPath = "/var/lib/dynatrace/secrets/internal-proxy"

	InternalProxySecretVolumeName = "internal-proxy-secret-volume"

	InternalProxySecretHost          = "host"
	InternalProxySecretHostMountPath = InternalProxySecretMountPath + "/" + InternalProxySecretHost

	InternalProxySecretPort          = "port"
	InternalProxySecretPortMountPath = InternalProxySecretMountPath + "/" + InternalProxySecretPort

	InternalProxySecretUsername          = "username"
	InternalProxySecretUsernameMountPath = InternalProxySecretMountPath + "/" + InternalProxySecretUsername

	InternalProxySecretPassword          = "password"
	InternalProxySecretPasswordMountPath = InternalProxySecretMountPath + "/" + InternalProxySecretPassword
)
View Source
const (
	DeploymentTypeActiveGate = "active_gate"
)

Variables

This section is empty.

Functions

func BuildEecConfigMapName added in v0.6.0

func BuildEecConfigMapName(instanceName string, module string) string

func CreateStatefulSet

func CreateStatefulSet(stsProperties *statefulSetProperties) (*appsv1.StatefulSet, error)

func NewStatefulSetProperties

func NewStatefulSetProperties(instance *dynatracev1beta1.DynaKube, capabilityProperties *dynatracev1beta1.CapabilityProperties, kubeSystemUID types.UID,
	activeGateHash string, feature string, capabilityName string, serviceAccountOwner string,
	initContainers []corev1.Container, containerVolumeMounts []corev1.VolumeMount, volumes []corev1.Volume) *statefulSetProperties

Types

type ExtensionController added in v0.6.0

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

func NewExtensionController added in v0.6.0

func NewExtensionController(stsProperties *statefulSetProperties) *ExtensionController

func (*ExtensionController) BuildContainer added in v0.6.0

func (eec *ExtensionController) BuildContainer() corev1.Container

func (*ExtensionController) BuildVolumes added in v0.6.0

func (eec *ExtensionController) BuildVolumes() []corev1.Volume

func (*ExtensionController) Limits added in v0.6.0

func (eec *ExtensionController) Limits(resourceName corev1.ResourceName) *resource.Quantity

func (*ExtensionController) Requests added in v0.6.0

func (eec *ExtensionController) Requests(resourceName corev1.ResourceName) *resource.Quantity

type Reconciler

type Reconciler struct {
	client.Client
	Instance *dynatracev1beta1.DynaKube
	// contains filtered or unexported fields
}

func NewReconciler

func NewReconciler(clt client.Client, apiReader client.Reader, scheme *runtime.Scheme,
	instance *dynatracev1beta1.DynaKube, capability capability.Capability) *Reconciler

func (*Reconciler) AddOnAfterStatefulSetCreateListener

func (r *Reconciler) AddOnAfterStatefulSetCreateListener(event events.StatefulSetEvent)

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile() (update bool, err error)

type Statsd added in v0.6.0

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

func NewStatsd added in v0.6.0

func NewStatsd(stsProperties *statefulSetProperties) *Statsd

func (*Statsd) BuildContainer added in v0.6.0

func (statsd *Statsd) BuildContainer() corev1.Container

func (*Statsd) BuildVolumes added in v0.6.0

func (statsd *Statsd) BuildVolumes() []corev1.Volume

func (*Statsd) Limits added in v0.6.0

func (statsd *Statsd) Limits(resourceName corev1.ResourceName) *resource.Quantity

func (*Statsd) Requests added in v0.6.0

func (statsd *Statsd) Requests(resourceName corev1.ResourceName) *resource.Quantity

Jump to

Keyboard shortcuts

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