Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.
This repository was archived by the owner on May 6, 2020. It is now read-only.

workers are deployed with a healthcheck #879

@bacongobbler

Description

@bacongobbler

For example, deploying example-dockerfile-procfile-http:

><> deis scale worker=1
Scaling processes... but first, coffee!
done in 128s
=== www Processes
--- worker:
www-v2-worker-sy6c2 starting (v2)
--- web:
www-v2-web-dp2h0 up (v2)

From checking the pod:

readinessProbe:
      failureThreshold: 1
      initialDelaySeconds: 5
      periodSeconds: 5
      successThreshold: 1
      tcpSocket:
        port: 80
      timeoutSeconds: 5

The worker process does not run the API server, therefore it will always fail the health check. Non-web processes should not have a healthcheck.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions