Updated: 03 September 2023
Deploy a Kubernetes App on ICP
You can do any of the following
- Install on your Machine (or on a VM)
- Reserve a VM on BlueDemos
- ICP Hosted Trial on BlueDemos
- Reserve a Hosted Trial
Deploy a an App to the Cluster
We can use kubectl
to deploy an application to ICP
Configure kubectl
We can use the configuration code from ICP as follows
Deploy the Application
DeveloperWorks Article on Doing this
Then we need to get our deployment manifest file and run the deploy command, we will need the following
- Deployment manifest
- Service manifest
- Ingress manifest
We need the service to expose our app on a port, and an ingress rule to expose that externally
deployment.yaml
service.yaml
ingress.yaml
We can then deploy these resource definitions on our cluster with
Alternatively we can include all three in a single file and apply it as follows
deploy.yaml