Service
A service is a continous task that does not end. Something a task may require a service to perform.
Service can help task to perform their work. For example a database for your application or an api to your integration test run.
Services can be defined to run in a container or forwarded from a kubernetes cluster. Each need of a task will be available in the container network by the name of the service.
Local tasks can also use needs, but hammerkit will not provide a dns resolution.
Container
Similar to container tasks need container services an image to run. Tasks can declare the need for services and before the task gets executed, hammerkit will ensure the service is running.
Healthchecks can be used, to ensure that the service is running and ready to be used.
Kubernetes
Kubernetes services allow to use resources from local and remote kubernetes clusters. This allows easy integration with development or staging environments resources and can be used to debug/troubleshoot your application with data from other environments.
Last updated