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

use healthcheck and resources in compose #386

Open
bgruening opened this issue Oct 8, 2017 · 0 comments
Open

use healthcheck and resources in compose #386

bgruening opened this issue Oct 8, 2017 · 0 comments

Comments

@bgruening
Copy link
Owner

bgruening commented Oct 8, 2017

It would be nice to upgrade our default compose file to include healthcheck and more resources. If we upgrade kompose and use the new 1.2 release we could also use this features in k8s.

    healthcheck:
      test: ["CMD", "echo", "helloworld"]
      interval: 1m30s
      timeout: 10s
      retries: 3
    deploy:
      replicas: 6
      resources:
        limits:
          cpus: '0.001'
          memory: 50M
        reservations:
          cpus: '0.0001'
          memory: 20M
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