Skaffold: Getting started throws unknown api version: 'skaffold/v1beta3'

Created on 19 Jan 2019  路  8Comments  路  Source: GoogleContainerTools/skaffold

Expected behavior

Getting started example should work out of the box

Actual behavior

skaffold dev
FATA[0000] creating runner: parsing skaffold config: unknown api version: 'skaffold/v1beta3'

Information

  • Skaffold version: version v0.20.0
  • Operating system: osx
  • Contents of skaffold.yaml:
apiVersion: skaffold/v1beta3
kind: Config
build:
  artifacts:
  - image: gcr.io/k8s-skaffold/skaffold-example
deploy:
  kubectl:
    manifests:
      - k8s-*

Steps to reproduce the behavior

  1. brew install skaffold
  2. git clone https://github.com/GoogleContainerTools/skaffold
  3. cd skaffold/examples/getting-started
  4. skaffold dev
kinbug kindocumentation

Most helpful comment

ok using "apiVersion: skaffold/v1beta2" seems to have gotten me moving

v0.20.0
OSX - Installed via Brew

All 8 comments

I'm sorry, this is because we had a problem when releasing v0.21 that supports skaffold/v1beta3. Should be fixed next week

@dgageot - I did notice I was running 0.20 so checked out the corresponding commit

It failed with a permission problem for gcr.io. I'll make a PR for the getting started doc.

Thank you

Should be good now, the version that's released supports v1beta3

Should be good now, the version that's released supports v1beta3

Still the same error, i tried in the same env.

same conditions, same error

Which version of Skaffold are you using?

ok using "apiVersion: skaffold/v1beta2" seems to have gotten me moving

v0.20.0
OSX - Installed via Brew

Same issue here installed via Homebrew. The workaround is using v1beta2. Thanks @iancrowther

Was this page helpful?
0 / 5 - 0 ratings