Skip to content

skaffold dev can not match manifest ./infra/k8s/* file #6701

@Dev-Harmattan

Description

@Dev-Harmattan

my code.

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

console log

Listing files to watch...
 - lekan123/auth
Generating tags...
 - lekan123/auth -> lekan123/auth:a9978a8
Checking cache...
 - lekan123/auth: Found Locally
Tags used in deployment:
 - lekan123/auth -> lekan123/auth:199adcc986f977ea49a21d8c12a86c65f16d85e40c6003fdef976efbe2d17bbb
Starting deploy...
 - deployment.apps/auth-depl configured
 - service/auth-svr configured
Waiting for deployments to stabilize...
 - deployment/auth-depl is ready.
Deployments stabilized in 2.079 seconds
Press Ctrl+C to exit
WARN[0002] ./infra/k8s/* did not match any file          subtask=-1 task=DevLoop
Watching for changes...
[auth] 
[auth] > auth@1.0.0 start
[auth] > ts-node-dev src/index.ts
[auth] 
[auth] [INFO] 09:11:00 ts-node-dev ver. 1.1.8 (using ts-node ver. 9.1.1, typescript ver. 4.4.3)
[auth] Auth running on port: 3000
WARN[0003] ./infra/k8s/* did not match any file          subtask=-1 task=DevLoop
Generating tags...
 - lekan123/auth -> lekan123/auth:latest
Some taggers failed. Rerun with -vdebug for errors.
Checking cache...
 - lekan123/auth: Found Locally
Tags used in deployment:
 - lekan123/auth -> lekan123/auth:c0721c1b37822eb7bae5384375f52d33a962650446438a6e71997893fbdeab92
Starting deploy...
WARN[0003] ./infra/k8s/* did not match any file          subtask=-1 task=DevLoop
Waiting for deployments to stabilize...
 - deployment/auth-depl: starting command /usr/local/bin/kubectl --context docker-desktop rollout status deployment auth-depl --namespace default --watch=false: pipe: too many open files
 - deployment/auth-depl failed. Error: starting command /usr/local/bin/kubectl --context docker-desktop rollout status deployment auth-depl --namespace default --watch=false: pipe: too many open files.
WARN[0004] Skipping deploy due to error:1/1 deployment(s) failed  subtask=-1 task=DevLoop
Watching for changes...
WARN[0004] ./infra/k8s/* did not match any file          subtask=-1 task=DevLoop
WARN[0005] ./infra/k8s/* did not match any file          subtask=-1 task=DevLoop
WARN[0006] ./infra/k8s/* did not match any file          subtask=-1 task=DevLoop
WARN[0007] ./infra/k8s/* did not match any file          subtask=-1 task=DevLoop
WARN[0008] ./infra/k8s/* did not match any file          subtask=-1 task=DevLoop
WARN[0009] ./infra/k8s/* did not match any file          subtask=-1 task=DevLoop
WARN[0010] ./infra/k8s/* did not match any file          subtask=-1 task=DevLoop
WARN[0011] ./infra/k8s/* did not match any file          subtask=-1 task=DevLoop
WARN[0012] ./infra/k8s/* did not match any file          subtask=-1 task=DevLoop
^CCleaning up...
WARN[0013] ./infra/k8s/* did not match any file          subtask=-1 task=DevLoop
WARN[0013] deployer cleanup:kubectl delete: pipe: too many open files  subtask=-1 task=DevLoop

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbash/q4-2022Issues related to Skaffold Bugbash Q4 2022help wantedWe would love to have this done, but don't have the bandwidth, need help from contributorskind/bugSomething isn't workingpriority/awaiting-more-evidenceLowest Priority. May be useful, but there is not yet enough supporting evidence.priority/p3agreed that this would be good to have, but no one is available at the moment.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions