Skip to content

Conversation

@vagababov
Copy link
Contributor

This change switches activator to be run as a daemon set.
The changes:

  • add daemon set
  • run with smaller footprint
  • reduce regular HPA to maxSize=1. This permits user to change the value, should the need arive, but will keep the default to a single instance.
  • also reduce its footprint, to match the DS ones.

For #6550

/assign mattmoor

This change switches activator to be run as a daemon set.
The changes:
- add daemon set
- run with smaller footprint
- reduce regular HPA to maxSize=1. This permits user to change the value, should the need arive, but will keep the default to a single instance.
- also reduce its footprint, to match the DS ones.

For knative#6550
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Jan 24, 2020
@knative-prow-robot knative-prow-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jan 24, 2020
@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 24, 2020
@vagababov
Copy link
Contributor Author

# connections.
terminationGracePeriodSeconds: 300

---
Copy link
Member

Choose a reason for hiding this comment

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

I'd remove one of these services

Copy link
Member

@mattmoor mattmoor left a comment

Choose a reason for hiding this comment

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

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 24, 2020
@knative-prow-robot knative-prow-robot added area/test-and-release It flags unit/e2e/conformance/perf test issues for product features and removed lgtm Indicates that a PR is ready to be merged. labels Jan 24, 2020
Copy link
Member

@mattmoor mattmoor left a comment

Choose a reason for hiding this comment

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

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 24, 2020

# The numbers are based on performance test results from
# https://github.com/knative/serving/issues/1625#issuecomment-511930023
resources:
Copy link

Choose a reason for hiding this comment

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

If I run the instructions here: https://github.com/knative/serving/blob/master/DEVELOPMENT.md#deploy-knative-serving won't I get both the Deployment version and DaemonSet version?

Shouldn't you only run with one type?

On a similar note, how will this manifest in the v0.13.0 release instructions?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It should not change anything there.
But we need to document probably that we can turn this off.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Deployment wise nothing should change. Just execute the standard collective YAML.
But we need to document that you can pick or the other or both.

@vagababov
Copy link
Contributor Author

/retest

@knative-prow-robot knative-prow-robot removed the lgtm Indicates that a PR is ready to be merged. label Jan 24, 2020
@vagababov
Copy link
Contributor Author

Interestingly only ScaleToN tests fail.... which should rely on activator, except scale from 0, which succeeds...

@vagababov
Copy link
Contributor Author

/test pull-knative-serving-integration-tests

@vagababov
Copy link
Contributor Author

OK, I'll take a look to see what's wrong :|

@vagababov
Copy link
Contributor Author

/retest

@vagababov vagababov force-pushed the 20200124-activator-ds branch from f2c518d to aa84fc9 Compare January 29, 2020 19:35
@vagababov
Copy link
Contributor Author

/retest

@vagababov
Copy link
Contributor Author

/test all

@knative-test-reporter-robot

The following jobs failed:

Test name Triggers Retries
pull-knative-serving-integration-tests pull-knative-serving-integration-tests 1/3

Automatically retrying due to test flakiness...
/test pull-knative-serving-integration-tests

@vagababov
Copy link
Contributor Author

/retest

1 similar comment
@vagababov
Copy link
Contributor Author

/retest

@vagababov vagababov force-pushed the 20200124-activator-ds branch from aa84fc9 to 144caab Compare January 29, 2020 23:36
@knative-metrics-robot
Copy link

The following is the coverage report on the affected files.
Say /test pull-knative-serving-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/activator/net/revision_backends.go 93.1% 93.7% 0.6

@vagababov
Copy link
Contributor Author

/test pull-knative-serving-istio-1.4-mesh

@vagababov
Copy link
Contributor Author

/test pull-knative-serving-istio-1.3-mesh

@knative-prow-robot
Copy link
Contributor

@vagababov: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
pull-knative-serving-contour-latest aa84fc9 link /test pull-knative-serving-contour-latest
pull-knative-serving-ambassador-latest aa84fc9 link /test pull-knative-serving-ambassador-latest
pull-knative-serving-https aa84fc9 link /test pull-knative-serving-https
pull-knative-serving-gloo-0.17.1 aa84fc9 link /test pull-knative-serving-gloo-0.17.1
pull-knative-serving-istio-1.3-mesh 144caab link /test pull-knative-serving-istio-1.3-mesh
pull-knative-serving-istio-1.4-mesh 144caab link /test pull-knative-serving-istio-1.4-mesh

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

# namespace: knative-serving
# labels:
# serving.knative.dev/release: devel
# spec:
Copy link
Member

Choose a reason for hiding this comment

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

uncomment?

labels:
serving.knative.dev/release: devel
spec:
replicas: 1
Copy link
Member

Choose a reason for hiding this comment

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

remove

@vagababov vagababov force-pushed the 20200124-activator-ds branch from 9827ff0 to a4579d3 Compare January 30, 2020 03:53
@vagababov vagababov force-pushed the 20200124-activator-ds branch from a4579d3 to 0c78da6 Compare January 30, 2020 03:54
@@ -0,0 +1 @@
./core/activator-ds.yaml No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

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

Add trailing newline:

Suggested change
./core/activator-ds.yaml
./core/activator-ds.yaml

Copy link
Member

@mattmoor mattmoor left a comment

Choose a reason for hiding this comment

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

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 30, 2020
@knative-prow-robot knative-prow-robot merged commit 989918a into knative:master Jan 30, 2020
@vagababov vagababov deleted the 20200124-activator-ds branch June 23, 2020 23:16
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. area/autoscale area/networking area/test-and-release It flags unit/e2e/conformance/perf test issues for product features cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants