GoogleContainerTools / GoogleContainerTools/skaffold

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

Open
#5,592 2 comments 0 reactions 0 assignees View on GitHub
bugbash/q4-2022 help wanted kind/bug priority/p3
Dominant language
Go
Stars
15.9k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
10

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.