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

Deployment without probes doesn't show full log #282

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

Deployment without probes doesn't show full log #282

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

Comments

@ilya-lesikov
Copy link
Member

On successful converge full log of the Deployment's Pod is not showed if the Pod doesn't have any probes.

To reproduce, werf converge 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 POD STARTED
              tail -f /dev/null

Will result in no "POD STARTED" log line in werf converge log. But adding

          startupProbe:
            exec:
              command: ["/bin/sleep", "5"]
            timeoutSeconds: 10

to the deployment makes the log line appear in werf converge log, as expected.

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