GoogleContainerTools/skaffold

skaffold will not tail logs when just using deploy will print out logs if using build and deploy

Open

#5,592 opened on Mar 23, 2021

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Go (1,416 forks)batch import
bugbash/q4-2022help wantedkind/bugpriority/p3

Repository metrics

Stars
 (12,822 stars)
PR merge metrics
 (Avg merge 3d 6h) (16 merged PRs in 30d)

Description

Expected behavior

it would be nice to be able to tail the pod logs with just having deploy in skaffold.yaml and running skaffold dev. Right now this does not work just goes up to watching for changes....

Also if you are using both build and deploy if you change the code you don't get the pod logs of changed state

Actual behavior

the only way to get the tailed pod logs is if you build an image and deploy

Information

  • Skaffold version: v1.21.0
  • Operating system: 18.04.5 LTS (Bionic Beaver)
  • Installed via: skaffold.dev
  • Contents of skaffold.yaml:

apiVersion: skaffold/v2beta13 kind: Config deploy: helm: releases: - name: skaffold-helm chartPath: charts artifactOverrides: image: dockerrepo.broadbus.com:5000/skaffold-helm

Steps to reproduce the behavior

  1. just have deploy in skaffold.yaml file

Contributor guide