Skip to content
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

Merged
merged 2 commits into from
Oct 27, 2022

Conversation

OlivierCazade
Copy link
Contributor

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.

type FlowCollectorHPA struct {
// +kubebuilder:validation:Enum:=DISABLED;ENABLED
// +kubebuilder:default:=DISABLED
// AuthToken describe the way to get a token to authenticate to Loki
Copy link
Member

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

Copy link
Contributor Author

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
Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

Copy link
Member

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 :)

@jotak
Copy link
Member

jotak commented Oct 27, 2022

/lgtm

@OlivierCazade
Copy link
Contributor Author

/approve

@openshift-ci
Copy link

openshift-ci bot commented Oct 27, 2022

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jotak jotak added the lgtm label Oct 27, 2022
@openshift-merge-robot openshift-merge-robot merged commit edc43bf into netobserv:main Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants