-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add activator DaemonSet #6624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add activator DaemonSet #6624
Conversation
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
|
An example run of the loadtest (up to 3k QPS) https://mako.dev/run?run_key=6498872555732992&~l=1 |
config/activator-ds.yaml
Outdated
| # connections. | ||
| terminationGracePeriodSeconds: 300 | ||
|
|
||
| --- |
There was a problem hiding this comment.
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
mattmoor
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
mattmoor
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
|
|
||
| # The numbers are based on performance test results from | ||
| # https://github.com/knative/serving/issues/1625#issuecomment-511930023 | ||
| resources: |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
|
/retest |
|
Interestingly only ScaleToN tests fail.... which should rely on activator, except scale from 0, which succeeds... |
|
/test pull-knative-serving-integration-tests |
|
OK, I'll take a look to see what's wrong :| |
|
/retest |
f2c518d to
aa84fc9
Compare
|
/retest |
|
/test all |
|
The following jobs failed:
Automatically retrying due to test flakiness... |
|
/retest |
1 similar comment
|
/retest |
aa84fc9 to
144caab
Compare
|
The following is the coverage report on the affected files.
|
|
/test pull-knative-serving-istio-1.4-mesh |
|
/test pull-knative-serving-istio-1.3-mesh |
|
@vagababov: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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: |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
9827ff0 to
a4579d3
Compare
a4579d3 to
0c78da6
Compare
| @@ -0,0 +1 @@ | |||
| ./core/activator-ds.yaml No newline at end of file | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add trailing newline:
| ./core/activator-ds.yaml | |
| ./core/activator-ds.yaml | |
mattmoor
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
This change switches activator to be run as a daemon set.
The changes:
For #6550
/assign mattmoor