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

Enhance HA of ory-oathkeeper workloads #1171

Open
6 tasks
ebensom opened this issue Jul 17, 2024 · 1 comment
Open
6 tasks

Enhance HA of ory-oathkeeper workloads #1171

ebensom opened this issue Jul 17, 2024 · 1 comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@ebensom
Copy link
Member

ebensom commented Jul 17, 2024

Description

During chaos testing run, which simulated pod failures (kubelet) per AZ on all nodes belonging to the specific AZ, it was pointed out that critical ory-oathkeeper pods were all traniently down, either in pending state or in init state. The reason is that to all replicas were being scheduled in nodes belonging to the same AZ, and kept being do so during pod termination/eviction.

For ory-oathkeeper running on enterprise plan runtimes (having at least 3 nodes in 2 AZs), ensure that the pods are configured with either topology spread constraints, or pod anti affinity rules to preferably

  • spread the replicas on different nodes, and furthermore
  • spread the replicas on nodes belonging to different availability zones.

Reasons

Higher resiliency and availiability during node level and zones level failure scenarios.

DoD:

  • Provide unit and integration tests.
  • Provide documentation.
  • Verify if the solution works for both open-source Kyma and SAP BTP, Kyma runtime.
  • If you changed the resource limits, explain why it was needed.
  • Verify that your contributions don't decrease code coverage. If they do, explain why this is the case.
  • Add release notes.

Attachments

@ebensom ebensom added the kind/feature Categorizes issue or PR as related to a new feature. label Jul 17, 2024
@ebensom
Copy link
Member Author

ebensom commented Sep 5, 2024

@kyma-project/goat could you please prioritize this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant