Type object
File match okteto.yml okteto.yaml okteto.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/okteto/latest.json
Source https://raw.githubusercontent.com/okteto/okteto/refs/heads/master/schema.json

Validate with Lintel

npx @lintel/lintel check
Type: object

A JSON schema providing inline suggestions and validation for creating Okteto Manifests in supported code editors. Okteto Manifests define Development Environments and workflows for Kubernetes applications, simplifying cloud-native development.

Properties

deploy string | object[] | object

A list of commands to deploy your development environment. It's usually a combination of helm, kubectl, and okteto commands. Documentation: https://www.okteto.com/docs/reference/okteto-manifest/#deploy-string-optional

icon string

The icon associated to your development environment in the Okteto UI. Documentation: https://www.okteto.com/docs/reference/okteto-manifest/#icon-string-optional-1

dependencies string[] | object

A list of repositories you want to deploy as part of your development environment. Documentation: https://www.okteto.com/docs/reference/okteto-manifest/#dependencies-string-optional

dev object

A list of development containers to define the behavior of okteto up and synchronize your code in your development environment. Documentation: https://www.okteto.com/docs/reference/okteto-manifest/#dev-object-optional

forward string | object[]

Global port forwards to handle port collisions automatically between multiple okteto up sessions. Documentation: https://www.okteto.com/docs/reference/okteto-manifest/#forward-string-optional-1

external object

A list of external resources that are part of your development environment. Use this section for resources that are deployed outside of the Okteto cluster

build object

A list of images to build as part of your development environment. Documentation: https://www.okteto.com/docs/reference/okteto-manifest/#build-object-optional

test object

A dictionary of Test Containers to run tests using Remote Execution. Documentation: https://www.okteto.com/docs/reference/okteto-manifest/#test-object-optional

destroy string | object[] | object

A list of commands to destroy external resources created by your development environment. Documentation: https://www.okteto.com/docs/reference/okteto-manifest/#destroy-string-optional

name string

The name of your development environment. It defaults to the name of your git repository. Documentation: https://www.okteto.com/docs/reference/okteto-manifest/#name-string-optional