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 Chart for Redis-HA is invalid, resource constraints also do not comply with GKE AutoPilot policies #2504

Open
1 of 3 tasks
kavinaravind opened this issue Nov 15, 2023 · 0 comments
Labels
kind/k8s Related to the Kubernetes application needs-triage This wasn't investigate by the repo's owners yet

Comments

@kavinaravind
Copy link

kavinaravind commented Nov 15, 2023

Category:

Kubernetes apps

Type:

  • Bug
  • Feature Request
  • Process

  1. Redis has outdated specs for GKE Autopilot Clusters:
Error from server (GKE Warden constraints violations): error when creating "redis-ha-1_manifest.yaml": admission webhook "warden-validating.common-webhooks.networking.gke.io" denied the request: GKE Warden rejected the request because it violates one or more constraints.
Violations details: {"[denied by autogke-pod-limit-constraints]":["workload 'redis-ha-1-haproxy' cpu requests '250m' is lower than the Autopilot minimum required of '500m' for using pod anti affinity."]}
Requested by user: '<id>', groups: 'system:authenticated'.

Changing cpu: 100m to cpu: 500m was needed.

  1. The code that was used to generate the helm template seems to have copied the name of the pointer to the variable rather than the label itself:

The helm chart / Application CRD seems to be fairly outdated yet GCP seems to be using this as the click-to-deploy solution in https://console.cloud.google.com/kubernetes/application, is there a private fork that is being used?

@kavinaravind kavinaravind added kind/k8s Related to the Kubernetes application needs-triage This wasn't investigate by the repo's owners yet labels Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/k8s Related to the Kubernetes application needs-triage This wasn't investigate by the repo's owners yet
Projects
None yet
Development

No branches or pull requests

1 participant