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

[helm] agent preset replicas #5981

Merged

Conversation

pkoutsovasilis
Copy link
Contributor

What does this PR do?

This PR sets correctly the replicas of agent presets (including the value of 0) and fixes some markdown issues in the chart examples

Why is it important?

Because users should be able scale presets according to their needs

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in ./changelog/fragments using the changelog tool
  • I have added an integration test or an E2E test

Disruptive User Impact

N/A

How to test this PR locally

Follow kubernetes example and in the install command add this --set agent.presets.clusterWide.replicaCount=2 or --set agent.presets.clusterWide.replicaCount=0

Related issues

N/A

@pkoutsovasilis pkoutsovasilis added bug Something isn't working Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team skip-changelog backport-8.x Automated backport to the 8.x branch with mergify backport-8.16 Automated backport with mergify labels Nov 8, 2024
@pkoutsovasilis pkoutsovasilis self-assigned this Nov 8, 2024
@pkoutsovasilis pkoutsovasilis requested a review from a team as a code owner November 8, 2024 12:16
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@pkoutsovasilis pkoutsovasilis changed the title [helm] k8s agent preset replicas [helm] agent preset replicas Nov 8, 2024
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@pkoutsovasilis pkoutsovasilis merged commit f994f5b into elastic:main Nov 8, 2024
14 checks passed
@pkoutsovasilis pkoutsovasilis deleted the pkoutsovasilis/k8s_preset_replicas branch November 8, 2024 13:40
mergify bot pushed a commit that referenced this pull request Nov 8, 2024
* fix: set correct replicas of deployment and statefulset presets

* fix: examples markdown fixes

(cherry picked from commit f994f5b)
mergify bot pushed a commit that referenced this pull request Nov 8, 2024
* fix: set correct replicas of deployment and statefulset presets

* fix: examples markdown fixes

(cherry picked from commit f994f5b)
pierrehilbert pushed a commit that referenced this pull request Nov 8, 2024
* fix: set correct replicas of deployment and statefulset presets

* fix: examples markdown fixes

(cherry picked from commit f994f5b)

Co-authored-by: Panos Koutsovasilis <[email protected]>
pkoutsovasilis added a commit that referenced this pull request Nov 8, 2024
* fix: set correct replicas of deployment and statefulset presets

* fix: examples markdown fixes

(cherry picked from commit f994f5b)

Co-authored-by: Panos Koutsovasilis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-8.x Automated backport to the 8.x branch with mergify backport-8.16 Automated backport with mergify bug Something isn't working skip-changelog Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants