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

Update Helm Chart and Minikube setup to accommodate for multi-replica API server #717

Merged
merged 6 commits into from
Sep 12, 2023

Conversation

nscuro
Copy link
Member

@nscuro nscuro commented Aug 2, 2023

With the work on #375 being done now, the API server should be:

  • Stateless
  • Horizontally scalable

Thus, it does not have to be a StatefulSet anymore. It's also possible to run multiple replicas of the API server now.

This PR makes the following changes to the Helm chart:

  • Convert the API server StatefulSet to a Deployment
  • Remove the PersistentVolumeClaim of the API server
  • Make the replicaCount configurable for the API server

Additionally, for the local test setup with Minikube:

  • Enable API server and Frontend deployments per default
  • Expose API server and Frontend via NodePort for easier testing

@nscuro nscuro marked this pull request as ready for review August 27, 2023 14:26
…tatefulSet` to `Deployment`

Signed-off-by: nscuro <nscuro@protonmail.com>
…; Update README

Signed-off-by: nscuro <nscuro@protonmail.com>
Signed-off-by: nscuro <nscuro@protonmail.com>
Signed-off-by: nscuro <nscuro@protonmail.com>
Signed-off-by: nscuro <nscuro@protonmail.com>
Signed-off-by: nscuro <nscuro@protonmail.com>
@sonarcloud
Copy link

sonarcloud bot commented Sep 4, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@nscuro nscuro merged commit 3750006 into main Sep 12, 2023
13 checks passed
@nscuro nscuro deleted the multi-replica-apiserver branch September 12, 2023 11:15
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.

None yet

2 participants