# Connect to cluster using kubectl
az aks get-credentials --resource-group $RESOURCE_GROUP --name $CLUSTER_NAME
# verify connection
kubectl get nodes
# Install dependencies
npm install
# To synthesize the app, run:
npm run compile && cdk8s synth
# Apply the synthesized manifest to a Kubernetes cluster
kubectl apply -f dist/hello.k8s.yaml
# Display services to see external ips to access
kubectl get services
# Delete resources
kubectl delete -f dist/hello.k8s.yaml