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.
I'd remove one of these services
| @@ -44,11 +44,11 @@ spec: | |||
| # https://github.com/knative/serving/issues/1625#issuecomment-511930023 | |||
| resources: | |||
There was a problem hiding this comment.
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.
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.
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: |
| labels: | ||
| serving.knative.dev/release: devel | ||
| spec: | ||
| replicas: 1 |
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.
Add trailing newline:
| ./core/activator-ds.yaml | |
| ./core/activator-ds.yaml | |
This change switches activator to be run as a daemon set.
The changes:
For #6550
/assign mattmoor