Skip to content

Add annotation to our jobs to prevent scaledown of the nodes. - #4329

Merged
knative-prow-robot merged 2 commits into
knative:masterfrom
vagababov:save-eviction-sites
Jun 12, 2019
Merged

knative-prow-robot merged 2 commits into
knative:masterfrom
vagababov:save-eviction-sites

Conversation

@vagababov

Copy link
Copy Markdown
Contributor

With this annotations, we are prohibiting the Cluster Autoscaler to delete
the nodes on which our own jobs run.

/assign @mattmoor

With this annotations, we are prohibiting the Cluster Autoscaler to delete
the nodes on which our own jobs run.
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Jun 12, 2019
@knative-prow-robot knative-prow-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jun 12, 2019
Comment thread config/controller.yaml Outdated
metadata:
annotations:
sidecar.istio.io/inject: "false"
cluster-autoscaler.kubernetes.io/safe-to-evict: "false"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we mainly want this for our data-plane (activator) and control-plane elements that sit on the data-plane (autoscaler, and maybe webhook). The rest should recover quickly if evicted. WDYT?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess for controllers it's less important.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@mattmoor mattmoor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 12, 2019
@knative-prow-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mattmoor, vagababov

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 12, 2019
@knative-prow-robot
knative-prow-robot merged commit 0148c8f into knative:master Jun 12, 2019
@vagababov
vagababov deleted the save-eviction-sites branch September 2, 2019 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants