-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: System controller improvements #257
Conversation
e8210a3
to
107b3ca
Compare
/retitle feat: System controller improvements |
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.
Can you please fix the Sphinx
typo on the new Console
image?
config/manifests/bases/saas-operator.clusterserviceversion.yaml
Outdated
Show resolved
Hide resolved
@@ -78,6 +80,10 @@ var ( | |||
corev1.ResourceMemory: resource.MustParse("2Gi"), | |||
}, | |||
} | |||
systemDefaultAppDeploymentStrategy defaultDeploymentRollingStrategySpec = defaultDeploymentRollingStrategySpec{ | |||
MaxUnavailable: util.IntStrPtr(intstr.FromInt(0)), |
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.
This 10% strategy works without any issue even not updating the already restrictive PDB config?
I thought that if updating rolloutStrategy, its correspondant PDB needed to be updating to be more permissive, but TBH I've never tested... so I might be totally wrong and might not need to update the PDB
did you tested it in staging by increasing temporarily HPA number of replicas with lots of pods?
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.
10% is surge, so it's 10% above the desired. PDB only cares if the number of ready replicas goes below desired-1 (we have maxUnavailable=1 configured everywhere)
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.
Nice!
@@ -78,6 +80,10 @@ var ( | |||
corev1.ResourceMemory: resource.MustParse("2Gi"), | |||
}, | |||
} | |||
systemDefaultAppDeploymentStrategy defaultDeploymentRollingStrategySpec = defaultDeploymentRollingStrategySpec{ | |||
MaxUnavailable: util.IntStrPtr(intstr.FromInt(0)), |
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.
10% is surge, so it's 10% above the desired. PDB only cares if the number of ready replicas goes below desired-1 (we have maxUnavailable=1 configured everywhere)
Signed-off-by: Rael Garcia <rael@redhat.com>
Signed-off-by: Rael Garcia <rael@redhat.com>
Signed-off-by: Rael Garcia <rael@redhat.com>
Signed-off-by: Rael Garcia <rael@redhat.com>
Signed-off-by: Rael Garcia <rael@redhat.com>
Signed-off-by: Rael Garcia <rael@redhat.com>
Signed-off-by: Rael Garcia <rael@redhat.com>
Signed-off-by: Rael Garcia <rael@redhat.com>
Signed-off-by: Rael Garcia <rael@redhat.com>
Signed-off-by: Rael Garcia <rael@redhat.com>
Signed-off-by: Rael Garcia <rael@redhat.com>
Signed-off-by: Rael Garcia <rael@redhat.com>
Signed-off-by: Rael Garcia <rael@redhat.com>
Signed-off-by: Rael Garcia <rael@redhat.com>
Signed-off-by: Rael Garcia <rael@redhat.com>
Signed-off-by: Rael Garcia <rael@redhat.com>
Signed-off-by: Rael Garcia <rael@redhat.com>
Signed-off-by: Rael Garcia <rael@redhat.com>
Signed-off-by: Rael Garcia <rael@redhat.com>
0a7683f
to
e102002
Compare
/lgtm |
LGTM label has been added. Git tree hash: 95bed7d9bfe8755e9cb1c480a9952f07fa4e0ab9
|
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: raelga The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Closes #253
/kind feature
/priority important-soon
/assign