Skip to main content

Kubernetes Cluster

You can install the Dev Portal locally, for study purposes, or in a Kubernetes Cluster, when the application is used by a Squad and accessed by business partners who will consume the published Specs.

For you to run DevPortal on your device you must provision a cluster

What is Kubernetes Cluster?

A Kubernetes cluster is a set of nodes that run containerized applications. Containerizing applications packages, an app with its dependencies, and some necessary services. They are more lightweight and flexible than virtual machines.

Kubectl

If you use your application in a Cluster, you will need to have Kubectl properly configured on your device.

The Kubernetes command-line tool, kubectl, allows you to run commands against Kubernetes clusters. You can use kubectl to deploy applications, inspect and manage cluster resources, and view logs. For more information including a complete list of kubectl operations, see the kubectl reference documentation.

Run this command to install Kubectl in your device:

curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"

To more information, just follow the link bellow:

https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/

To help you:

You have many ways to provide a cluster to applications, but to help you in this path, looking for improve your time, our team provide a quick builder. If you have followed all the installation prerequisites, you have already installed the VKPR. If dont, go back there and follow the steps.

Now, you can run the follow command in your system:

vkpr infra up

This command will automatically build a cluster for your application. If you want to undo your cluster, just run this command:

vkpr infra down

You can make this process without any problem for your machine. For more information about VKPR, just click in this Documentation