Write the datasets and volumes imported in the Revision container when the Revision is deployed.
Prefix
Type
Required
Description
git://
string
Optional
Mount a git repository into your container. The repository will be cloned into the specified mount path when container starts.
hf://
string
Optional
Mount a huggingface repository into your container. The repository will be cloned into the specified mount path when container starts.
vessl-dataset://
string
Optional
Mount a dataset stored in VESSL. Replace organizationName with the name of your organization and datasetName with the name of the dataset.
s3://
string
Optional
Mount an AWS S3 bucket into your container. Replace bucketName with the name of your S3 bucket and path with the path to te file or folder you want to mount.
gs://
string
Optional
Mount an GCP GCS bucket into your container. Replace bucketName with the name of your GCS bucket and path with the path to te file or folder you want to mount.
Write down the volumes that will be mounted in the Revision Service container when the Revision is deployed.
Prefix
Type
Required
Description
hf://
string
Optional
Mount a huggingface repository into your container. The repository will be cloned into the specified mount path when container starts.
hostpath://
string
Optional
Mount a file or directory from the host node’s filesystem into your container. Replace path with the path to the file or folder you want to mount.
nfs://
string
Optional
Mount a Network File System(NFS) into your container. Replace ip with the IP address of your NFS server and path with the path to the file or folder you want to mount.
cifs://
string
Optional
Mount a Command Internet File System(CIFS) into your contianer. Replace ip with the IP address of your NFS server and path with the path to the file or folder you want to mount.
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"VESSL AI","colors":{"primary":"#0069ED","light":"#4D9CFF","dark":"#0050B4"},"logo":{"light":"https://mintcdn.com/vesslai/ONhMTXRTdM7mlkKv/logo/light.png?fit=max\u0026auto=format\u0026n=ONhMTXRTdM7mlkKv\u0026q=85\u0026s=ad8341493ecb8d8efd7f0902123d0022","dark":"https://mintcdn.com/vesslai/ONhMTXRTdM7mlkKv/logo/dark.png?fit=max\u0026auto=format\u0026n=ONhMTXRTdM7mlkKv\u0026q=85\u0026s=3ee3d662fc13403adfbe757bf903179a","href":"https://app.vessl.ai/signup"},"favicon":"https://mintcdn.com/vesslai/BVHjKLa87Wnp_qJ8/favicon.svg?fit=max\u0026auto=format\u0026n=BVHjKLa87Wnp_qJ8\u0026q=85\u0026s=59d83fdd6a5cd3693641094a448e6e3a","api":{"playground":{"display":"simple"}},"navbar":{"links":[{"href":"https://vessl.ai/talk-to-sales","label":"Talk to Sales"}],"primary":{"type":"button","label":"Get Started","href":"https://app.vessl.ai/signup"}},"footer":{"socials":{"website":"https://vessl.ai","github":"https://github.com/vessl-ai/examples","linkedin":"https://www.linkedin.com/company/vesslai"}},"seo":{"metatags":{"og:description":"Enterprise MLOps \u0026 LLMOps Platform - Deploy, manage, and scale AI models, LLMs, and agents with enterprise-grade infrastructure","og:site_name":"VESSL AI Docs","og:title":"VESSL AI Documentation","og:type":"website","og:url":"https://docs.vessl.ai","twitter:card":"summary_large_image","twitter:title":"VESSL AI - Enterprise MLOps \u0026 LLMOps Platform","twitter:description":"Enterprise MLOps \u0026 LLMOps Platform - Deploy, manage, and scale AI models, LLMs, and agents with enterprise-grade infrastructure","keywords":"Enterprise MLOps, LLMOps, AI agents, machine learning, deep learning, model deployment, Kubernetes, GPU clusters, GPU-accelerated, GPUOps, GPU-optimized, enterprise AI, LLM deployment, AI infrastructure, model serving, ML pipeline, AI orchestration, enterprise machine learning, AI model management","author":"VESSL AI","robots":"noindex","viewport":"width=device-width, initial-scale=1.0","canonical":"https://docs.vessl.ai","description":"VESSL AI is an enterprise MLOps and LLMOps platform that helps organizations deploy, manage, and scale machine learning models, large language models (LLMs), and AI agents. Our platform provides GPU-accelerated infrastructure, Kubernetes orchestration, model serving capabilities, and comprehensive ML pipeline management for enterprise AI teams.","application-name":"VESSL AI Documentation","generator":"VESSL AI MLOps Platform","referrer":"origin-when-cross-origin","theme-color":"#0069ED","color-scheme":"light dark"},"indexing":"navigable"},"integrations":{"ga4":{"measurementId":"G-2671CG8YVB"},"gtm":{"tagId":"GTM-MGBL4PW"}},"banner":{"content":"ℹ️ This documentation is for the VESSL MLOps product. For the new VESSL Cloud docs, see [docs.cloud.vessl.ai](https://docs.cloud.vessl.ai/guides/get-started/introduction?utm_source=docs.vessl.ai\u0026utm_medium=banner\u0026utm_campaign=legacy_docs_notice).","dismissible":false},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Explore models","icon":"wand-sparkles","href":"https://app.vessl.ai/hub"},{"anchor":"Blog posts","icon":"newspaper","href":"https://blog.vessl.ai"},{"anchor":"YouTube","icon":"youtube","href":"https://www.youtube.com/@vesslai"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vesslai","hasAudioNarration":false,"actualSubdomain":"vesslai","customDomains":["docs.vessl.ai"],"gitSource":{"type":"github","owner":"vessl-ai","repo":"run-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21a5c932881c474e320b7e","collectionId":"1463f401-0858-419d-b248-3d9f9152d231","schemaVersion":"v2"},"feedback":{"edits":true,"issues":true,"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6a21a5c932881c474e320b7e:success","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"Home","count":80},{"language":"default","tag":"Reference","count":43},{"language":"default","tag":"Compute","count":37},{"language":"default","tag":"SDK Reference","count":22},{"language":"default","tag":"Resource","count":19},{"language":"default","tag":"CLI Reference","count":15},{"language":"default","tag":"Admin","count":14},{"language":"default","tag":"Cluster","count":13},{"language":"default","tag":"Organization","count":11},{"language":"default","tag":"Settings","count":9}]},"assistantConfig":{"enableStarterQuestions":false,"deflection":{"enabled":true,"email":"support@vessl.ai","showHelpButton":true}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"reference/yaml/serve-yaml","slug":"/reference/yaml/serve-yaml","pageMetadata":{"title":"Serve YAML","description":"VESSL Serve is configured through a single YAML file.","version":"EN","href":"/reference/yaml/serve-yaml"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"VESSL Serve is configured through a single YAML file.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`revision-yaml-field-types`,children:`Revision YAML Field Types`}),`\n`,_jsx(Heading,{level:`3`,id:`name`,children:`Name`}),`\n`,_jsx(_components.p,{children:`Service name created by the user.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`name`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Requried`}),_jsx(_components.td,{children:`Service name`})]})})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`vessl-test-service`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`message`,children:`Message`}),`\n`,_jsx(_components.p,{children:`Write a message for the Service Revision. We recommend writing an identical message for each revision to distinguish them.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`message`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Requried`}),_jsx(_components.td,{children:`Description of the revision.`})]})})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`message`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`vessl-yaml-revision`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`image`,children:`Image`}),`\n`,_jsx(_components.p,{children:`The name of the docker image that will be used for inference. You can also use a custom docker image.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`image`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Requried`}),_jsx(_components.td,{children:`Docker image url.`})]})})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`image`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`quay.io/vessl-ai/torch:2.3.1-cuda12.1-r5`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`resources`,children:`Resources`}),`\n`,_jsx(_components.p,{children:`Write down the compute resources you want to use for Service. You can specify the resources you want to use in the Cluster settings.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`cluster`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`The cluster to be used for the run. (default: VESSL-managed cluster)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`preset`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`The preset to be used for the run.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`spot`}),_jsx(_components.td,{children:`one of (empty, SpotOnly, SpotFirst, OnDemandOnly)`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`Whether to use spot instances for the run or not.`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`resources`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` cluster`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`vessl-oci-sanjose`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` preset`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`gpu-l4-small-spot`})]}),`\n`]})})}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`import`,children:`Import`}),`\n`,_jsx(_components.p,{children:`Write the datasets and volumes imported in the Revision container when the Revision is deployed.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Prefix`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`git://`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`Mount a git repository into your container. The repository will be cloned into the specified mount path when container starts.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`hf://`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`Mount a huggingface repository into your container. The repository will be cloned into the specified mount path when container starts.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`vessl-dataset://`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`Mount a dataset stored in VESSL. Replace organizationName with the name of your organization and datasetName with the name of the dataset.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`s3://`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`Mount an AWS S3 bucket into your container. Replace bucketName with the name of your S3 bucket and path with the path to te file or folder you want to mount.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`gs://`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`Mount an GCP GCS bucket into your container. Replace bucketName with the name of your GCS bucket and path with the path to te file or folder you want to mount.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`vessl-model://`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`Mount a VESSL Model into your container.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`vessl-artifact://`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`Mount a VESSL Artifact into your container.`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` /root/git-examples`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`git://github.com/vessl-ai/examples`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` /root/hf`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`hf:///opt/data1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` /input/config`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`gs://config.yaml`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` /input/data2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`s3://192.168.10.2:~/`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` /input/data3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`vessl-dataset://{organization_name}/{dataset_name}`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`mount`,children:`Mount`}),`\n`,_jsx(_components.p,{children:`Write down the volumes that will be mounted in the Revision Service container when the Revision is deployed.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Prefix`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`hf://`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`Mount a huggingface repository into your container. The repository will be cloned into the specified mount path when container starts.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`hostpath://`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`Mount a file or directory from the host node’s filesystem into your container. Replace path with the path to the file or folder you want to mount.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`nfs://`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`Mount a Network File System(NFS) into your container. Replace ip with the IP address of your NFS server and path with the path to the file or folder you want to mount.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`cifs://`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`Mount a Command Internet File System(CIFS) into your contianer. Replace ip with the IP address of your NFS server and path with the path to the file or folder you want to mount.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`gcs-fuse://`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`Mount a GCS with FUSE csi driver.`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`run`,children:`Run`}),`\n`,_jsx(_components.p,{children:`Write down what commands you want to run on the service container when the Revision is deployed.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`workdir`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`The working directory for the command.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`command`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Required`}),_jsx(_components.td,{children:`The command to be run.`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`run`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`workdir`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/root/git-examples`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` command`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`|`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` vessl model launch service.py:Service -p 3000`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`env`,children:`Env`}),`\n`,_jsx(_components.p,{children:`Write down the environment variables that will be set in the Revision Service container.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`env`}),_jsx(_components.td,{children:`map`}),_jsx(_components.td,{children:`Optional`}),_jsx(_components.td,{children:`Key-value pairs for environment variables in the run container.`})]})})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` learning_rate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.001`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` batch_size`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`64`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` optimizer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`sgd`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`ports`,children:`Ports`}),`\n`,_jsx(_components.p,{children:`Write down the ports and protocols that the Revision Service container should open.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`name`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Required`}),_jsx(_components.td,{children:`The name for the opening port.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`type`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Required`}),_jsx(_components.td,{children:`The protocol the port will use.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`port`}),_jsx(_components.td,{children:`int`}),_jsx(_components.td,{children:`Required`}),_jsx(_components.td,{children:`The number of the port.`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`ports`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`web-service`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`http`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` port`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`8000`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` - `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`web-service-2`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`http`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` port`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`8001`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`autoscaling`,children:`Autoscaling`}),`\n`,_jsx(_components.p,{children:`Sets the value for how the Revision Pod will autoscale.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`min`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Required`}),_jsx(_components.td,{children:`Minimum number of Pods to autoscale.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`max`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Required`}),_jsx(_components.td,{children:`Maximum number of Pods to autoscale.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`metric`}),_jsx(_components.td,{children:`int`}),_jsx(_components.td,{children:`Required`}),_jsx(_components.td,{children:`Determine what conditions you want to autoscale under. You can select cpu, gpu, memory, and custom`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`target`}),_jsx(_components.td,{children:`int`}),_jsx(_components.td,{children:`Required`}),_jsx(_components.td,{children:`A metric threshold percentage. If the metric is above the target, then the Autoscaler automatically scale-out.`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`autoscaling`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` min`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` max`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` metric`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`cpu`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:` target`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50`})]}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Serve YAML","description":"VESSL Serve is configured through a single YAML file.","version":"EN","href":"/reference/yaml/serve-yaml"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Revision YAML Field Types","slug":"revision-yaml-field-types","depth":2,"children":[{"title":"Name","slug":"name","depth":3,"children":[]},{"title":"Message","slug":"message","depth":3,"children":[]},{"title":"Image","slug":"image","depth":3,"children":[]},{"title":"Resources","slug":"resources","depth":3,"children":[]},{"title":"Import","slug":"import","depth":3,"children":[]},{"title":"Mount","slug":"mount","depth":3,"children":[]},{"title":"Run","slug":"run","depth":3,"children":[]},{"title":"Env","slug":"env","depth":3,"children":[]},{"title":"Ports","slug":"ports","depth":3,"children":[]},{"title":"Autoscaling","slug":"autoscaling","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"vesslai","siteName":"VESSL AI","title":"VESSL AI Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-11-19T01:47:00.952Z","originalFileLocation":"reference/yaml/serve-yaml.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"VESSL Serve is configured through a single YAML file.\">\u003cmeta data-mint-head name=\"keywords\" content=\"Enterprise MLOps, LLMOps, AI agents, machine learning, deep learning, model deployment, Kubernetes, GPU clusters, GPU-accelerated, GPUOps, GPU-optimized, enterprise AI, LLM deployment, AI infrastructure, model serving, ML pipeline, AI orchestration, enterprise machine learning, AI model management\">\u003cmeta data-mint-head name=\"application-name\" content=\"VESSL AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vesslai/rMu9HQF8-ZbeJ8tZ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/vesslai/rMu9HQF8-ZbeJ8tZ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vesslai/rMu9HQF8-ZbeJ8tZ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vesslai/rMu9HQF8-ZbeJ8tZ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vesslai/rMu9HQF8-ZbeJ8tZ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vesslai/rMu9HQF8-ZbeJ8tZ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vesslai/rMu9HQF8-ZbeJ8tZ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vesslai/rMu9HQF8-ZbeJ8tZ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vesslai/rMu9HQF8-ZbeJ8tZ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"VESSL AI Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Enterprise MLOps \u0026amp; LLMOps Platform - Deploy, manage, and scale AI models, LLMs, and agents with enterprise-grade infrastructure\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"VESSL AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.vessl.ai/reference/yaml/serve-yaml\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vesslai.mintlify.app/_mintlify/api/og/v2?division=YAML+Reference\u0026amp;title=Serve+YAML\u0026amp;description=VESSL+Serve+is+configured+through+a+single+YAML+file.\u0026amp;theme=7cd6f8275e7980f50f9202de\u0026amp;signature=afea607571da98956921141371f18bb2ba830c22e9d337be408005c203c42f43\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"VESSL AI - Enterprise MLOps \u0026amp; LLMOps Platform\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Enterprise MLOps \u0026amp; LLMOps Platform - Deploy, manage, and scale AI models, LLMs, and agents with enterprise-grade infrastructure\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vesslai.mintlify.app/_mintlify/api/og/v2?division=YAML+Reference\u0026amp;title=Serve+YAML\u0026amp;description=VESSL+Serve+is+configured+through+a+single+YAML+file.\u0026amp;theme=7cd6f8275e7980f50f9202de\u0026amp;signature=afea607571da98956921141371f18bb2ba830c22e9d337be408005c203c42f43\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/vesslai/rMu9HQF8-ZbeJ8tZ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"VESSL AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0069ED\">\u003cmeta data-mint-head name=\"author\" content=\"VESSL AI\">\u003cmeta data-mint-head name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\u003cmeta data-mint-head name=\"application-name\" content=\"VESSL AI Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"VESSL AI MLOps Platform\">\u003cmeta data-mint-head name=\"referrer\" content=\"origin-when-cross-origin\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#0069ED\">\u003cmeta data-mint-head name=\"color-scheme\" content=\"light dark\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.vessl.ai/reference/yaml/serve-yaml\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reference/yaml/serve-yaml.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.vessl.ai/#organization\",\"name\":\"VESSL AI\",\"url\":\"https://docs.vessl.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vesslai/ONhMTXRTdM7mlkKv/logo/light.png?fit=max\u0026auto=format\u0026n=ONhMTXRTdM7mlkKv\u0026q=85\u0026s=ad8341493ecb8d8efd7f0902123d0022\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.vessl.ai#website\",\"name\":\"VESSL AI\",\"url\":\"https://docs.vessl.ai\",\"publisher\":{\"@id\":\"https://docs.vessl.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.vessl.ai/reference/yaml/serve-yaml#webpage\",\"url\":\"https://docs.vessl.ai/reference/yaml/serve-yaml\",\"name\":\"Serve YAML\",\"description\":\"VESSL Serve is configured through a single YAML file.\",\"dateModified\":\"2025-11-19T01:47:00.952Z\",\"isPartOf\":{\"@id\":\"https://docs.vessl.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.vessl.ai/reference/yaml/serve-yaml#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.vessl.ai/reference/yaml/serve-yaml#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"YAML Reference\",\"item\":\"https://docs.vessl.ai/reference/yaml/run-yaml\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Serve YAML\",\"item\":\"https://docs.vessl.ai/reference/yaml/serve-yaml\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.vessl.ai/reference/yaml/serve-yaml#article\",\"headline\":\"Serve YAML\",\"name\":\"Serve YAML\",\"description\":\"VESSL Serve is configured through a single YAML file.\",\"url\":\"https://docs.vessl.ai/reference/yaml/serve-yaml\",\"mainEntityOfPage\":{\"@id\":\"https://docs.vessl.ai/reference/yaml/serve-yaml#webpage\"},\"dateModified\":\"2025-11-19T01:47:00.952Z\",\"publisher\":{\"@id\":\"https://docs.vessl.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.vessl.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"VESSL AI\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"VESSL AI","nav":{"global":{"anchors":[{"anchor":"Explore models","icon":"wand-sparkles","href":"https://app.vessl.ai/hub"},{"anchor":"Blog posts","icon":"newspaper","href":"https://blog.vessl.ai"},{"anchor":"YouTube","icon":"youtube","href":"https://www.youtube.com/@vesslai"}]},"tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/guides/get-started/overview"}]},{"tab":"Examples","pages":[{"title":"Examples","href":"/examples/uses"}]},{"tab":"Reference","groups":[{"group":"YAML Reference","pages":[{"title":"Run YAML","description":"VESSL Run is configured through a single YAML file.","version":"EN","href":"/reference/yaml/run-yaml"},{"title":"Serve YAML","version":"EN","href":"/reference/yaml/serve-yaml"},{"title":"Cheat Sheet","description":"Full list of YAML configurations.","href":"/reference/yaml/cheatsheet"}]},{"group":"CLI Reference","pages":[{"title":"vessl cluster","version":"EN","href":"/reference/cli/cluster"},{"title":"vessl configure","version":"EN","href":"/reference/cli/configure"},{"title":"vessl experiment","version":"EN","href":"/reference/cli/experiment"},{"title":"vessl image","version":"EN","href":"/reference/cli/image"},{"title":"vessl model","version":"EN","href":"/reference/cli/model"},{"title":"vessl organization","version":"EN","href":"/reference/cli/organization"},{"title":"vessl project","version":"EN","href":"/reference/cli/project"},{"title":"vessl run","version":"EN","href":"/reference/cli/run"},{"title":"vessl service","version":"EN","href":"/reference/cli/serve"},{"title":"vessl ssh-key","version":"EN","href":"/reference/cli/ssh-key"},{"title":"vessl storage","version":"EN","href":"/reference/cli/storage"},{"title":"vessl sweep","version":"EN","href":"/reference/cli/sweep"},{"title":"vessl workspace","version":"EN","href":"/reference/cli/workspace"},{"title":"vessl dataset (Deprecated)","version":"EN","href":"/reference/cli/dataset"},{"title":"vessl volume (Deprecated)","version":"EN","href":"/reference/cli/volume"}]},{"group":"SDK Reference","pages":[{"group":"Integrations","pages":[{"title":"Keras","version":"EN","href":"/reference/sdk/integrations/keras"},{"title":"Transformers","version":"EN","href":"/reference/sdk/integrations/transformers"}]},{"group":"Utilities","pages":[{"title":"vessl.configure","version":"EN","href":"/reference/sdk/utilities/configure"},{"title":"vessl.log","version":"EN","href":"/reference/sdk/utilities/log"},{"title":"vessl.Image","version":"EN","href":"/reference/sdk/utilities/image"},{"title":"vessl.Audio","version":"EN","href":"/reference/sdk/utilities/audio"},{"title":"vessl.hp.update","version":"EN","href":"/reference/sdk/utilities/update"},{"title":"vessl.progress","version":"EN","href":"/reference/sdk/utilities/progress"}]},{"title":"Cluster","version":"EN","href":"/reference/sdk/cluster"},{"title":"Experiment","version":"EN","href":"/reference/sdk/experiment"},{"title":"Image","version":"EN","href":"/reference/sdk/image"},{"title":"Model","version":"EN","href":"/reference/sdk/model"},{"title":"Organization","version":"EN","href":"/reference/sdk/organization"},{"title":"Project","version":"EN","href":"/reference/sdk/project"},{"title":"RunnerBase","version":"EN","href":"/reference/sdk/runnerbase"},{"title":"Service","version":"EN","href":"/reference/sdk/service"},{"title":"SSH-key","version":"EN","href":"/reference/sdk/ssh-key"},{"title":"Storage","version":"EN","href":"/reference/sdk/storage"},{"title":"Sweep","version":"EN","href":"/reference/sdk/sweep"},{"title":"Workspace","version":"EN","href":"/reference/sdk/workspace"},{"title":"Dataset (Deprecated)","version":"EN","href":"/reference/sdk/dataset"},{"title":"Volume (Deprecated)","version":"EN","href":"/reference/sdk/volume"}]},{"group":"Serverless Inference API Reference","pages":[{"title":"Send a request","api":"POST {base_url}/request/{path}","href":"/reference/serverless-api/send-a-request"},{"title":"Create an asynchronous request","api":"POST {base_url}/async","href":"/reference/serverless-api/create-async-request"},{"title":"Fetch output of an asynchronous request","api":"GET {base_url}/async/{request_id}/output","href":"/reference/serverless-api/get-async-request-output"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/overview/updates"}]}]},"basePath":"","title":"VESSL AI Documentation","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["10e4515597"],"chunks":["BannerMarkdown-DHaG7hr_.js","dist-DKZWslLH.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-BIWXJmsZ.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js"]}