rancher-partner-charts/charts/dynatrace/dynatrace-oneagent-operator/questions.yml

268 lines
11 KiB
YAML

categories:
- APM
- Monitoring
questions:
- variable: crdApplied
label: "CRD manually applied"
description: "Please make sure you have applied the latest CRD by following the instructions in the description above."
default: ""
required: true
type: enum
options:
- "yes"
group: "Prerequisites"
#################### Agent Configuration (REQUIRED) ####################
- variable: mode
label: "Monitoring mode"
description: "Either fullstack for full monitoring or apm for application only monitoring"
default: "fullstack"
type: enum
group: "Agent Configuration (REQUIRED)"
show_if: "crdApplied=yes"
options:
- "fullstack"
- "apm"
- variable: oneagent.apiUrl
label: "Dynatrace API URL"
description: "Dynatrace API URL including `/api` path at the end"
default: "https://ENVIRONMENTID.live.dynatrace.com/api"
type: string
required: true
group: "Agent Configuration (REQUIRED)"
show_if: "crdApplied=yes"
- variable: secret.apiToken
label: "Dynatrace API token"
description: "Your Dynatrace API token - You can generate this token in your Dynatrace environment"
default: ""
type: string
required: false
group: "Agent Configuration (REQUIRED)"
show_if: "crdApplied=yes"
- variable: secret.paasToken
label: "Dynatrace PaaS token"
description: "Your Dynatrace Platform as a Service token - You can generate this token in your Dynatrace environment"
default: ""
type: string
required: true
group: "Agent Configuration (REQUIRED)"
show_if: "crdApplied=yes"
#################### Use custom limits settings ###################
- variable: use_custom_limits_settings
label: "Use custom limits settings"
description: "Use custom resource limits for the Dynatrace OneAgent"
default: false
type: boolean
group: "Use custom limits settings"
show_if: "crdApplied=yes"
show_subquestion_if: true
subquestions:
- variable: oneagent.resources.requests.cpu
label: "CPU resource request"
description: "Defines the minimum requested CPU by the OneAgent"
type: string
show_if: "crdApplied=yes"
group: "Use custom limits settings"
- variable: oneagent.resources.requests.memory
label: "Memory resource request"
description: "Defines the minimum requested memory by the OneAgent"
type: string
show_if: "crdApplied=yes"
group: "Use custom limits settings"
- variable: oneagent.resources.limits.cpu
label: "CPU resource limits"
description: "Defines the maximum provided CPU for the OneAgent"
type: string
show_if: "crdApplied=yes"
group: "Use custom limits settings"
- variable: oneagent.resources.limits.memory
label: "Memory resource limits"
description: "Defines the maximum provided memory for the OneAgent"
type: string
show_if: "crdApplied=yes"
group: "Use custom limits settings"
#################### Advanced Agent Configuration (OPTIONAL) ####################
- variable: show_advanced_config
label: "Show advanced configuration"
description: "Show advanced configuration options for the Dynatrace OneAgent Operator"
default: false
type: boolean
group: "Advanced Agent Configuration (OPTIONAL)"
show_if: "crdApplied=yes"
show_subquestion_if: true
subquestions:
- variable: operator.image
label: "Custom Operator image location"
description: "The location from where to grab the Dynatrace OneAgent operator image - default is quay.io/dynatrace/dynatrace-oneagent-operator"
default: ""
type: string
show_if: "crdApplied=yes"
group: "Advanced Agent Configuration (OPTIONAL)"
- variable: oneagent.name
label: "OneAgent CustomResource name"
default: "oneagent"
type: string
group: "Advanced Agent Configuration (OPTIONAL)"
show_if: "crdApplied=yes && mode=fullstack"
- variable: oneagent.disableAgentUpdate
label: "Disable automatic OneAgent updates"
description: "Disables automatic restarts of oneagent pods in case a new version is available"
default: false
type: boolean
group: "Advanced Agent Configuration (OPTIONAL)"
show_if: "crdApplied=yes && mode=fullstack"
- variable: oneagent.dnsPolicy
label: "Set custom DNS Policy"
description: "DNS Policy for OneAgent pods. Empty for default (ClusterFirst), more at https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy"
default: ""
type: string
group: "Advanced Agent Configuration (OPTIONAL)"
show_if: "crdApplied=yes && mode=fullstack"
- variable: oneagent.enableIstio
label: "Enable istio"
description: "When enabled, and if Istio is installed on the Kubernetes environment, then the Operator will create the corresponding VirtualService and ServiceEntries objects to allow access to the Dynatrace cluster from the agent."
default: false
type: boolean
show_if: "crdApplied=yes"
group: "Advanced Agent Configuration (OPTIONAL)"
- variable: oneagent.image
label: "Custom OneAgent image location"
description: "The location from where to grab the Dynatrace OneAgent image - default for Kubernetes is docker.io/dynatrace/oneagent"
default: ""
type: string
group: "Advanced Agent Configuration (OPTIONAL)"
show_if: "crdApplied=yes && mode=fullstack"
- variable: oneagent.skipCertCheck
label: "Skip certificate check"
description: "Disable certificate validation checks for installer download and API communication"
default: false
type: boolean
show_if: "crdApplied=yes"
group: "Advanced Agent Configuration (OPTIONAL)"
- variable: oneagent.priorityClassName
label: "Assign priority class to OneAgent pods"
description: "Priority class to assign to OneAgent pods, more at https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/"
default: ""
type: string
group: "Advanced Agent Configuration (OPTIONAL)"
show_if: "crdApplied=yes && mode=fullstack"
- variable: oneagent.proxy
label: "Define a proxy"
description: "Configures a proxy for the Agent, AgentDownload and the Operator. Provide the proxy here"
default: ""
type: string
show_if: "crdApplied=yes"
group: "Advanced Agent Configuration (OPTIONAL)"
- variable: oneagent.trustedCAs
label: "Add custom CA certificates"
description: "Adds the provided CA certificates to the Operator and the OneAgent. Provide your custom certificates here. If this is not set the default embedded certificates on the images will be used"
default: ""
type: multiline
show_if: "crdApplied=yes"
group: "Advanced Agent Configuration (OPTIONAL)"
- variable: oneagent.waitReadySeconds
label: "Wait seconds until ready"
description: "Define the time to wait until OneAgent pod is ready after update - defaults to 300s"
default: ""
type: int
group: "Advanced Agent Configuration (OPTIONAL)"
show_if: "crdApplied=yes && mode=fullstack"
- variable: oneagent.args
label: "Arguments to OneAgent installer"
description: "Defines additional arguments which get passed to the OneAgent installer - Please edit as Yaml for the best experience. The expected format is YAML and not a string"
default: ""
type: string
group: "Advanced Agent Configuration (OPTIONAL)"
show_if: "crdApplied=yes && mode=fullstack"
- variable: oneagent.env
label: "Environment variables for OneAgent"
description: "Defines additional environment variables which get passed to the OneAgent - Please edit as Yaml for the best experience"
type: string
group: "Advanced Agent Configuration (OPTIONAL)"
show_if: "crdApplied=yes && mode=fullstack"
- variable: oneagent.nodeSelector
label: "Node selector to control the selection of nodes"
description: "Defines a NodeSelector to customize to which nodes the OneAgent will be rolled out - Please edit as Yaml for the best experience"
type: string
group: "Advanced Agent Configuration (OPTIONAL)"
show_if: "crdApplied=yes && mode=fullstack"
- variable: oneagent.labels
label: "Custom labels for the OneAgent pods"
description: "Defines labels for OneAgent pods to structure workloads as desired - Please edit as Yaml for the best experience"
type: string
group: "Advanced Agent Configuration (OPTIONAL)"
show_if: "crdApplied=yes && mode=fullstack"
- variable: oneagent.tolerations
label: "Custom tolerations for the OneAgent"
description: "Defines custom tolerations to the OneAgent - Please edit as Yaml for the best experience - see https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/"
default: ""
type: string
group: "Advanced Agent Configuration (OPTIONAL)"
show_if: "crdApplied=yes && mode=fullstack"
- variable: oneagent.networkZone
label: "Network zone"
description: "Configures a network zone for your OneAgents"
default: ""
type: string
show_if: "crdApplied=yes"
group: "Advanced Agent Configuration (OPTIONAL)"
- variable: oneagent.useUnprivilegedMode
label: "Early Adopter: run unprivileged"
description: "Early Adopter: support full-stack OneAgent running on unprivileged mode"
default: true
type: boolean
group: "Advanced Agent Configuration (OPTIONAL)"
show_if: "crdApplied=yes && mode=fullstack"
- variable: oneagent.useImmutableImage
label: "Use immutable OneAgent image"
description: "If set the immutable OneAgent image will be used"
default: false
type: boolean
show_if: "crdApplied=yes"
group: "Advanced Agent Configuration (OPTIONAL)"
- variable: oneagent.agentVersion
label: "Agent version for immutable image"
description: "Defines the agent version used when immutable image is used - defaults to latest"
default: ""
type: string
show_if: "crdApplied=yes"
group: "Advanced Agent Configuration (OPTIONAL)"
- variable: oneagent.customPullSecret
label: "Custom PullSecret for the immutable image"
description: "Defines a custom pull secret for the immutable image in case you have your own registry"
default: ""
type: string
group: "Advanced Agent Configuration (OPTIONAL)"
show_if: "crdApplied=yes && mode=fullstack"