diff --git a/config/controller.yaml b/config/controller.yaml index 85571a361f9..e87cf143430 100644 --- a/config/controller.yaml +++ b/config/controller.yaml @@ -20,6 +20,8 @@ spec: replicas: 1 template: metadata: + annotations: + cluster-autoscaler.kubernetes.io/safe-to-evict: "false" labels: app: tekton-pipelines-controller spec: diff --git a/config/webhook.yaml b/config/webhook.yaml index ab041bdff28..6bfe3a393e3 100644 --- a/config/webhook.yaml +++ b/config/webhook.yaml @@ -21,6 +21,8 @@ spec: replicas: 1 template: metadata: + annotations: + cluster-autoscaler.kubernetes.io/safe-to-evict: "false" labels: app: tekton-pipelines-webhook spec: @@ -36,4 +38,4 @@ spec: volumes: - name: config-logging configMap: - name: config-logging \ No newline at end of file + name: config-logging