Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
add minimum age and bump version to 0.10.0 (#7388)
Browse files Browse the repository at this point in the history
Signed-off-by: Shai Katz <agepox@gmail.com>
  • Loading branch information
shaikatz authored and k8s-ci-robot committed Aug 28, 2018
1 parent f9731b0 commit 6329a95
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions 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:
Expand Down
4 changes: 2 additions & 2 deletions stable/chaoskube/README.md
Expand Up @@ -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) |
Expand All @@ -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):

Expand Down
1 change: 1 addition & 0 deletions stable/chaoskube/templates/deployment.yaml
Expand Up @@ -37,6 +37,7 @@ spec:
{{- if .Values.debug }}
- --debug
{{- end }}
- --minimum-age={{ .Values.minimumAge }}
resources:
{{ toYaml .Values.resources | indent 12 }}
{{- if .Values.priorityClassName }}
Expand Down
4 changes: 3 additions & 1 deletion stable/chaoskube/values.yaml
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6329a95

Please sign in to comment.