[stable/sysdig] Upgrade to latest Sysdig Agent (9.9.1) (#22083)

* [stable/sysdig] Upgrade to latest Sysdig Agent (9.9.1)

Add the nodeSelector property to daemonset to schedule only on certain
nodes.

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* Add a livenessProbe

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
This commit is contained in:
Néstor Salceda
2020-04-23 09:17:11 -07:00
committed by GitHub
parent 6b5d8f6937
commit cae81df502
5 changed files with 23 additions and 6 deletions
+8
View File
@@ -3,6 +3,14 @@
This file documents all notable changes to Sysdig Helm Chart. The release
numbering uses [semantic versioning](http://semver.org).
## v1.7.12
### Minor changes
* Use the latest image from Agent (9.9.1) by default.
* Use kubernetes.io/arch label on daemonSet to schedule pods only on amd64 nodes.
* Add a livenessProbe to daemonSet.
## v1.7.11
### Minor changes
+2 -2
View File
@@ -1,7 +1,7 @@
apiVersion: v1
name: sysdig
version: 1.7.11
appVersion: 9.9.0
version: 1.7.12
appVersion: 9.9.1
description: Sysdig Monitor and Secure agent
keywords:
- monitoring
+2 -1
View File
@@ -41,7 +41,7 @@ The following table lists the configurable parameters of the Sysdig chart and th
| --- | --- | --- |
| `image.registry` | Sysdig Agent image registry | `docker.io` |
| `image.repository` | The image repository to pull from | `sysdig/agent` |
| `image.tag` | The image tag to pull | `9.9.0` |
| `image.tag` | The image tag to pull | `9.9.1` |
| `image.pullPolicy` | The Image pull policy | `IfNotPresent` |
| `image.pullSecrets` | Image pull secrets | `nil` |
| `resources.requests.cpu` | CPU requested for being run in a node | `600m` |
@@ -53,6 +53,7 @@ The following table lists the configurable parameters of the Sysdig chart and th
| `serviceAccount.name` | Use this value as serviceAccountName | ` ` |
| `daemonset.updateStrategy.type` | The updateStrategy for updating the daemonset | `RollingUpdate` |
| `daemonset.affinity` | Node affinities | `nil` |
| `daemonset.nodeSelector` | Node selector | `kubernetes.io/arch:amd64` |
| `slim.enabled` | Use the slim based Sysdig Agent image | `false` |
| `slim.kmoduleImage.repository` | The kernel module image builder repository to pull from | `sysdig/agent-kmodule` |
| `slim.resources.requests.cpu` | CPU requested for building the kernel module | `1000m` |
+6
View File
@@ -34,6 +34,8 @@ spec:
imagePullSecrets:
{{ toYaml .Values.image.pullSecrets | indent 8 }}
{{- end }}
nodeSelector:
{{ toYaml .Values.daemonset.nodeSelector | indent 8 }}
{{- if .Values.slim.enabled }}
initContainers:
- name: sysdig-agent-kmodule
@@ -98,6 +100,10 @@ spec:
exec:
command: [ "test", "-e", "/opt/draios/logs/running" ]
initialDelaySeconds: 10
livenessProbe:
exec:
command: [ "test", "-e", "/opt/draios/logs/running" ]
initialDelaySeconds: 10
volumeMounts:
{{- if not .Values.slim.enabled }}
- mountPath: /etc/modprobe.d
+5 -3
View File
@@ -9,7 +9,7 @@ image:
registry: docker.io
repository: sysdig/agent
tag: 9.9.0
tag: 9.9.1
# Specify a imagePullPolicy
# Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
# ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -51,9 +51,11 @@ daemonset:
type: RollingUpdate
## Extra environment variables that will be pass onto deployment pods
env: {}
## Allow the DaemonSet to schedule using affinity rules
# Allow the DaemonSet to schedule using affinity rules
# Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
# affinity: {}
affinity: {}
nodeSelector:
kubernetes.io/arch: amd64
# If is behind a proxy you can set the proxy server
proxy: