In the previous article, we talked about connecting to an NFS Server, only via Persistent Volumes configuration.
In conjunction with the direct node mapping to NFS Method we saw in this article, this method is the most used way to use NFS Server with Kubernetes.
In this third and last article of the series, I’ll show you how to automate part of the work, creating a persistent volume.
It saves a lot of work in the long run but requires more work with the initial configuration.
Most of the tutorials you will see on the internet to create custom storage…
In the previous article, we talked about one of the most common methods of using an NFS Server to store data from our apps in the Kubernetes cluster.
One of the drawbacks of that method is the necessity of manually configure the folder mappings in each node before creating the Persistent Volumes. It’s tedious and sometimes more complicated to manage than it should
This article will show a second way to connect to an NFS Server, only via Persistent Volumes configuration.
This article is part of a series about Kubernetes using NFS Server as a source for persistent volumes. …
In the previous article, we start the journey using the NFS Server to store data from our apps in the Kubernetes cluster.
We now have a k8s cluster running in the network, and an NFS Server configured with the endpoints we’ll need to access. In this article, I’ll show you the first method to access the NFS via Persistent Volumes.
This article is part of a series about Kubernetes using NFS Server as a source for persistent volumes. Here is the list of articles of this series:
Kubernetes environment, by definition, should be stateless. That way, you can scale your applications, rolling upgrades, and restart crashed apps continuously without any problems.
Unfortunately, except for some serverless applications, we need to persist the data almost all the time.
Data must be retained beyond the life-cycle of a given application, pod, or even cluster in most cases. To make it possible Kubernetes users will need to utilize a persistent volume.
We have several options to do it in Kubernetes, from local storage in the node to cloud volumes.
In this series, I’m describing 3 different ways to create these…
Before starting with Kubernetes installation, let’s do a quick recap about our raspberry pi cluster and hardware architecture.
This article can be applied to any computer cluster, bare-metal, on the cloud, or virtualized with the virtual box or docker in docker.
In my case I decided to create a bare-metal cluster based on Raspberry Pi computational units, you can check how to do it here.
At this moment, we have a 4 node raspberry pi configured and communicating with each other via fixed IPs. We also configured other details like timezone and firewalls to start to install our cluster.
So, I decided to build a raspberry pi Kubernetes cluster and describe the process here. I know there are tons of material all over the internet about that. Still, Kubernetes is so flexible and can be configured in so many ways that maybe, this tutorial helps you with some specific configuration or even inspire you to build your own cluster.
This article will cover the hardware and initial configurations.
If you are interested in the Kubernetes installation you can check this article here.
Initially, I was not planning to use k3s for this setup, and since the full k8s is…
This week I had to prepare a multinode k8s solution to run on developers’ computers.
Among all the requirements, the solution should be light enough not to compromise the overall machine performance and easy to fine-tune k8s configurations to test with different development approaches.
I worked with Virtual Box VM’s to create my cluster, but I decided to write this guide explaining the process since the network configuration was not so trivial.
The first thing to consider when using virtual boxes to create a Kubernetes cluster is the network.
Virtual box has 3 types of configurable network:
Formatting code and adhering to style guides bring a considerable improvement in quality for our projects. As well said by Bob Martin, the ratio of time spent reading code versus writing is well over 10 to 1.
Besides better reading, it also helps the team work more concise and fewer changes appearing in the code reviews, letting us focus on what really matters.
This guide is focused on nodejs projects using typescript and adherent to the Airbnb style guide but can be adapted for other scenarios.
I’ll put here the step by step creating a new project (for clarity), but…
I’ve been helping companies to transform their big ideas in profitable business for more than 20 years