Deploying OpenECPDS on Kubernetes¶
If you have successfully built the OpenECPDS containers (see Installation) and enabled Kubernetes in Docker (see System Requirements), you can deploy OpenECPDS to a Kubernetes cluster.
Navigate to the directory where the Kubernetes Makefile is available:
Build and start the pods¶
To convert the deploy/kubernetes/docker-compose.yml file into Kubernetes YAML files in the k8s-configs directory and start the pods, run:
Find the external ports¶
If successful, use the following command to get the port mappings needed to connect from outside the cluster:
If the default port for the monitoring interface has not been updated in the docker-compose.yml file, you can find the external port by checking the redirection for port 3443, for example:
You can then use your browser to access the monitoring interface at:
Export the full configuration¶
To get the YAML files for all pods, PVs, and PVCs (you can redirect the output to capture the full configuration), run:
Tear down¶
To delete all Kubernetes resources and stop the pods: