Skip to content

Commit

Permalink
Update datadog tuto + daemonset with karpenter
Browse files Browse the repository at this point in the history
  • Loading branch information
jul-dan committed Nov 27, 2024
1 parent 91ab4ec commit 7ccc2c3
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 20 deletions.
16 changes: 6 additions & 10 deletions website/guides/advanced/deploy-daemonset-with-karpenter.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
last_modified_on: "2024-08-09"
last_modified_on: "2024-11-27"
$schema: "/.meta/.schemas/guides.json"
title: Deploy a DaemonSet in a Karpenter context
description: How to ensure your DaemonSet is well deployed when you are using Karpenter.
Expand Down Expand Up @@ -51,28 +51,24 @@ This ensures that critical workloads receive the necessary resources to run effe

### Deploy a new Priority Class using Helm

I created a [simple repository](https://github.com/baalooos/karpenter-daemonset-priority-class) you can clone to follow along.
I created a [simple repository](https://github.com/Qovery/qovery-charts-examples/tree/main/karpenter-daemonset-priority-class-main) you can clone to follow along.

Create the karpenter-priority-class service in the Qovery environment where you want to deploy your DaemonSet by following [this documentation][docs.using-qovery.configuration.helm] and these values:

* General:
* Service name: `karpenter-priority-class`
* Source:
* Helm source: `Git Provider`
* Git repository: `Github` (Change if you are not using GitHub)
* Repository: `Baalooos/karpenter-daemonset-priority-class` (Replace by the name of your repository)
* Git account: `Public repository` (Change if you are not using GitHub)
* Repository: `https://github.com/Qovery/qovery-charts-examples.git` (Replace by the name of your repository)
* Branch: `main`
* Root application path: `/`
* Root application path: `/karpenter-daemonset-priority-class-main`
* Allow cluster-wide resources :heavy_check_mark:

Click on Continue

* Values override as file:
* File source: `Git repository`
* Git repository: `Github` (Change if you are not using GitHub)
* Repository: `Baalooos/karpenter-daemonset-priority-class` (Replace by the name of your repository)
* Branch: `main`
* Override path: `/values.yaml`
* File source: `None`

Then, you can:

Expand Down
14 changes: 5 additions & 9 deletions website/guides/advanced/deploy-daemonset-with-karpenter.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -42,28 +42,24 @@ This ensures that critical workloads receive the necessary resources to run effe

### Deploy a new Priority Class using Helm

I created a [simple repository](https://github.com/baalooos/karpenter-daemonset-priority-class) you can clone to follow along.
I created a [simple repository](https://github.com/Qovery/qovery-charts-examples/tree/main/karpenter-daemonset-priority-class-main) you can clone to follow along.

Create the karpenter-priority-class service in the Qovery environment where you want to deploy your DaemonSet by following [this documentation][docs.using-qovery.configuration.helm] and these values:

* General:
* Service name: `karpenter-priority-class`
* Source:
* Helm source: `Git Provider`
* Git repository: `Github` (Change if you are not using GitHub)
* Repository: `Baalooos/karpenter-daemonset-priority-class` (Replace by the name of your repository)
* Git account: `Public repository` (Change if you are not using GitHub)
* Repository: `https://github.com/Qovery/qovery-charts-examples.git` (Replace by the name of your repository)
* Branch: `main`
* Root application path: `/`
* Root application path: `/karpenter-daemonset-priority-class-main`
* Allow cluster-wide resources :heavy_check_mark:

Click on Continue

* Values override as file:
* File source: `Git repository`
* Git repository: `Github` (Change if you are not using GitHub)
* Repository: `Baalooos/karpenter-daemonset-priority-class` (Replace by the name of your repository)
* Branch: `main`
* Override path: `/values.yaml`
* File source: `None`

Then, you can:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
last_modified_on: "2024-09-09"
last_modified_on: "2024-11-27"
$schema: "/.meta/.schemas/guides.json"
title: Kubernetes observability and monitoring with Datadog
description: How to integrate Datadog with Kubernetes on Qovery.
Expand Down Expand Up @@ -126,6 +126,13 @@ agents:
- fargate
```
<Alert type="warning">
There is a [known issue](https://github.com/kubernetes-sigs/karpenter/issues/731) with Karpenter and DaemonSets when scaling nodes. A way to resolve this problem is to use a Priority Class and attach it to the DaemonSet we are creating.
Check this ([guide][guides.advanced.deploy-daemonset-with-karpenter]) for more information.
</Alert>
</TabItem>
</Tabs>
Expand Down Expand Up @@ -201,3 +208,4 @@ You now have Datadog agent running on your Qovery cluster. You can check their `
[docs.using-qovery.configuration.environment-variable]: /docs/using-qovery/configuration/environment-variable/
[docs.using-qovery.configuration.helm]: /docs/using-qovery/configuration/helm/
[docs.using-qovery.configuration.organization.helm-repository]: /docs/using-qovery/configuration/organization/helm-repository/
[guides.advanced.deploy-daemonset-with-karpenter]: /guides/advanced/deploy-daemonset-with-karpenter/
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,13 @@ agents:
- fargate
```

<Alert type="warning">

There is a [known issue](https://github.com/kubernetes-sigs/karpenter/issues/731) with Karpenter and DaemonSets when scaling nodes. A way to resolve this problem is to use a Priority Class and attach it to the DaemonSet we are creating.
Check this ([guide][guides.advanced.deploy-daemonset-with-karpenter]) for more information.

</Alert>

</TabItem>
</Tabs>

Expand Down

0 comments on commit 7ccc2c3

Please sign in to comment.