Skip to content

Commit ec761ca

Browse files
committed
Merge branch 'ckelner/op-k8s-probes' into arun.pidugu/op-k8s-probes
2 parents d60cd03 + 27b4ec9 commit ec761ca

File tree

4 files changed

+38
-13
lines changed

4 files changed

+38
-13
lines changed

charts/observability-pipelines-worker/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 2.7.1
4+
5+
* Obs Pipelines: Enable API, add liveness and readiness probes ([#2003](https://github.com/DataDog/helm-charts/pull/2003)).
6+
37
## 2.7.0
48

59
- Official image `2.7.0`

charts/observability-pipelines-worker/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: observability-pipelines-worker
3-
version: "2.7.0"
3+
version: "2.7.1"
44
description: Observability Pipelines Worker
55
type: application
66
keywords:
@@ -13,7 +13,7 @@ icon: https://datadog-live.imgix.net/img/dd_logo_70x75.png
1313
maintainers:
1414
- name: Datadog
1515
16-
appVersion: "2.7.0"
16+
appVersion: "2.7.1"
1717
annotations:
1818
artifacthub.io/links: |
1919
- name: Chart Source

charts/observability-pipelines-worker/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Observability Pipelines Worker
22

3-
![Version: 2.7.0](https://img.shields.io/badge/Version-2.7.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.7.0](https://img.shields.io/badge/AppVersion-2.7.0-informational?style=flat-square)
3+
![Version: 2.7.1](https://img.shields.io/badge/Version-2.7.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.7.1](https://img.shields.io/badge/AppVersion-2.7.1-informational?style=flat-square)
44

55
## How to use Datadog Helm repository
66

@@ -94,9 +94,9 @@ The command removes all the Kubernetes components associated with the chart and
9494
| datadog.dataDir | string | `"/var/lib/observability-pipelines-worker"` | The data directory for OPW to store runtime data in. |
9595
| datadog.pipelineId | string | `nil` | Specify your Datadog Observability Pipelines pipeline ID |
9696
| datadog.site | string | `"datadoghq.com"` | The [site](https://docs.datadoghq.com/getting_started/site/) of the Datadog intake to send data to. |
97-
| datadog.workerAPI.address | string | `"127.0.0.1:8686"` | Local address to bind the Worker's API to. |
98-
| datadog.workerAPI.enabled | bool | `false` | Whether to enable the Worker's API. |
99-
| datadog.workerAPI.playground | bool | `true` | Whether to enable the Worker's API GraphQL playground. |
97+
| datadog.workerAPI.address | string | `"0.0.0.0:8686"` | Local address to bind the Worker's API to. if you change this port, you'll need to update the livenessProbe and readinessProbe |
98+
| datadog.workerAPI.enabled | bool | `true` | Whether to enable the Worker's API. |
99+
| datadog.workerAPI.playground | bool | `false` | Whether to enable the Worker's API GraphQL playground. |
100100
| dnsConfig | object | `{}` | Specify the [dnsConfig](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config). |
101101
| dnsPolicy | string | `"ClusterFirst"` | Specify the [dnsPolicy](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy). |
102102
| env | list | `[]` | Define environment variables. |
@@ -118,7 +118,7 @@ The command removes all the Kubernetes components associated with the chart and
118118
| ingress.tls | list | `[]` | Configure TLS for the Ingress. |
119119
| initContainers | list | `[]` | Specify initContainers to be added. |
120120
| lifecycle | object | `{}` | Specify lifecycle hooks for Containers. |
121-
| livenessProbe | object | `{}` | Specify the livenessProbe [configuration](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes). |
121+
| livenessProbe | object | `{"failureThreshold":5,"httpGet":{"path":"/health","port":8686,"scheme":"HTTP"},"initialDelaySeconds":15,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":15}` | Specify the livenessProbe [configuration](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes). |
122122
| nameOverride | string | `""` | Override the name of the app. |
123123
| nodeSelector | object | `{}` | Configure [nodeSelector](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector). |
124124
| persistence.accessModes | list | `["ReadWriteOnce"]` | Specify the accessModes for PersistentVolumeClaims. |
@@ -137,7 +137,7 @@ The command removes all the Kubernetes components associated with the chart and
137137
| podManagementPolicy | string | `"OrderedReady"` | Specify the [podManagementPolicy](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies). |
138138
| podPriorityClassName | string | `""` | Set the [priorityClassName](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#priorityclass). |
139139
| podSecurityContext | object | `{}` | Allows you to overwrite the default [PodSecurityContext](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/). |
140-
| readinessProbe | object | `{}` | Specify the readinessProbe [configuration](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes). |
140+
| readinessProbe | object | `{"failureThreshold":3,"httpGet":{"path":"/health","port":8686,"scheme":"HTTP"},"initialDelaySeconds":15,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":15}` | Specify the readinessProbe [configuration](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes). |
141141
| replicas | int | `1` | Specify the number of replicas to create. |
142142
| resources | object | `{}` | Specify resource requests and limits. |
143143
| securityContext | object | `{}` | Specify securityContext for Containers. |

charts/observability-pipelines-worker/values.yaml

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@ datadog:
3232
dataDir: "/var/lib/observability-pipelines-worker"
3333
workerAPI:
3434
# datadog.workerAPI.enabled -- Whether to enable the Worker's API.
35-
enabled: false
35+
enabled: true
3636
# datadog.workerAPI.playground -- Whether to enable the Worker's API GraphQL playground.
37-
playground: true
37+
playground: false
3838
# datadog.workerAPI.address -- Local address to bind the Worker's API to.
39-
address: "127.0.0.1:8686"
39+
# if you change this port, you'll need to update the livenessProbe and readinessProbe
40+
address: "0.0.0.0:8686"
4041

4142
image:
4243
# image.name -- Specify the image name to use (relative to `image.repository`).
@@ -301,8 +302,28 @@ dnsConfig: {}
301302

302303
# livenessProbe -- Specify the livenessProbe
303304
# [configuration](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes).
304-
livenessProbe: {}
305+
livenessProbe:
306+
failureThreshold: 5
307+
httpGet:
308+
path: /health
309+
# if you modify datadog.workerAPI.address to a different port you'll need to update here as well
310+
port: 8686
311+
scheme: HTTP
312+
initialDelaySeconds: 15
313+
timeoutSeconds: 15
314+
periodSeconds: 10
315+
successThreshold: 1
305316

306317
# readinessProbe -- Specify the readinessProbe
307318
# [configuration](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes).
308-
readinessProbe: {}
319+
readinessProbe:
320+
failureThreshold: 3
321+
httpGet:
322+
path: /health
323+
# if you modify datadog.workerAPI.address to a different port you'll need to update here as well
324+
port: 8686
325+
scheme: HTTP
326+
initialDelaySeconds: 15
327+
timeoutSeconds: 15
328+
periodSeconds: 10
329+
successThreshold: 1

0 commit comments

Comments
 (0)