diff --git a/stable/chaoskube/Chart.yaml b/stable/chaoskube/Chart.yaml index 9696c47f06..156b7486e4 100755 --- a/stable/chaoskube/Chart.yaml +++ b/stable/chaoskube/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: chaoskube -version: 0.9.1 -appVersion: 0.9.0 +version: 0.10.0 +appVersion: 0.10.0 description: Chaoskube periodically kills random pods in your Kubernetes cluster. home: https://github.com/linki/chaoskube sources: diff --git a/stable/chaoskube/README.md b/stable/chaoskube/README.md index 8c91e013a8..325ae20c35 100644 --- a/stable/chaoskube/README.md +++ b/stable/chaoskube/README.md @@ -41,7 +41,7 @@ $ helm install stable/chaoskube --set dryRun=false |---------------------------|-----------------------------------------------------|----------------------------------| | `name` | container name | chaoskube | | `image` | docker image | quay.io/linki/chaoskube | -| `imageTag` | docker image tag | v0.9.0 | +| `imageTag` | docker image tag | v0.10.0 | | `replicas` | number of replicas to run | 1 | | `interval` | interval between pod terminations | 10m | | `labels` | label selector to filter pods by | "" (matches everything) | @@ -60,7 +60,7 @@ $ helm install stable/chaoskube --set dryRun=false | `nodeSelector` | Node labels for pod assignment | `{}` | | `tolerations` | Toleration labels for pod assignment | `[]` | | `affinity` | Affinity settings for pod assignment | `{}` | - +| `minimumAge` | Set minimum pod age to filter pod by | `0s` | Setting label and namespaces selectors from the shell can be tricky but is possible (example with zsh): diff --git a/stable/chaoskube/templates/deployment.yaml b/stable/chaoskube/templates/deployment.yaml index ecc314dc51..58bc8997e9 100644 --- a/stable/chaoskube/templates/deployment.yaml +++ b/stable/chaoskube/templates/deployment.yaml @@ -37,6 +37,7 @@ spec: {{- if .Values.debug }} - --debug {{- end }} + - --minimum-age={{ .Values.minimumAge }} resources: {{ toYaml .Values.resources | indent 12 }} {{- if .Values.priorityClassName }} diff --git a/stable/chaoskube/values.yaml b/stable/chaoskube/values.yaml index a71a886131..8410a6b1e0 100644 --- a/stable/chaoskube/values.yaml +++ b/stable/chaoskube/values.yaml @@ -5,7 +5,7 @@ name: chaoskube image: quay.io/linki/chaoskube # docker image tag -imageTag: v0.9.0 +imageTag: v0.10.0 # number of replicas to run replicas: 1 @@ -40,6 +40,8 @@ excludedDaysOfYear: # Set specific Timezone for Actions to take place timezone: UTC +minimumAge: 0s + priorityClassName: "" # create service account with permission to list and kill pods