In this post we see how to install Portainer in a Kubernetes custom cluster.
To do this we use AWS EC2 to create our self-made Kubernetes cluster. Then we have to create first a local storage class provisioner through sig-storage-local-static-provisioner, because Portainer requires data persistence, as specified in its documentation.
Category: Kubernetes
In the previous examples we used Kubernetes with Docker Desktop for an application composed of Node.js microservices and a Redis database.
In this post we see a simple example about how we can create our Kubernetes cluster with three CentOS 8 virtual machines provided by Amazon AWS EC2.
In the previous example we have seen how to use Docker Compose to deploy a Node.js microservice to interact with Redis, also showing in a basic way how Redis persistence works.
Now let’s see istead how to use Kubernetes and Docker to do the same, showing also how we can easily scale up our application.