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

OPSEXP-1353 Deprecate Alfresco Sync Service HPA template #874

Merged
merged 7 commits into from
Feb 3, 2023
Merged

Conversation

upandey123
Copy link
Contributor

@upandey123 upandey123 commented Feb 1, 2023

Sync service is the only Chart that has some kind of autoscaling.

It is untested and leverage a now depreceated approach:

autoscaling/v2beta1 HorizontalPodAutoscaler is deprecated in v1.22+, unavailable in v1.25+; use autoscaling/v2beta2 HorizontalPodAutoscaler
Remove it from the subchart

Ref: OPSEXP-1353

@upandey123 upandey123 self-assigned this Feb 1, 2023
Copy link
Contributor Author

@upandey123 upandey123 left a comment

Choose a reason for hiding this comment

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

Removed {{- if .Values.syncservice.enabled }} but syncservice.horizontalPodAutoscaling.enabled is not inside values file.

@alxgomz
Copy link
Contributor

alxgomz commented Feb 1, 2023

Removed {{- if .Values.syncservice.enabled }} but syncservice.horizontalPodAutoscaling.enabled is not inside values file.

No, you're looking at the wrong file. do not edit the helm/alfresco-content-services/values.yaml instead you should edit helm/alfresco-content-services/charts/alfresco-sync-service/values.yaml

Also you need to remove all values under hpa, not just enabled

@upandey123
Copy link
Contributor Author

As checked from my end all the HPA resources have been removed from the sync service. Should be good!

Copy link
Member

@gionn gionn left a comment

Choose a reason for hiding this comment

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

LGTM

I will merge it since codacy is broken again.

@gionn gionn merged commit f41ef77 into master Feb 3, 2023
@gionn gionn deleted the OPSEXP-1353 branch February 3, 2023 08:55
@gionn gionn changed the title OPSEXP-1353 Removed Alfresco Sync service HPA chart OPSEXP-1353 Deprecate Alfresco Sync Service HPA template Feb 3, 2023
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