NFS provisioner for your K8S cluster

2020-07-26
Kubernetes NFS ReadWriteMany persistence

Do you need ReadWriteMany storage class and your cloud provider doesn’t offer it?

According to Wikipedia , Network File System (NFS) is a distributed file system protocol originally developed by Sun Microsystems (Sun) in 1984, allowing a user on a client computer to access files over a computer network much like local storage is accessed.

Even though this idea is 35 years old, it is still very useful in your Kubernetes cluster, specially if you need ReadWriteMany storage class. If you are interrested about this, you are probably wondering how to achieve this?

Well, just install NFS Server Provisioner Helm chart:

helm install stable/nfs-server-provisioner \
    --name nfs-server \
    --set persistence.enabled=true
    --set persistence.size=10Gi

After successful installation, your Kubernetes cluster will get one more storage class, namelly nfs. Now you can turn on persistance on any of your applications just by setting storage class to nfs and even better, you can set access mode to ReadWriteMany, not just ReadWriteOnce. This allows multiple pods to use the same volume or actually, this allows replicas of your application.

Automated MySQL MariaDB tables optimization in Kubernetes

Cronjob based automated optimization of MariaDB or MySQL tables on Kubernetes
Kubernetes MariaDB MySQL optimization schedule

A first impression of Rust from the perspective of a Go developer

Rust is very powerful, but let's see how it compares to Go
Go Rust Kubernetes controller secret replicator

Develop Kubernetes native applications in Golang with auto-recompile and auto-restart

Learn how to have automatic recompile and restart of your Go project running on Kubernetes
Kubernetes Go Golang development controller operator native application autorecompile autorestart