i want to use the skaffold in ubuntu 20 . i using this command for install :
curl -Lo skaffold https://storage.googleapis.com/skaffold/builds/latest/skaffold-linux-amd64 && \
sudo install skaffold /usr/local/bin/
and it complete downloaded but after complete download it show me this message :
sudo: unable to resolve host slave-node: Name or service not known
i installed the kubernetes in my ubuntu
this is my skaffold.yaml
in my project :
apiVersion: skaffold/v0.25.0
kind: Config
deploy:
kubectl:
manifests:
- ./infra/k8s/*
build:
local:
push: false
artifacts:
- image: stephengrider/auth
context: auth
docker:
dockerfile: Dockerfile
sync:
manual:
- src: 'src/**/*.ts'
dest: .
and when i run this command it show me this message :
parsing skaffold config: unknown api version: "skaffold/v0.25.0"
whats the problem ? how can i solve this problem ???
You are using wrong API version.
Look at the skaffold.yaml reference page - you can see there proper
apiVersion
examples:Even if you use Skaffold v0.25.0 Release - 3/15/2019, there is a note that fix your problem.
So using
apiVersion: skaffold/v1beta7
should help