-
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
Disable HPA and clear resource requests for XS clusters #34
Conversation
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
Co-Authored-By: Ross Fairbanks <rossf7@users.noreply.github.com>
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.
My only concern is if we could use numeric cluster size so we could do it something like
if .Values.cluster_profile > 2
...
-end
Knowing that cluister profiles are
Size Number
XS 1
S 2
L 3
XL 4
XXL 5
@@ -1,4 +1,4 @@ | |||
{{- if not ( eq .Values.cluster.profile "XS" ) }} | |||
{{- if or (eq .Values.cluster.profile 0) (gt .Values.cluster.profile 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.
but it does mean is always enabled?
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.
nope, not when equal 1 i.e. xs
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 then :)
Tested on geckon and giraffe, works as expected with cluster-operator setting cluster profile, and same as before (with 1.6.0 release) when cluster profile is not available. |
No description provided.