Articles

Node.js DevOps example

Node.js DevOps example thumbnail
In this article, we’ll build a simple Node.js application that uses Express to respond to HTTP requests. In order to deploy this application to production, we’ll also configure a GitLab CI/CD pipeline so as to dockerize it and deploy its container to a Kubernetes cluster.
DevOpsKubernetesTutorialsDockerNode.js

GitLab CI Microk8s integration

GitLab CI Microk8s integration thumbnail
GitLab provides Kubernetes integration out of the box, which means that GitLab CI/CD Pipelines can be used to deploy applications in Kubernetes easily. This guide presents how to integrate a Kubernetes cluster in a GitLab Project and follows Gitlab documentation. For this particular case, the cluster will be that of a Microk8s Kubernetes distribution.
Microk8sGitLabTutorialsKubernetes

Application containerization

Application containerization thumbnail
Let's imagine a developer building an application on his computer and that this application is meant to be deployed on a different machine (production environment). In order to execute properly, this application requires multiple libraries, binaries and packages. For example, a Python program requires the Python interpreter as well as all the imported Python modules.
DevOpsDockerTutorials

APIs: Why and how

APIs: Why and how thumbnail
From a simplistic point of view, software can be seen as a combination of operations performed on data. Data comes in, gets processed through a series of functions and some result comes out.
WebTutorials

Wireless motion sensor

Wireless motion sensor thumbnail
This is a wireless motion sensor that runs on rechargeable batteries. It can be deployed anywhere and sends a signal using an NRF24L01 wirless module whenever it detects motion.
ElectronicsProjectsArduino

Creating a private docker registry for Kubernetes

A docker registry can be run easily using as a docker container using docker itself.
DevOpsKubernetesDocker

Bash check if environment variable is set

When writing bash scripts, it is sometimes necessary to check if an environment bariable is set.
Bash

Securing an ingress with basic auth

This article describes how to use basic auth to protect an ingress in Kuberentes. It it <a href="https://kubernetes.github.io/ingress-nginx/examples/auth/basic/" rel="noopener noreferrer nofollow">based on this page</a>.
TutorialsSecurityKubernetes

Reducing GitLab memory consumption

The memory consumption of GitLab can be reduced slightly by turning prometheus monitoring off:
GitLab

Microk8s manage SSL certificates DNS entries

Microk8s provides settings to add a custom domain to its DNS settings. This article presents how to do so.
KubernetesMicrok8s