Backups are an important part of any system. Kubernetes is no exception. Kubernetes has distributed key-value store called etcd, used as Kubernetes’ backing store for all cluster data. In this tutorial, you will learn how to backing up and restoring a Kubernetes cluster state stored in etcd. This will help you get familiar with the steps involved in backing up Kubernetes data.

In this tutorial, I’m going to backup an existing Etcd cluster, clear existing data and restore.

Back Up the etcd Data

Look up the value for the key in the etcd cluster:

Today I was looking for a way to migrate GitLab repository to GitHub without losing commit history. In my case I wanted to import from private GitLab to GitHub. So, I came up with a few options for get this done.

Method 1: GitHub Repository Importer

That very easy, If you have a project hosted on another version control system, you can automatically import it to GitHub using the GitHub Importer tool.

  1. In the upper-right corner of any page, click , and then click Import repository.
  2. Under “Your old gitlab repository’s clone URL”, type the URL of the project you want to import.
  3. Choose your…

Kubeadm is a tool that can be used to build a minimal viable Kubernetes Cluster of production grade.

Step 1: Install Packages

ssh into each node and create containerd configuration file by executing the below command. This command will instruct the node to load overlay and br_netfilter kernal modules.

We have to restart nodes to load them. Instead of restarting, run the below commands to load modules immediately

Then set these system configurations for Kubernetes networking

Initially, SLIIT FOSS website was written in pure HTML, CSS and JS. That project was developed by Nandun Bandara, Shafkhan Mohamed, Ahamed Safnaj and my self. You can find that old repository here, but we have archived it.

Setting up the Project

In early 2020 we wanted to enhance and complete SLIIT FOSS website. At that time we were wondering what frontend technology we should use for this. Since Angular is a TypeScript-based open-source web application framework led by the Angular Team at Google and by a community of individuals and corporations so that Kaveesha Gimhana and I thought to go with Angular, so…

I hope you already know GitHub is where you can put your git repositories likewise docker hub is where you can put your docker images. A Docker image is a file, comprised of multiple layers, that is used to execute code in a Docker container.


  • You must have a application 🤭
  • You must have a docker hub account and docker hub repository
  • Your GitHub repository should contain a Dockerfile

Note: — Your application language doesn't matter write a dockerfile correclty

Step 1 — Click on Actions Tab on your GitHub repository

Depending on the method used to set up the cluster, the upgrade method will change. If a managed cluster is used, cluster upgrades will also be taken care of by the service provider (GCP, AWS, Azure etc.). In this scenario, Kubeadm tool was used to set up the cluster, hence; Kubeadm will be used to upgrade the cluster as well.

Note this

  • Kubeadm should upgrade from one major version to another. You cannot skip another version and upgrade to it. 1.16 to 1.17, 1.17 to 1.1.8. Assume that our current version is 1.17 …

Azure Functions is an event-driven, compute-on-demand experience that extends the existing Azure application platform with capabilities to implement code triggered by events occurring in Azure or third party service as well as on-premises systems. You can write an azure function using C#, Node.JS, Java, or Python. In this tutorial, I’m going to create an Azure function using VS Code and Azure Function Extension.

If you don’t have installed VS Code in your computer follow this URL and install.

  1. Open VS Code and Click Extension button and install Azure Tools extension

Azure DevOps Server is a Microsoft product that provides version control, reporting, requirements management, project management, automated builds, lab management, testing and release management capabilities. It covers the entire application lifecycle, and enables DevOps capabilities. In this article I’m going to show you how to create a azure build/release pipeline with React.

  1. Create New React App and move to the project directory

2. Create a GitHub Repository and push your project to GitHub Repo

3. Go to Azure DevOps and click on new project button

What’s a API?

An API is an application programming interface. It is a set of rules that allow programs to talk to each other. The developer creates the API on the server and allows the client to talk to it.

REST determines how the API looks like. It stands for “Representational State Transfer”. It is a set of rules that developers follow when they create their API. One of these rules states that you should be able to get a piece of data (called a resource) when you link to a specific URL.

Each URL is called a request while the data sent…

Nodemon is a utility that will monitor for any changes in your source and automatically restart your server. Perfect for development.

Just use nodemon instead of node to run your code, and now your process will automatically restart when your code changes. To install, get node.js, then from your terminal run:

If you’re using yarn as a package manager

So run your app using nodemon nodemon <YOUR_APP_FILE>.js

Arguments can be passed-in the same way as if you were running the script with Node:

As you can see from the…

Chamod Shehanka

Chamod Shehanka a FullStack Developer at Platformer and Writer at Noteworthy, Platformer and The Java Report

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store