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

[FEATURE] Add support for exec health and readiness checks #113

Open
astromechza opened this issue Nov 29, 2024 · 0 comments · May be fixed by #114
Open

[FEATURE] Add support for exec health and readiness checks #113

astromechza opened this issue Nov 29, 2024 · 0 comments · May be fixed by #114
Labels
new feature/idea New feature or request

Comments

@astromechza
Copy link
Member

Detailed description

The existing http probe checks are useful but not all container runtimes support them (for example, docker compose, etc..). A command-based probe is often more generic and easier to configure correctly.

Context

Score-compose cannot perform http health checks on containers or services.

Possible implementation

execProbe:
  type: object
  additionalProperties: false
  required: [command]
  properties:
    command:
      type: array
      items:
        type: string

Also a good idea to add to the existing containerProbe spec:

  • intervalSeconds: the time in seconds between executions of the probe

(there are lots of other possibe fields here too but we want to keep things simple)

Additional information

No response

@astromechza astromechza changed the title [FEATURE] Add support for command health and readiness checks [FEATURE] Add support for exec health and readiness checks Nov 29, 2024
@astromechza astromechza added the new feature/idea New feature or request label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature/idea New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant