bentoml-k8s-deploy
Skill by bentoml
Deploys a containerized BentoML service to a vanilla Kubernetes cluster using plain kubectl manifests. It renders one Deployment and Service per BentoML service and checks the rollout with a real inference request. It also helps diagnose failed deployments.
Install bentoml-k8s-deploy
Built from the published package, never by AI.
git clone --depth 1 https://github.com/bentoml/BentoML /tmp/BentoML && mkdir -p ~/.claude/skills && cp -r /tmp/BentoML/skills/bentoml-k8s-deploy ~/.claude/skills/bentoml-k8s-deployRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/bentoml/BentoML /tmp/BentoML && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/BentoML/skills/bentoml-k8s-deploy ~/.gemini/antigravity-cli/skills/bentoml-k8s-deployAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill deploys a BentoML image, pushed by the bentoml-containerize skill, to a plain Kubernetes cluster. It reads the bento's service list and dependency graph from bento.yaml, so the topology is never copied into the config. The user edits one config.yml with the image URL, namespace and optional per-service overrides. A bundled renderer then produces one Deployment and Service per BentoML service, plus optional HPA or Ingress, and applies them in dependency order.
The skill is aimed at users who want to run BentoML services on Kubernetes without Helm, operators, BentoCloud or Yatai. It also covers troubleshooting symptoms such as crashing pods, ImagePullBackOff, rollouts stuck in progress and inference errors.
Written from the project's SKILL.md and checked against it.
What it can do
- Topology discoveryReads the service list, entry service and dependency graph from the bento's bento.yaml.
- Config-driven renderingRenders plain Kubernetes manifests from a single config.yml with optional per-service overrides.
- Per-service deploymentsCreates one Deployment and one Service per BentoML service so each can be sized and scaled separately.
- Ordered rolloutApplies manifests in dependency order, deepest tier first.
- Inference verificationChecks the rollout with a real inference request when a verify call is configured.
- Failure diagnosisTroubleshoots symptoms such as crashing pods, ImagePullBackOff, pending pods and failing readiness probes.
What you need
- kubectl with access to a Kubernetes cluster
- Python 3.9 or later with PyYAML
- An image registry the cluster can pull from
- AWS CLI v2 for ECR
Try asking
- Deploy my BentoML image to my Kubernetes cluster
- Split my bento services into separate pods on k8s
- My BentoML pods are crashing with ImagePullBackOff, help me fix it
Good to know
- Uses plain kubectl manifests only, with no Helm, operators, BentoCloud or Yatai.
- Non-entry services are always ClusterIP, because inter-service traffic uses unauthenticated pickle.
- Resource limits in @bentoml.service are inert in open-source BentoML, so config values set the real limits.
- Rendering and validation depend on the sibling bentoml-deploy-scriptgen skill.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/bentoml-k8s-deploy/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md33 KB -
references/customization.md25 KB -
references/exposure-options.md5 KB -
references/gpu-scheduling.md4 KB -
references/private-registries.md5 KB
Show all 13 files
-
references/troubleshooting.md13 KB -
templates/config.minimal.yml128 B -
templates/config.yml17 KB -
templates/deployment.yaml12 KB -
templates/hpa.yaml6 KB -
templates/ingress.yaml3 KB -
templates/namespace.yaml774 B -
templates/service.yaml3 KB
Alternatives to bentoml-k8s-deploy
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
bentoml-k8s-deploy: common questions
Does this skill need Helm or a Kubernetes operator?
No. The source says it uses plain kubectl manifests with no Helm, no operators and no BentoCloud or Yatai.
Where does the service topology come from?
It is read from the bento's own bento.yaml on every run, so the config file does not store the topology.
Can I expose every BentoML service to the internet?
No. Only the entry service may be exposed. Other services stay ClusterIP because inter-service traffic is unauthenticated pickle deserialization.
How do I install bentoml-k8s-deploy?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is bentoml-k8s-deploy free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is bentoml-k8s-deploy safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to bentoml-k8s-deploy?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
