Skip to content

Commit

Permalink
Annotate controller jobs to prevent node eviction
Browse files Browse the repository at this point in the history
  • Loading branch information
imjasonh authored and tekton-robot committed Jun 18, 2019
1 parent b6b2b6a commit fc6ef39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ spec:
replicas: 1
template:
metadata:
annotations:
cluster-autoscaler.kubernetes.io/safe-to-evict: "false"
labels:
app: tekton-pipelines-controller
spec:
Expand Down
4 changes: 3 additions & 1 deletion config/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ spec:
replicas: 1
template:
metadata:
annotations:
cluster-autoscaler.kubernetes.io/safe-to-evict: "false"
labels:
app: tekton-pipelines-webhook
spec:
Expand All @@ -36,4 +38,4 @@ spec:
volumes:
- name: config-logging
configMap:
name: config-logging
name: config-logging

0 comments on commit fc6ef39

Please sign in to comment.