Once the AKS cluster is built and the Kubernetes manifest is ready, you're now ready to deploy the Kubernetes manifest.
cd
into thekubernetes_manifest
directory- Run the following command:
kubectl create -f deployment.yml
You'll see an output that specifies the service and deployment was created.
-
Run the following command to confirm that the deployment was successful:
kubectl get deployments
-
Access uber-ui via Application Gateway
kubectl get ingress
NAME | CLASS | HOSTS | ADDRESS | PORTS | AGE |
---|---|---|---|---|---|
uber-ui | none | * | IP-ADDRESS | 80 | 11s |
Access the uber-ui using the address mentioned above, http://IP-ADDRESS