Deploy Services on Target Cluster¶
Once a cluster has been created (or reused as per the existing cluster deployment model), you can use the Edge Conductor tool to deploy services. Do the following:
Download Helm charts, yaml, and other files and upload to a local HTTP server.
Download the required container images and push those to the local container registry.
Deploy services on the target cluster.
For example, to deploy services:
Wrap it up as the helm chart tarball or a .yml file.
Place the helm chart tarball or .yml file in a public accessible web server or directly in a Day-0 host local folder.
Add the URL (
https://...
orfile://...
) to theservice_manifest.yml
file.
For a complete list of services that can be set up, refer to the configs/service/service_manifest.yml
file.
Run the following command to build services on the target cluster:
./conductor service build
You will see an output similar to:
INFO[0000] Edge Conductor - Build Services
INFO[0000] ==
INFO[0000] Current workflow: service-build
...
INFO[0007] Downloading service resource files.
INFO[0008] Downloaded successfully.
...
INFO[0009] workflow finished
INFO[0009] ==
INFO[0009] Done
Run the following command to deploy services on the target cluster:
./conductor service deploy
You will see an output similar to:
INFO[0000] Edge Conductor - Deploy Services
INFO[0000] ==
INFO[0000] Current workflow: service-deploy
...
INFO[0001] Yaml services will be deployed.
INFO[0002] Helm services will be deployed.
INFO[0003] Successfully installed releases...
...
INFO[0004] workflow finished
INFO[0004] ==
INFO[0004] Done
After the services are deployed, install the kubectl tool (v1.20.0) Then, you can interact with the target cluster using the kubeconfig
exported by the Edge Conductor tool.
kubectl get pod,svc -A
For more details, refer to Interact with Nodes.