Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .buildkite/steps/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ helm upgrade agent-stack-k8s "${helm_repo_pecr}/agent-stack-k8s" \
--set agentToken="${BUILDKITE_AGENT_TOKEN}" \
--set config.image="${agent_image}" \
--set config.debug=true \
--set config.profiler-address=localhost:6060
--set config.profiler-address=localhost:6060 \
--set monitoring.podMonitor.deploy=true \
--set monitoring.deployGrafanaDashboard=true
8 changes: 4 additions & 4 deletions charts/agent-stack-k8s/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@
},
"deployGrafanaDashboard": {
"type": "boolean",
"default": true,
"title": "When enabled, installs a Grafana dashboard definition using a ConfigMap"
"default": false,
"title": "When enabled, installs a Grafana dashboard definition (as a ConfigMap)"
},
"podMonitor": {
"type": "object",
"title": "PodMonitor resource properties",
"properties": {
"deploy": {
"type": "boolean",
"default": true,
"title": "When enabled, installs a PodMonitor resource (https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.PodMonitor) configured to scrape the controller pod metrics. Note this requires the Prometheus port on the controller to be enabled (see config.prometheus-port)."
"default": false,
"title": "When enabled, installs a PodMonitor resource (https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.PodMonitor) configured to scrape the controller pod metrics. Note this requires the Prometheus port on the controller to be enabled (see config.prometheus-port). Ensure that the Prometheus Operator CRDs are installed before enabling this option."
},
"scrapeInterval": {
"type": "string",
Expand Down
4 changes: 2 additions & 2 deletions charts/agent-stack-k8s/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ secretsMetadata: {}
serviceAccountMetadata: {}

monitoring:
deployGrafanaDashboard: true
deployGrafanaDashboard: false
podMonitor:
deploy: true
deploy: false