-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[CONTINT-4938] Control plane monitoring with Helm on EKS/OpenShift #33166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -319,15 +319,19 @@ | |||||
| ## Kubernetes on Amazon EKS {#EKS} | ||||||
| ### Using the Operator (v1.18.0+) | ||||||
| ### Recommended Method | ||||||
| <div class="alert alert-info">This feature is in Preview.</div> | ||||||
| The Datadog Operator can automatically configure monitoring for Kubernetes control plane components including the API Server, etcd, Controller Manager, and Scheduler. | ||||||
| Datadog supports monitoring Kubernetes Control Plane components, including the API Server, Controller Manager, and Scheduler. | ||||||
| {{< tabs >}} | ||||||
| {{% tab "Datadog Operator" %}} | ||||||
| #### Prerequisites | ||||||
| 1. Datadog Operator v1.18.0+ | ||||||
| 1. Datadog Agent v7.69+ | ||||||
| 1. Datadog Operator >= `v1.18.0` | ||||||
| 1. Datadog Agent >= `v7.69` | ||||||
|
|
||||||
| #### General setup | ||||||
|
|
||||||
|
|
@@ -347,6 +351,32 @@ | |||||
|
|
||||||
| Since this feature is enabled by default, you can deploy a minimal DatadogAgent spec. | ||||||
|
|
||||||
| {{% /tab %}} | ||||||
|
|
||||||
| {{% tab "Helm" %}} | ||||||
|
|
||||||
| #### Prerequisites | ||||||
|
|
||||||
| 1. Helm chart version >= `3.150.0` | ||||||
| 1. Datadog Agent >= `v7.69` | ||||||
|
|
||||||
| #### General setup | ||||||
|
|
||||||
| Enable control plane monitoring using the `providers.eks.controlPlaneMonitoring` option: | ||||||
|
|
||||||
| {{< code-block lang="yaml" filename="datadog-values.yaml" >}} | ||||||
| datadog: | ||||||
| apiKey: <DATADOG_API_KEY> | ||||||
| appKey: <DATADOG_APP_KEY> | ||||||
| clusterName: <CLUSTER_NAME> | ||||||
| providers: | ||||||
| eks: | ||||||
| controlPlaneMonitoring: true | ||||||
| {{< /code-block >}} | ||||||
|
|
||||||
| {{% /tab %}} | ||||||
| {{< /tabs >}} | ||||||
|
|
||||||
| #### Validation | ||||||
| Verify that checks are running: | ||||||
| ```shell | ||||||
|
|
@@ -423,16 +453,17 @@ | |||||
|
|
||||||
| ## Kubernetes on OpenShift 4 {#OpenShift4} | ||||||
|
|
||||||
| ### Using the Operator (v1.18.0+) | ||||||
| <div class="alert alert-info">This feature is in Preview.</div> | ||||||
|
|
||||||
| The Datadog Operator can automatically configure monitoring for Kubernetes control plane components including the API Server, etcd, Controller Manager, and Scheduler. | ||||||
| Datadog supports monitoring Kubernetes Control Plane components, including the API Server, etcd, Controller Manager, and Scheduler. | ||||||
|
|
||||||
| #### Prerequisites | ||||||
| {{< tabs >}} | ||||||
| {{% tab "Datadog Operator" %}} | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just noting there are a couple of broken link on this tab:
For links that are on a tab, the link reference must be contained within the tab. For example, for |
||||||
|
|
||||||
| 1. Datadog Operator v1.18.0+ | ||||||
| 1. Datadog Agent v7.69+ | ||||||
| #### Prerequisites | ||||||
|
|
||||||
| 1. Datadog Operator >= `v1.18.0` | ||||||
| 1. Datadog Agent >= `v7.69` | ||||||
|
|
||||||
| **Note**: `etcd` is not supported on versions 4.0-4.13. | ||||||
|
|
||||||
|
|
@@ -472,6 +503,39 @@ | |||||
| oc apply -f - | ||||||
| ``` | ||||||
|
|
||||||
| {{% /tab %}} | ||||||
| {{% tab "Helm" %}} | ||||||
|
|
||||||
| #### Prerequisites | ||||||
|
|
||||||
| 1. Helm chart version >= `3.150.0` | ||||||
| 1. Datadog Agent >= `v7.69` | ||||||
|
|
||||||
| **Note**: `etcd` is not supported on versions 4.0-4.13. | ||||||
|
|
||||||
| #### General setup | ||||||
|
|
||||||
| Enable control plane monitoring using the `providers.openshift.controlPlaneMonitoring` option: | ||||||
|
|
||||||
| {{< code-block lang="yaml" filename="datadog-values.yaml" >}} | ||||||
| datadog: | ||||||
| apiKey: <DATADOG_API_KEY> | ||||||
| appKey: <DATADOG_APP_KEY> | ||||||
| clusterName: <CLUSTER_NAME> | ||||||
| providers: | ||||||
| openshift: | ||||||
| controlPlaneMonitoring: true | ||||||
| {{< /code-block >}} | ||||||
|
|
||||||
| For OpenShift 4.14 and higher, etcd monitoring requires copying certificates. To copy them into the same namespace the Datadog Agent is running in: | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| ```shell | ||||||
| oc get secret etcd-metric-client -n openshift-etcd-operator -o yaml | sed 's/namespace: openshift-etcd-operator/namespace: <datadog agent namespace>/' | oc create -f - | ||||||
| ``` | ||||||
|
|
||||||
| {{% /tab %}} | ||||||
| {{< /tabs >}} | ||||||
|
|
||||||
| #### Validation | ||||||
| Verify that checks are running: | ||||||
| ```shell | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.