Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing Pod (of a Deployment) doesn't show its logs after Pod's container restarted due to failure #283

Open
ilya-lesikov opened this issue Sep 20, 2022 · 0 comments
Assignees

Comments

@ilya-lesikov
Copy link
Member

To reproduce, run werf converge with this manifest:

# .helm/templates/test.yaml:
apiVersion: apps/v1
kind: Deployment
metadata:
  name: test
spec:
  selector:
    matchLabels:
      app: test
  template:
    metadata:
      labels:
        app: test
    spec:
      containers:
        - name: test
          image: ubuntu:22.04
          command:
            - sh
            - -ec
            - |
              echo date: $(date) && false

This will show date: <current date> log line in werf converge log only once, but it should be twice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant