Update KubeRay tutorial with newest changes on Kuberay version#3121
Merged
Conversation
End-to-end validation on a fresh AWS-CAPI workload cluster surfaced several issues with the tutorial: - The catalog ships kuberay-operator 1.0.0 (not 1.1.0). - kubectl gs template app now prints a deprecation banner that pollutes stdout when piped to a file, producing invalid YAML. Suppress with 2>/dev/null. - The sample used apiVersion ray.io/v1alpha1; the served storage version is ray.io/v1. - The sample bundled GPU bits (nvidia runtimeClass, GPU tolerations, GPU node affinity) that prevent scheduling on non-GPU clusters. Moved to an explanatory note for GPU users. - No securityContext on pods/containers means PSS-restricted Kyverno policies reject the head and worker pods. Add runAsNonRoot, seccompProfile, drop ALL capabilities, allowPrivilegeEscalation=false. - enableInTreeAutoscaling injects an autoscaler sidecar that also needs an explicit securityContext via autoscalerOptions, or the whole pod gets rejected. - 2Gi head memory OOMs as soon as a job lands (Ray dashboard subprocesses idle at ~1.94Gi). Bumped to 4Gi. - Added a REST API alternative for users without Python/ray installed, and fixed the ray CLI working_dir so it points at the gist zip instead of "." (which only works if dt.py is in the cwd).
pipo02mix
commented
May 19, 2026
pipo02mix
commented
May 19, 2026
pipo02mix
commented
May 19, 2026
pipo02mix
commented
May 19, 2026
Co-authored-by: Fernando Ripoll <fernando@giantswarm.io>
lyind
approved these changes
May 19, 2026
Contributor
lyind
left a comment
There was a problem hiding this comment.
Didn't test the YAML and do a test install/run, but the changes look good to me, otherwise.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Towards giantswarm/kuberay#6