setup.md (Open this notebook in Stateful Cloud)
This guide is designed to walk you through the basics of the use case.
Validate your Kubernetes setup by running:
kubectl versionYou should see output with both a Client Version and Server Version
component.
exit 1Let's install a demo application called Emojivoto. Emojivoto is a simple standalone Kubernetes application that uses a mix of gRPC and HTTP calls to allow the user to vote on their favorite emojis.
Tail the pods
kubectl get pods -n emojivoto -wInstall Emojivoto into the emojivoto namespace by running:
kubectl apply -f emojivoto.yaml
# Ran on 2024-09-24 10:28:56-07:00 for 4.471s exited with 0
namespace/emojivoto unchanged
serviceaccount/emoji unchanged
serviceaccount/voting unchanged
serviceaccount/web unchanged
service/emoji-svc unchanged
service/voting-svc unchanged
service/web-svc unchanged
deployment.apps/emoji unchanged
deployment.apps/vote-bot unchanged
deployment.apps/voting unchanged
deployment.apps/web un*****edForward the port to use the web app locally
kubectl -n emojivoto port-forward svc/web-svc 8080:80Now visit ht*****************80. Voila! You should see Emojivoto in all its glory.
Proceed with troubleshoot.md.
Share your own terminal outputs from Runme Notebooks, it's free.