Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update docs for new runtimeType field #8298

Merged
merged 1 commit into from
Jan 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions docs-v2/content/en/docs/workflows/debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,11 @@ your base image. (`//` comments must be stripped.)

## Supported Language Runtimes

This section describes how `debug` recognizes the language runtime used in a
container image for specific language runtimes.
The language runtime for the artifacts can be specified in the `skaffold.yaml` file.
{{% readfile file="samples/debug/runtime-type.yaml" %}}

Otherwise Skaffold `debug` recognizes the language runtime used in a
container image for specific language runtimes using standard heuristics described below.

{{% tabs %}}
{{% tab "GO" %}}
Expand Down
5 changes: 5 additions & 0 deletions docs-v2/content/en/samples/debug/runtime-type.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
build:
artifacts:
- image: gcr.io/k8s-skaffold/example
runtimeType: go # specify one of `go`, `nodejs`, `jvm`, `python`, or `netcore`
local: {}