Skip to content

Sync with Grafana Agent Kubernetes Quickstart - #12

Closed
flokli wants to merge 5 commits into
mainfrom
grafana-agent-bare
Closed

Sync with Grafana Agent Kubernetes Quickstart#12
flokli wants to merge 5 commits into
mainfrom
grafana-agent-bare

Conversation

@flokli

@flokli flokli commented Jul 23, 2021

Copy link
Copy Markdown
Contributor

grafana-cold-storage/agent#749 removed
production/kubernetes/agent.yaml, and switched to
production/kubernetes/agent-bare.yaml, which describes a single
Deployment, instead of the previous Deployment and DaemonSet.

The individual kube-state-metrics and node-exporter scrape_configs are
gone - so we don't need these variables anymore.

The repo doesn't contain the ConfigMap contents anymore - these moved to
https://grafana.com/docs/grafana-cloud/quickstart/agent-k8s/k8s_agent_metrics.

Contrary to the external_labels cluster label added there, we keep
our more powerful external_labels map, which of course can contain a
"cluster" key.

In addiiton to this, some file renames, and a move of the basic_auth data
into the new block - like the Grafana Agent Logs Kubernetes Quickstart suggests.

Fixes #11.

@flokli
flokli requested a review from zimbatm July 23, 2021 14:29
@flokli
flokli force-pushed the grafana-agent-bare branch from 6633310 to da32f37 Compare July 23, 2021 14:35
flokli added 3 commits July 23, 2021 16:44
grafana-cold-storage/agent#749 removed
production/kubernetes/agent.yaml, and switched to
production/kubernetes/agent-bare.yaml, which describes a single
Deployment, instead of the previous Deployment and DaemonSet.

The individual kube-state-metrics and node-exporter scrape_configs are
gone - so we don't need to interpolate them in the config anymore.

We still need to ask for the namespace for node-exporter, as this module
still deploys node-exporter.

The repo doesn't contain the ConfigMap contents anymore - these moved to
https://grafana.com/docs/grafana-cloud/quickstart/agent-k8s/k8s_agent_metrics.

Contrary to the `external_labels` `cluster` label added there, we keep
our more powerful `external_labels` map, which of course can contain a
"cluster" key.
@flokli
flokli force-pushed the grafana-agent-bare branch from da32f37 to c157519 Compare July 23, 2021 14:44
@flokli

flokli commented Aug 5, 2021

Copy link
Copy Markdown
Contributor Author

I don't think using agent-bare.yaml is the way forward, but their operator.

@flokli flokli closed this Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sync configs with upstream

1 participant