Difficulty: Introduction
Estimated Time: 10 minutes

Conclusion

You now understand how to run Shiny applications on Kubernetes.

R Shiny

Lessons Learned

With these steps you have learned:

  • how to use the basics of the kubectl CLI tool,
  • how to install Shiny applications on Kubernetes,
  • how containers are deployed as Deployments in Pods,
  • how a Service can provide access to a replication of Pods.

Use this same technique to create your own containers containing your own Shiny solutions.

References


No Fluff Just Stuff

For a deeper understanding of these topics and more join me, Jonathan Johnson, for a transcendent experience on the No Fluff Just Stuff Software Symposium Tour.

R Shiny

Step 1 of 4

Your Kubernetes Cluster

As you see, your Kubernetes cluster based on Minikube is will be available in a moment. Verify it's ready for your use:

minikube version && minikube status

Notice that while Minikube is running, there is nothing deployed except for a single service/kubernetes item,

kubectl get deployments,pods,services

and no services are listed.

minikube service list --namespace default

A clean slate, let's deploy our first application.

Terminal
Shiny Demo
Shiny Wordcloud
Kubernetes Dashboard