How To Run Vue.js With NodeJS API on Minikube

Learn how to deploy and run it on Kubernetes on your local machine

Bhargav Bachina
Bachina Labs

--

Photo by Sonnie Hiles on Unsplash

Most of the companies are adopting some kind of container orchestration and running all their modern apps on Kubernetes. It’s always convenient to run the apps on Minikube which is a single-node Kubernetes cluster that can be installed on your local machine. In this post, we can deploy and run Vue with nodeJS backend API on Minikube on our local machine.

  • Introduction
  • Example Project
  • Run it On Docker
  • Publishing the Docker Image
  • Create a Deployment and Service Objects
  • How to access deployment from the browser
  • Summary
  • Conclusion

Introduction

Minikube is a tool that runs a single-node Kubernetes cluster in a virtual machine on your personal computer. We are going to deploy and run the Vue app with NodeJS API on MInikube in this article. First, we create this project and run it normally, then we will run the same on the Docker and, finally, we create a deployment and service objects to deploy and run it on Kubernetes locally.

--

--