JPPF in Docker containers
From JPPF 6.3 Documentation
|
Main Page > Deployment > Containers |
1 Docker images and registry
The latest JPPF docker images are available on Docker Hub in the JPPF docker registry
We currently have images and corresponding Dockerfiles for:
- JPPF drivers
- JPPF nodes
- the JPPF web administration console
2 Deployment on Kubernetes
JPPF docker images can be deployed in a Kubernetes cluster using the JPPF helm chart.
JPPF hosts its own Helm charts repository at https://www.jppf.org//helm-charts. To add this repository under the name "jppf-repo":
$ helm repo add jppf-repo {{SERVER}}//helm-charts
To list all the charts in the JPPF repository:
$ helm search jppf-repo/
To install from the repository:
$ helm install --name jppf --namespace jppf jppf-repo/jppf
To uninstall the JPPF cluster:
$ helm delete jppf
For more details on configuration and usage, the full helm chart documentation is available in the source code repository.
3 Deployment on Docker swarm
JPPF can also be deployed in a Docker swarm cluster with Docker stack. The deployment relies on a docker-compose.yml file which defines the JPPF services to deploy, and a .env file which defines the environment variables the services depend on.
To deploy JPPF in a swarm cluster with a stack name "jppf":
$ docker stack deploy -c ./docker-compose.yml jppf
To shutdown the JPPF service stack:
$ docker stack rm jppf
Main Page > Deployment > Containers |