Skip to main content
Deploy a simple nginx app using Kubernetes manifests. This verifies your cluster is working and shows the kubectl workflow.

Prerequisites

Complete Getting Started steps 1-5 to set up CLI and create a VM.

Get your workload hostname

Save this value - you’ll need it for the Ingress configuration.

Create the manifest

Create a file named web-app.yaml with the following content, or download it here. Replace <your-workload-hostname> with your actual hostname from the previous step.

Deploy

Verify

Check the deployment is ready:
Get your app URL:
Open https://<hostname> in your browser. You should see:
Hello from k8s!
TLS certificate is provisioned automatically (may take a minute).

Clean up