Skip to content

Commit

Permalink
Update CRD link URLs (#6273)
Browse files Browse the repository at this point in the history
* Update CRD link URL

* Remove reference to Tanka
  • Loading branch information
clayton-cornell authored Jan 30, 2024
1 parent 74983a5 commit 4ef2f17
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cmd/grafana-agent-operator/DEVELOPERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ running.
### Apply the CRDs

Generated CRDs used by the operator can be found in [the Production
folder](../../production/operator/crds). Deploy them from the root of the
folder](../../operations/agent-static-operator/crds). Deploy them from the root of the
repository with:

```
Expand Down
4 changes: 2 additions & 2 deletions docs/sources/operator/deploy-agent-operator-resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ To deploy the `GrafanaAgent` resource:

- Specifies an Agent image version.
- Specifies `MetricsInstance` and `LogsInstance` selectors. These search for `MetricsInstances` and `LogsInstances` in the same namespace with labels matching `agent: grafana-agent-metrics` and `agent: grafana-agent-logs`, respectively.
- Sets a `cluster: cloud` label for all metrics shipped to your Prometheus-compatible endpoint. Change this label to your cluster name. To search for `MetricsInstances` or `LogsInstances` in a *different* namespace, use the `instanceNamespaceSelector` field. To learn more about this field, see the `GrafanaAgent` [CRD specification](https://github.com/grafana/agent/blob/main/production/operator/crds/monitoring.grafana.com_grafanaagents.yaml).
- Sets a `cluster: cloud` label for all metrics shipped to your Prometheus-compatible endpoint. Change this label to your cluster name. To search for `MetricsInstances` or `LogsInstances` in a *different* namespace, use the `instanceNamespaceSelector` field. To learn more about this field, see the `GrafanaAgent` [CRD specification](https://github.com/grafana/agent/tree/main/operations/agent-static-operator/crds/monitoring.grafana.com_grafanaagents.yaml).

1. Customize the manifests as needed and roll them out to your cluster using `kubectl apply -f` followed by the filename.

Expand Down Expand Up @@ -403,7 +403,7 @@ To deploy the `LogsInstance` resource into your cluster:
matchLabels: {}
```

This example tails container logs for all Pods in the `default` namespace. You can restrict the set of matched Pods by using the `matchLabels` selector. You can also set additional `pipelineStages` and create `relabelings` to add or modify log line labels. To learn more about the `PodLogs` specification and available resource fields, see the [PodLogs CRD](https://github.com/grafana/agent/blob/main/production/operator/crds/monitoring.grafana.com_podlogs.yaml).
This example tails container logs for all Pods in the `default` namespace. You can restrict the set of matched Pods by using the `matchLabels` selector. You can also set additional `pipelineStages` and create `relabelings` to add or modify log line labels. To learn more about the `PodLogs` specification and available resource fields, see the [PodLogs CRD](https://github.com/grafana/agent/tree/main/operations/agent-static-operator/crds/monitoring.grafana.com_podlogs.yaml).

The above `PodLogs` resource adds the following labels to log lines:

Expand Down
2 changes: 1 addition & 1 deletion docs/sources/operator/helm-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ To deploy Agent Operator with Helm, make sure that you have the following:
## Install the Agent Operator Helm Chart

In this section, you'll install the [grafana-agent-operator Helm chart](https://github.com/grafana/helm-charts/tree/main/charts/agent-operator) into your Kubernetes cluster. This will install the latest version of Agent Operator and its [Custom Resource Definitions](https://github.com/grafana/agent/tree/main/production/operator/crds) (CRDs). The chart configures Operator to maintain a Service that lets you scrape kubelets using a `ServiceMonitor`.
In this section, you'll install the [grafana-agent-operator Helm chart](https://github.com/grafana/helm-charts/tree/main/charts/agent-operator) into your Kubernetes cluster. This will install the latest version of Agent Operator and its [Custom Resource Definitions](https://github.com/grafana/agent/tree/main/operations/agent-static-operator/crds) (CRDs). The chart configures Operator to maintain a Service that lets you scrape kubelets using a `ServiceMonitor`.

To install the Agent Operator Helm chart:

Expand Down
4 changes: 0 additions & 4 deletions docs/sources/static/set-up/install/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ Installing Grafana Agent on other operating systems is possible, but is not reco

Use the Grafana Agent [Kubernetes configuration](/docs/grafana-cloud/monitor-infrastructure/kubernetes-monitoring/configuration/) or follow instructions for installing the Grafana Agent in the [Walkthrough](/docs/grafana-cloud/monitor-infrastructure/integrations/get-started/).

## Tanka

For more information, refer to the [Tanka](https://tanka.dev) configurations in the Grafana Agent [production](https://github.com/grafana/agent/tree/main/production/tanka/grafana-agent) directory on GitHub.

## Data collection

By default, Grafana Agent sends anonymous usage information to Grafana Labs. Refer to [data collection][] for more information
Expand Down

0 comments on commit 4ef2f17

Please sign in to comment.