Skip to content
Back to skills

Deployment And Backends

ASecurity

"Routes Mars supervisor, worker, Ray, GPU, Kubernetes, and YARN

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
devopsdockerkubernetesapibackend

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill deployment-and-backends --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Deployment And Backends?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Deployment And Backends
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-deployment-and-backends/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-deployment-and-backends)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: deployment-and-backends
description: "Routes Mars supervisor, worker, Ray, GPU, Kubernetes, and YARN
  backend requests to verified CLI and prerequisite guidance."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Deployment and Backends

Use this sub-skill when the user asks how to start Mars services, inspect CLI
flags, choose a backend, use GPU placement, or deploy on Ray, Kubernetes, or
YARN. The CPU/local package baseline is verified; optional backend execution is
prerequisite-bound and must not be claimed as verified unless a backend smoke
has passed in the user's environment.

## Trigger phrases

- "Start `mars-supervisor` and `mars-worker`."
- "What flags does `mars-worker` accept?"
- "Use Mars on Ray."
- "Run Mars tensor/DataFrame on GPU."
- "Deploy Mars on Kubernetes or YARN."
- "Set CUDA devices, ports, supervisors, or worker resources."

## What belongs here

- `mars-supervisor` and `mars-worker` CLI help.
- Local cluster startup concepts.
- Ray sessions: `new_session(backend='ray')`, `new_ray_session`, and related
  prerequisites.
- GPU/CUDA tensor and DataFrame placement: `gpu=True`, `to_gpu`, `to_cpu`, and
  worker `--cuda-devices`.
- Kubernetes and YARN cluster APIs and service prerequisites.

## What stays elsewhere

- Local tensor/DataFrame operations -> `tensor-dataframe-core`.
- Remote callable DAGs -> `remote-and-scripts`.
- Mars Learn estimator and optional ML integration APIs ->
  `learn-and-integrations`.

## Read these bundled files

- `references/cli-reference.md` for verified `mars-supervisor` and `mars-worker`
  options.
- `references/backends.md` for Ray, GPU, Kubernetes, and YARN prerequisites.
- `references/troubleshooting.md` for port, optional dependency, device, and
  cluster-tooling failures.
- `scripts/check_mars_cli.py` for a safe CLI help smoke.

## Minimal route

1. For parser or entry-point questions, run the bundled CLI helper or use
   `mars-supervisor --help` and `mars-worker --help`.
2. For local service startup, select supervisor and worker endpoints and ports
   before starting long-running processes.
3. For Ray/GPU/Kubernetes/YARN, verify optional packages and host services
   before running a real backend workflow.
4. When the task needs compute semantics after backend startup, route back to
   the owning tensor/DataFrame, remote, or learn sub-skill.

## Common decisions

- `-h` is help; use `-H` / `--host` for service binding.
- `--cuda-devices ""` disables GPU devices for a worker, while `auto` discovers
  visible CUDA devices.
- Real Kubernetes/YARN examples need external cluster credentials and are not
  safe baseline verification cases.
- The repo's Docker image helper is reference-only because it invokes Docker and
  can push images; do not run it as a bundled runtime script.

## Quality bar

A future agent should be able to list the safe CLI help path, choose the right
backend route, explain missing prerequisites, and avoid accidentally starting
or mutating external cluster resources.

Files in this skill

  • SKILL.md3 KB
  • references/backends.md3.9 KB
  • references/cli-reference.md2.8 KB
  • references/troubleshooting.md3.6 KB
  • scripts/check_mars_cli.py2.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.