0

I have a skaffold.yamlfile like below:

apiVersion: skaffold/v2alpha3
kind: Config
deploy:
  mk:
    manifests:
      - ./infra/k8s/*
build:
  local:
    push: false
  artifacts:
    - image: learnertester/auth
      context: auth
      docker:
        dockerfile: Dockerfile
      sync:
        manual:
          - src: 'src/**/*.ts'
            dest: .
    - image: learnertester/ticketing-client

Now, I have installed microk8s on Ubuntu 22.04 and want to use it. I have also defined an alias mk for microk8s kubectl. But when I change the following line:

deploy:
  kubectl:

To:

deploy:
  mk:

I get the below error running skaffold dev:

parsing skaffold config: error parsing skaffold configuration file: unable to parse config: yaml: unmarshal errors:
  line 55: field mk not found in type v2alpha3.DeployConfig

How should I fix that?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.