Hello World for Uffizzi Virtual Clusters (~2 min)
This repo demonstrates how you can create Kubernetes virtual cluster on Uffizzi Cloud, the apply manifests for an example application.
- Clone this repository
git clone https://github.com/UffizziCloud/hello-world.git && \
cd hello-world
- Authenticate with Uffizzi. This command will open a browser window for you to login or create an account.
uffizzi login
- Create a Uffizzi cluster
uffizzi cluster create hello
# [⠦] Creating cluster hello...
- Apply Kubernetes Manifests
kubectl apply -f ./manifests
Wait for the deployment to come up
- Get the Ingress to the deployed application
kubectl get ingress web --kubeconfig ~/.kube/config -o json | jq '.spec.rules[0].host' | tr -d '"'
The host address should look something like this:
web-default-hello-c850.uclusters.app.uffizzi.com
Copy and past this address into your browser to see the application running.
- Cleanup
uffizzi cluster delete hello