pdc-agent

by Grafana

Helm chartv0.2.0App 0.0.57

PDC agent is an agent for connecting to Grafana Private Data source Connect

About this chart

pdc-agent

PDC agent is an agent for connecting to Grafana Private Data source Connect

Homepage: https://grafana.com/docs/grafana-cloud/connect-externally-hosted/private-data-source-connect/

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}not required, but left in as a choice
annotationsobject{}Annotations to add the Deployment resource
clusterstring""The cluster where your Hosted Grafana stack is running
clusterSecretKeystring"cluster"Defines the key used to lookup the cluster value in the secret defined by clusterSecretName.
clusterSecretNamestring""If set, CLUSTER is read from this secret instead of the cluster value above
debugboolfalseEnable debug logging for the agent. Useful for seeing SSH debug logs
extraArgslist[]
extraEnvlist[]Extra environment variables to set on the pdc-agent container. Useful for configuring HTTP/HTTPS proxies or other runtime settings.
fullnameOverridestring""
hostedGrafanaIdstring""The numeric ID of your Hosted Grafana stack
hostedGrafanaIdSecretKeystring"hosted-grafana-id"Defines the key used to lookup the hosted Grafana ID value in the secret defined by hostedGrafanaIdSecretName.
hostedGrafanaIdSecretNamestring""If set, HOSTED_GRAFANA_ID is read from this secret instead of the hostedGrafanaId value above
image.pullPolicystring"IfNotPresent"
image.repositorystring"grafana/pdc-agent"
image.tagstring""
imagePullSecretslist[]
insecureTokenValuestring""insecureTokenValue is used to set the token value directly in the deployment.yaml file. This is useful for testing purposes.
labelsobject{}Labels to add to the Deployment resource
metricsPortint8090The port where metrics are served from the pdc agent
nameOverridestring""
nodeSelectorobject{}not required, but left in as a choice
podAnnotationsobject{}Annotations to add to the Pod resource For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
podLabelsobject{}Labels to add to the Pod resource For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podSecurityContext.fsGroupint30000
podSecurityContext.runAsGroupint30000
podSecurityContext.runAsUserint30000
replicaCountint3This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
resources.requests.cpustring"100m"CPU request for the container. There is no point setting the CPU higher than 1, because openssh is single threaded
resources.requests.memorystring"256Mi"Memory request for the container.
securityContext.allowPrivilegeEscalationboolfalse
securityContext.capabilities.drop[0]string"ALL"
securityContext.privilegedboolfalse
securityContext.readOnlyRootFilesystemboolfalseEnable running in a read-only root filesystem.
securityContext.runAsNonRootbooltrue
serviceAccount.annotationsobject{}Annotations applied to created service account
serviceAccount.automountServiceAccountTokenboolfalseAutomount API credentials for the Service Account. Disabled by default as the agent does not need Kubernetes API access
serviceAccount.createboolfalseToggle to create ServiceAccount
serviceAccount.labelsobject{}Labels applied to created service account
serviceAccount.namestring"pdc-agent"Service account name
tokenSecretKeystring"token"tokenSecretKey Defines the key that is used to lookup the token value in the secret defined by tokenSecretName.
tokenSecretNamestring""tokenSecretName Expects a secret which contains the Access Policy token you generated. See tokenSecretKey for the key name under which the value is expected.
tolerationslist[]not required, but left in as a choice

Autogenerated from chart metadata using helm-docs v1.8.1

Deploy pdc-agent with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has pdc-agent on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartpdc-agent is pinned at v0.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply