-
Notifications
You must be signed in to change notification settings - Fork 26
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
NETOBSERV-382: Added status field in HPA configuration #184
NETOBSERV-382: Added status field in HPA configuration #184
Conversation
00db923
to
a49d384
Compare
api/v1alpha1/flowcollector_types.go
Outdated
type FlowCollectorHPA struct { | ||
// +kubebuilder:validation:Enum:=DISABLED;ENABLED | ||
// +kubebuilder:default:=DISABLED | ||
// AuthToken describe the way to get a token to authenticate to Loki |
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.
wrong description, I bet you copy-pasted :D
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.
Yes sorry, fixed.
@@ -94,7 +94,6 @@ spec: | |||
imagePullPolicy: IfNotPresent | |||
port: 9001 | |||
logLevel: info | |||
autoscaler: null |
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.
could you add a sample autoscaler config, but commented out? I find it quite convenient when trying configs that are not obvious
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.
Done!
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.
thanks! Actually better than commented out :)
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: OlivierCazade 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 |
This add a status field in HPA section to deploy or not HPA.
At some point in the future we may want a third option: not deploying the HPA but also not reconciling pod count so an external HPA can be used.