Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@ilya-lesikov

Description

@ilya-lesikov

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions