Skip to content

Update KubeRay tutorial with newest changes on Kuberay version#3121

Merged
pipo02mix merged 7 commits into
mainfrom
kuberay-tutorial-fixes
May 21, 2026
Merged

Update KubeRay tutorial with newest changes on Kuberay version#3121
pipo02mix merged 7 commits into
mainfrom
kuberay-tutorial-fixes

Conversation

@pipo02mix
Copy link
Copy Markdown
Contributor

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 pipo02mix requested a review from a team as a code owner May 19, 2026 15:25
@pipo02mix pipo02mix self-assigned this May 19, 2026
Comment thread src/content/tutorials/fleet-management/job-management/kuberay/index.md Outdated
Comment thread src/content/tutorials/fleet-management/job-management/kuberay/index.md Outdated
Comment thread src/content/tutorials/fleet-management/job-management/kuberay/index.md Outdated
Comment thread src/content/tutorials/fleet-management/job-management/kuberay/index.md Outdated
Co-authored-by: Fernando Ripoll <fernando@giantswarm.io>
Copy link
Copy Markdown
Contributor

@lyind lyind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't test the YAML and do a test install/run, but the changes look good to me, otherwise.

@pipo02mix pipo02mix added this pull request to the merge queue May 21, 2026
Merged via the queue into main with commit 377c09f May 21, 2026
6 checks passed
@pipo02mix pipo02mix deleted the kuberay-tutorial-fixes branch May 21, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants