common

package
v1.0.0-rc.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// AgentDeploymentNameLabelKey label key use to link a Resource to a DatadogAgent
	AgentDeploymentNameLabelKey = "agent.datadoghq.com/name"
	// AgentDeploymentComponentLabelKey label key use to know with component is it
	AgentDeploymentComponentLabelKey = "agent.datadoghq.com/component"
	// MD5AgentDeploymentAnnotationKey annotation key used on a Resource in order to identify which AgentDeployment have been used to generate it.
	MD5AgentDeploymentAnnotationKey = "agent.datadoghq.com/agentspechash"

	// DefaultAgentResourceSuffix use as suffix for agent resource naming
	DefaultAgentResourceSuffix = "agent"
	// DefaultClusterAgentResourceSuffix use as suffix for cluster-agent resource naming
	DefaultClusterAgentResourceSuffix = "cluster-agent"
	// DefaultClusterChecksRunnerResourceSuffix use as suffix for cluster-checks-runner resource naming
	DefaultClusterChecksRunnerResourceSuffix = "cluster-checks-runner"
	// DefaultMetricsServerResourceSuffix use as suffix for cluster-agent metrics-server resource naming
	DefaultMetricsServerResourceSuffix = "cluster-agent-metrics-server"
	// DefaultAPPKeyKey default app-key key (use in secret for instance).
	DefaultAPPKeyKey = "app_key"
	// DefaultAPIKeyKey default api-key key (use in secret for instance).
	DefaultAPIKeyKey = "api_key"
	// DefaultTokenKey default token key (use in secret for instance).
	DefaultTokenKey = "token"
	// DefaultClusterAgentReplicas default cluster-agent deployment replicas
	DefaultClusterAgentReplicas = 1
	// DefaultClusterAgentServicePort default cluster-agent service port
	DefaultClusterAgentServicePort = 5005
	// DefaultClusterChecksRunnerReplicas default cluster checks runner deployment replicas
	DefaultClusterChecksRunnerReplicas = 1
	// DefaultMetricsServerServicePort default metrics-server port
	DefaultMetricsServerServicePort = 443
	// DefaultMetricsServerTargetPort default metrics-server pod port
	DefaultMetricsServerTargetPort = int(DefaultMetricsProviderPort)
	// DefaultAdmissionControllerServicePort default admission controller service port
	DefaultAdmissionControllerServicePort = 443
	// DefaultAdmissionControllerTargetPort default admission controller pod port
	DefaultAdmissionControllerTargetPort = 8000
	// DefaultDogstatsdPort default dogstatsd port
	DefaultDogstatsdPort = 8125
	// DefaultDogstatsdPortName default dogstatsd port name
	DefaultDogstatsdPortName = "dogstatsd"
	// DefaultApmPortName default apm port name
	DefaultApmPortName = "apm"
	// DefaultMetricsProviderPort default metrics provider port
	DefaultMetricsProviderPort int32 = 8443
	// DefaultKubeStateMetricsCoreConf default ksm core ConfigMap name
	DefaultKubeStateMetricsCoreConf string = "kube-state-metrics-core-config"
	// DefaultOrchestratorExplorerConf default orchestrator explorer ConfigMap name
	DefaultOrchestratorExplorerConf string = "orchestrator-explorer-config"
	// DefaultSystemProbeSocketPath default System Probe socket path
	DefaultSystemProbeSocketPath string = "/var/run/sysprobe/sysprobe.sock"
	// DefaultCSPMConf default CSPM ConfigMap name
	DefaultCSPMConf string = "cspm-config"
	// DefaultCWSConf default CWS ConfigMap name
	DefaultCWSConf string = "cws-config"

	// Liveness probe default config
	DefaultLivenessProbeInitialDelaySeconds int32 = 15
	DefaultLivenessProbePeriodSeconds       int32 = 15
	DefaultLivenessProbeTimeoutSeconds      int32 = 5
	DefaultLivenessProbeSuccessThreshold    int32 = 1
	DefaultLivenessProbeFailureThreshold    int32 = 6
	DefaultAgentHealthPort                  int32 = 5555
	DefaultLivenessProbeHTTPPath                  = "/live"

	// Readiness probe default config
	DefaultReadinessProbeInitialDelaySeconds int32 = 15
	DefaultReadinessProbePeriodSeconds       int32 = 15
	DefaultReadinessProbeTimeoutSeconds      int32 = 5
	DefaultReadinessProbeSuccessThreshold    int32 = 1
	DefaultReadinessProbeFailureThreshold    int32 = 6
	DefaultReadinessProbeHTTPPath                  = "/ready"

	// Default Image name
	DefaultAgentImageName        string = "agent"
	DefaultClusterAgentImageName string = "cluster-agent"
	DefaultImageRegistry         string = "gcr.io/datadoghq"

	// ExtendedDaemonset defaulting
	DefaultRollingUpdateMaxUnavailable                  = "10%"
	DefaultUpdateStrategy                               = appsv1.RollingUpdateDaemonSetStrategyType
	DefaultRollingUpdateMaxPodSchedulerFailure          = "10%"
	DefaultRollingUpdateMaxParallelPodCreation    int32 = 250
	DefaultRollingUpdateSlowStartIntervalDuration       = 1 * time.Minute
	DefaultRollingUpdateSlowStartAdditiveIncrease       = "5"
	DefaultReconcileFrequency                           = 10 * time.Second

	KubeServicesAndEndpointsConfigProviders = "kube_services kube_endpoints"
	KubeServicesAndEndpointsListeners       = "kube_services kube_endpoints"
	EndpointsChecksConfigProvider           = "endpointschecks"
	ClusterAndEndpointsConfigProviders      = "clusterchecks endpointschecks"
)

Datadog const value

View Source
const (
	SystemProbeAppArmorAnnotationKey   = "container.apparmor.security.beta.kubernetes.io/system-probe"
	SystemProbeAppArmorAnnotationValue = "unconfined"
)

Annotations

View Source
const (
	ConfdVolumeName                = "confd"
	ConfdVolumePath                = "/conf.d"
	ConfigVolumeName               = "config"
	ConfigVolumePath               = "/etc/datadog-agent"
	KubeStateMetricCoreVolumeName  = "ksm-core-config"
	OrchestratorExplorerVolumeName = "orchestrator-explorer-config"
	ChecksdVolumeName              = "checksd"
	ChecksdVolumePath              = "/checks.d"

	HostRootVolumeName = "hostroot"
	HostRootHostPath   = "/"
	HostRootMountPath  = "/host/root"

	GroupVolumeName = "group"
	GroupHostPath   = "/etc/group"
	GroupMountPath  = "/etc/group"

	PasswdVolumeName = "passwd"
	PasswdHostPath   = "/etc/passwd"
	PasswdMountPath  = "/etc/passwd"

	ProcdirVolumeName = "procdir"
	ProcdirHostPath   = "/proc"
	ProcdirMountPath  = "/host/proc"

	CgroupsVolumeName = "cgroups"
	CgroupsHostPath   = "/sys/fs/cgroup"
	CgroupsMountPath  = "/host/sys/fs/cgroup"

	SystemProbeOSReleaseDirVolumeName = "host-osrelease"
	SystemProbeOSReleaseDirVolumePath = "/etc/os-release"
	SystemProbeOSReleaseDirMountPath  = "/host/etc/os-release"

	SystemProbeSocketVolumeName = "sysprobe-socket-dir"
	SystemProbeSocketVolumePath = "/var/run/sysprobe"

	DebugfsVolumeName = "debugfs"
	// same path on host and container
	DebugfsPath = "/sys/kernel/debug"

	SecurityfsVolumeName = "securityfs"
	SecurityfsVolumePath = "/sys/kernel/security"
	SecurityfsMountPath  = "/host/sys/kernel/security"

	ModulesVolumeName = "modules"
	// same path on host and container
	ModulesVolumePath = "/lib/modules"

	SrcVolumeName = "src"
	// same path on host and container
	SrcVolumePath = "/usr/src"

	AgentCustomConfigVolumePath = "/etc/datadog-agent/datadog.yaml"
	SystemProbeConfigVolumePath = "/etc/datadog-agent/system-probe.yaml"

	LogDatadogVolumeName                             = "logdatadog"
	LogDatadogVolumePath                             = "/var/log/datadog"
	TmpVolumeName                                    = "tmp"
	TmpVolumePath                                    = "/tmp"
	CertificatesVolumeName                           = "certificates"
	CertificatesVolumePath                           = "/etc/datadog-agent/certificates"
	AuthVolumeName                                   = "datadog-agent-auth"
	AuthVolumePath                                   = "/etc/datadog-agent/auth"
	InstallInfoVolumeName                            = "installinfo"
	InstallInfoVolumeSubPath                         = "install_info"
	InstallInfoVolumePath                            = "/etc/datadog-agent/install_info"
	InstallInfoVolumeReadOnly                        = true
	PointerVolumeName                                = "pointerdir"
	PointerVolumePath                                = "/opt/datadog-agent/run"
	LogTempStoragePath                               = "/var/lib/datadog-agent/logs"
	PodLogVolumeName                                 = "logpodpath"
	PodLogVolumePath                                 = "/var/log/pods"
	ContainerLogVolumeName                           = "logcontainerpath"
	ContainerLogVolumePath                           = "/var/lib/docker/containers"
	SymlinkContainerVolumeName                       = "symlinkcontainerpath"
	SymlinkContainerVolumePath                       = "/var/log/containers"
	DogstatsdHostPortName                            = "dogstatsdport"
	DogstatsdHostPortHostPort                        = 8125
	DogstatsdSocketVolumeName                        = "dsdsocket"
	DogstatsdSocketVolumePath                        = "/var/run/datadog/statsd"
	SecurityAgentComplianceCustomConfigDirVolumeName = "customcompliancebenchmarks"
	SecurityAgentComplianceConfigDirVolumeName       = "compliancedir"
	SecurityAgentComplianceConfigDirVolumePath       = "/etc/datadog-agent/compliance.d"
	SecurityAgentRuntimeCustomPoliciesVolumeName     = "customruntimepolicies"
	SecurityAgentRuntimeCustomPoliciesVolumePath     = "/etc/datadog-agent-runtime-policies"
	SecurityAgentRuntimePoliciesDirVolumeName        = "runtimepoliciesdir"
	SecurityAgentRuntimePoliciesDirVolumePath        = "/etc/datadog-agent/runtime-security.d"
	HostCriSocketPathPrefix                          = "/host"
	CriSocketVolumeName                              = "runtimesocketdir"
	RuntimeDirVolumePath                             = "/var/run"
	KubeletAgentCAPath                               = "/var/run/host-kubelet-ca.crt"
	KubeletCAVolumeName                              = "kubelet-ca"
	APMHostPortName                                  = "traceport"
	APMHostPortHostPort                              = 8126
	APMSocketVolumeName                              = "apmsocket"
	APMSocketVolumePath                              = "/var/run/datadog/apm"
	AdmissionControllerPortName                      = "admissioncontrollerport"
	ExternalMetricsPortName                          = "metricsapi"
	ExternalMetricsAPIServiceName                    = "v1beta1.external.metrics.k8s.io"
	OTLPGRPCPortName                                 = "otlpgrpcport"
	OTLPHTTPPortName                                 = "otlphttpport"
	SeccompSecurityVolumeName                        = "datadog-agent-security"
	SeccompSecurityVolumePath                        = "/etc/config"
	SeccompRootVolumeName                            = "seccomp-root"
	SeccompRootVolumePath                            = "/host/var/lib/kubelet/seccomp"
	SeccompRootPath                                  = "/var/lib/kubelet/seccomp"
	SystemProbeSeccompKey                            = "system-probe-seccomp.json"
	SystemProbeAgentSecurityConfigMapSuffixName      = "system-probe-seccomp"
	SystemProbeSeccompProfileName                    = "system-probe"

	AppArmorAnnotationKey = "container.apparmor.security.beta.kubernetes.io"

	AgentCustomConfigVolumeName    = "custom-datadog-yaml"
	AgentCustomConfigVolumeSubPath = "datadog.yaml"

	ClusterAgentCustomConfigVolumeName    = "custom-cluster-agent-yaml"
	ClusterAgentCustomConfigVolumePath    = "/etc/datadog-agent/datadog-cluster.yaml"
	ClusterAgentCustomConfigVolumeSubPath = "datadog-cluster.yaml"
)

Datadog volume names and mount paths

View Source
const (
	// FieldPathSpecNodeName used as FieldPath for selecting the NodeName
	FieldPathSpecNodeName = "spec.nodeName"

	// FieldPathStatusHostIP used as FieldPath to retrieve the host ip
	FieldPathStatusHostIP = "status.hostIP"

	// FieldPathStatusPodIP used as FieldPath to retrieve the pod ip
	FieldPathStatusPodIP = "status.podIP"

	// FieldPathMetaName used as FieldPath to retrieve the pod name
	FieldPathMetaName = "metadata.name"
)
View Source
const (
	DatadogHost                                     = "DATADOG_HOST"
	DDAdmissionControllerEnabled                    = "DD_ADMISSION_CONTROLLER_ENABLED"
	DDAdmissionControllerInjectConfig               = "DD_ADMISSION_CONTROLLER_INJECT_CONFIG_ENABLED"
	DDAdmissionControllerInjectConfigMode           = "DD_ADMISSION_CONTROLLER_INJECT_CONFIG_MODE"
	DDAdmissionControllerInjectTags                 = "DD_ADMISSION_CONTROLLER_INJECT_TAGS_ENABLED"
	DDAdmissionControllerLocalServiceName           = "DD_ADMISSION_CONTROLLER_INJECT_CONFIG_LOCAL_SERVICE_NAME"
	DDAdmissionControllerMutateUnlabelled           = "DD_ADMISSION_CONTROLLER_MUTATE_UNLABELLED"
	DDAdmissionControllerServiceName                = "DD_ADMISSION_CONTROLLER_SERVICE_NAME"
	DDAPIKey                                        = "DD_API_KEY"
	DDAPMEnabled                                    = "DD_APM_ENABLED"
	DDAPMNonLocalTraffic                            = "DD_APM_NON_LOCAL_TRAFFIC"
	DDAPMReceiverPort                               = "DD_APM_RECEIVER_PORT"
	DDAPMReceiverSocket                             = "DD_APM_RECEIVER_SOCKET"
	DDAppKey                                        = "DD_APP_KEY"
	DDAuthTokenFilePath                             = "DD_AUTH_TOKEN_FILE_PATH"
	DDClcRunnerEnabled                              = "DD_CLC_RUNNER_ENABLED"
	DDClcRunnerHost                                 = "DD_CLC_RUNNER_HOST"
	DDClcRunnerID                                   = "DD_CLC_RUNNER_ID"
	DDClusterAgentAuthToken                         = "DD_CLUSTER_AGENT_AUTH_TOKEN"
	DDClusterAgentEnabled                           = "DD_CLUSTER_AGENT_ENABLED"
	DDClusterAgentKubeServiceName                   = "DD_CLUSTER_AGENT_KUBERNETES_SERVICE_NAME"
	DDClusterAgentTokenName                         = "DD_CLUSTER_AGENT_TOKEN_NAME"
	DDClusterChecksEnabled                          = "DD_CLUSTER_CHECKS_ENABLED"
	DDClusterName                                   = "DD_CLUSTER_NAME"
	DDCollectKubernetesEvents                       = "DD_COLLECT_KUBERNETES_EVENTS"
	DDComplianceConfigCheckInterval                 = "DD_COMPLIANCE_CONFIG_CHECK_INTERVAL"
	DDComplianceConfigDir                           = "DD_COMPLIANCE_CONFIG_DIR"
	DDComplianceConfigEnabled                       = "DD_COMPLIANCE_CONFIG_ENABLED"
	DDContainerCollectionEnabled                    = "DD_PROCESS_CONFIG_CONTAINER_COLLECTION_ENABLED"
	DDCriSocketPath                                 = "DD_CRI_SOCKET_PATH"
	DDddURL                                         = "DD_DD_URL"
	DDDogstatsdEnabled                              = "DD_USE_DOGSTATSD"
	DDDogstatsdMapperProfiles                       = "DD_DOGSTATSD_MAPPER_PROFILES"
	DDDogstatsdNonLocalTraffic                      = "DD_DOGSTATSD_NON_LOCAL_TRAFFIC"
	DDDogstatsdOriginDetection                      = "DD_DOGSTATSD_ORIGIN_DETECTION"
	DDDogstatsdPort                                 = "DD_DOGSTATSD_PORT"
	DDDogstatsdSocket                               = "DD_DOGSTATSD_SOCKET"
	DDEnableMetadataCollection                      = "DD_ENABLE_METADATA_COLLECTION"
	DDEnableOOMKillEnvVar                           = "DD_SYSTEM_PROBE_CONFIG_ENABLE_OOM_KILL"
	DDEnableTCPQueueLengthEnvVar                    = "DD_SYSTEM_PROBE_CONFIG_ENABLE_TCP_QUEUE_LENGTH"
	DDExternalMetricsProviderAPIKey                 = "DD_EXTERNAL_METRICS_PROVIDER_API_KEY"
	DDExternalMetricsProviderAppKey                 = "DD_EXTERNAL_METRICS_PROVIDER_APP_KEY"
	DDExternalMetricsProviderEndpoint               = "DD_EXTERNAL_METRICS_PROVIDER_ENDPOINT"
	DDExternalMetricsProviderEnabled                = "DD_EXTERNAL_METRICS_PROVIDER_ENABLED"
	DDExternalMetricsProviderPort                   = "DD_EXTERNAL_METRICS_PROVIDER_PORT"
	DDExternalMetricsProviderUseDatadogMetric       = "DD_EXTERNAL_METRICS_PROVIDER_USE_DATADOGMETRIC_CRD"
	DDExternalMetricsProviderWPAController          = "DD_EXTERNAL_METRICS_PROVIDER_WPA_CONTROLLER"
	DDExtraConfigProviders                          = "DD_EXTRA_CONFIG_PROVIDERS"
	DDExtraListeners                                = "DD_EXTRA_LISTENERS"
	DDHealthPort                                    = "DD_HEALTH_PORT"
	DDHostname                                      = "DD_HOSTNAME"
	DDHostRootEnvVar                                = "HOST_ROOT"
	DDIgnoreAutoConf                                = "DD_IGNORE_AUTOCONF"
	DDKubeletCAPath                                 = "DD_KUBELET_CLIENT_CA"
	DDKubeletHost                                   = "DD_KUBERNETES_KUBELET_HOST"
	DDKubeletTLSVerify                              = "DD_KUBELET_TLS_VERIFY"
	DDKubeStateMetricsCoreConfigMap                 = "DD_KUBE_STATE_METRICS_CORE_CONFIGMAP_NAME"
	DDKubeStateMetricsCoreEnabled                   = "DD_KUBE_STATE_METRICS_CORE_ENABLED"
	DDLeaderElection                                = "DD_LEADER_ELECTION"
	DDLeaderLeaseName                               = "DD_LEADER_LEASE_NAME"
	DDLogLevel                                      = "DD_LOG_LEVEL"
	DDLogsConfigContainerCollectAll                 = "DD_LOGS_CONFIG_CONTAINER_COLLECT_ALL"
	DDLogsConfigOpenFilesLimit                      = "DD_LOGS_CONFIG_OPEN_FILES_LIMIT"
	DDLogsContainerCollectUsingFiles                = "DD_LOGS_CONFIG_K8S_CONTAINER_USE_FILE"
	DDLogsEnabled                                   = "DD_LOGS_ENABLED"
	DDNamespaceLabelsAsTags                         = "DD_KUBERNETES_NAMESPACE_LABELS_AS_TAGS"
	DDNodeLabelsAsTags                              = "DD_KUBERNETES_NODE_LABELS_AS_TAGS"
	DDOrchestratorExplorerEnabled                   = "DD_ORCHESTRATOR_EXPLORER_ENABLED"
	DDOrchestratorExplorerExtraTags                 = "DD_ORCHESTRATOR_EXPLORER_EXTRA_TAGS"
	DDOrchestratorExplorerDDUrl                     = "DD_ORCHESTRATOR_EXPLORER_ORCHESTRATOR_DD_URL"
	DDOrchestratorExplorerAdditionalEndpoints       = "DD_ORCHESTRATOR_ADDITIONAL_ENDPOINTS"
	DDOrchestratorExplorerContainerScrubbingEnabled = "DD_ORCHESTRATOR_EXPLORER_CONTAINER_SCRUBBING_ENABLED"
	DDPodAnnotationsAsTags                          = "DD_KUBERNETES_POD_ANNOTATIONS_AS_TAGS"
	DDPodLabelsAsTags                               = "DD_KUBERNETES_POD_LABELS_AS_TAGS"
	DDPPMReceiverSocket                             = "DD_APM_RECEIVER_SOCKET"
	DDProcessCollectionEnabled                      = "DD_PROCESS_CONFIG_PROCESS_COLLECTION_ENABLED"
	DDProcessConfigScrubArgs                        = "DD_PROCESS_CONFIG_SCRUB_ARGS"
	DDProcessConfigStripArgs                        = "DD_PROCESS_CONFIG_STRIP_PROC_ARGUMENTS"
	DDPrometheusScrapeChecks                        = "DD_PROMETHEUS_SCRAPE_CHECKS"
	DDPrometheusScrapeEnabled                       = "DD_PROMETHEUS_SCRAPE_ENABLED"
	DDPrometheusScrapeServiceEndpoints              = "DD_PROMETHEUS_SCRAPE_SERVICE_ENDPOINTS"
	DDRuntimeSecurityConfigEnabled                  = "DD_RUNTIME_SECURITY_CONFIG_ENABLED"
	DDRuntimeSecurityConfigPoliciesDir              = "DD_RUNTIME_SECURITY_CONFIG_POLICIES_DIR"
	DDRuntimeSecurityConfigRemoteTaggerEnabled      = "DD_RUNTIME_SECURITY_CONFIG_REMOTE_TAGGER"
	DDRuntimeSecurityConfigSocket                   = "DD_RUNTIME_SECURITY_CONFIG_SOCKET"
	DDRuntimeSecurityConfigSyscallMonitorEnabled    = "DD_RUNTIME_SECURITY_CONFIG_SYSCALL_MONITOR_ENABLED"
	DDSecretBackendCommand                          = "DD_SECRET_BACKEND_COMMAND"
	DDSite                                          = "DD_SITE"
	DDSystemProbeAgentEnabled                       = "DD_SYSTEM_PROBE_ENABLED"
	DDSystemProbeBPFDebugEnabled                    = DDSystemProbeEnvPrefix + "BPF_DEBUG"
	DDSystemProbeCollectDNSStatsEnabled             = "DD_COLLECT_DNS_STATS"
	DDSystemProbeConntrackEnabled                   = DDSystemProbeEnvPrefix + "ENABLE_CONNTRACK"
	DDSystemProbeDebugPort                          = DDSystemProbeEnvPrefix + "DEBUG_PORT"
	DDSystemProbeEnabled                            = "DD_SYSTEM_PROBE_ENABLED"
	DDSystemProbeEnvPrefix                          = "DD_SYSTEM_PROBE_CONFIG_"
	DDSystemProbeExternal                           = "DD_SYSTEM_PROBE_EXTERNAL"
	DDSystemProbeNPMEnabled                         = "DD_SYSTEM_PROBE_NETWORK_ENABLED"
	DDSystemProbeServiceMonitoringEnabled           = "DD_SYSTEM_PROBE_SERVICE_MONITORING_ENABLED"
	DDSystemProbeSocket                             = "DD_SYSPROBE_SOCKET"
	DDSystemProbeOOMKillEnabled                     = DDSystemProbeEnvPrefix + "ENABLE_OOM_KILL"
	DDSystemProbeTCPQueueLengthEnabled              = DDSystemProbeEnvPrefix + "ENABLE_TCP_QUEUE_LENGTH"
	DDTags                                          = "DD_TAGS"
	DockerHost                                      = "DOCKER_HOST"

	DDOTLPgRPCEndpoint = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_GRPC_ENDPOINT"
	DDOTLPHTTPEndpoint = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_HTTP_ENDPOINT"

	// KubernetesEnvvarName Env var used by the Datadog Agent container entrypoint
	// to add kubelet config provider and listener
	KubernetesEnvVar = "KUBERNETES"

	ClusterChecksConfigProvider = "clusterchecks"
)

Datadog env var names

Variables

This section is empty.

Functions

func GetDefaultLivenessProbe

func GetDefaultLivenessProbe() *corev1.Probe

GetDefaultLivenessProbe creates a all defaulted LivenessProbe

func GetDefaultReadinessProbe

func GetDefaultReadinessProbe() *corev1.Probe

GetDefaultReadinessProbe creates a all defaulted ReadynessProbe

func GetImage

func GetImage(imageSpec *commonv1.AgentImageConfig, registry *string) string

GetImage builds the image string based on ImageConfig and the registry configuration.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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