How to Install FluxCD on a Kubernetes Cluster

How to Install FluxCD on a Kubernetes Cluster (Step-by-Step Guide) Overview Hello “home-labers”, devops people and kubernetes adventurers. This post is a continuation of my new home-lab series and here I’ll be talking about the steps I took in order to install FluxCD on a Kubernetes cluster. In my case, I run a HA k3s cluster on my home-lab(link to the step by step guide on high availability k3s cluster setup - LINK) and I decided to go full GitOps and try to integrate all the best practices to deploy apps, manage infrastructure and provision resources. The first step for that was to choose a GitOps tool and for me it was FluxCD LINK. ...

Published January 15, 2025 · Updated January 20, 2025 · 7 min · 1482 words · Marko Nisic

Use MinIO as a Backend for Terraform Remote State

Overview Hello there DevOps and IaC enthusiast. In this article we will introduce MinIO, an interesting piece of software that can be self-hosted and help us solve a problem managing the Terraform remote state on the on-premises environemnts(Bare metal servers and data centers). And that’s our goal essentially - to use MinIO as a backend for Terraform remote state. My best use case for this setup is to utilizite it for hypervisor softwares(VMware, Proxmox), on prem kubernetes, docker too and so on. ...

Published November 9, 2024 · Updated December 13, 2024 · 5 min · 921 words · Marko Nisic

Deploy Docker container using Ansible

Overview Hello there fellow Linux adventurers. I hope you’re ready for today’s adventure in the land of automation. Through this article you’ll be shown steps how to deploy Docker container using Ansible on a remote Linux machine that runs Docker engine. By the end of article you should have enough understanding how to automate process of Docker container deployment on a multiple Linux inventory, with preset of environment variables and configs for needed Docker container. ...

Published November 7, 2024 · Updated November 7, 2024 · 6 min · 1104 words · Marko Nisic

Deploy Nextcloud on Docker using Ansible

Overview In this article we are going to go through the steps how to deploy Nextcloud on Docker using Ansible. Purpose of this procedure is to automatize the deployment process of Nextcloud on Docker with the Ansible playbook. In order to deploy nextcloud on docker using ansible successfully, there are some requirements first to configure(listed bellow in the prerequisites) Prerequisites Docker installed and running on the target host machine(Docker installation can also be automated with Ansible - link to the POST) SSH access enabled on the remote hosts with the login parameters preset in the Ansible hosts file Ansible installed on client machine(your machine) Installed Python and Python docker module for Ansible on target machine Installed Python on your local machine Install Python Docker module for Ansible Most Linux distros have Python3 preinstalled but for others the Python Docker module that Ansible uses may be missing. You’ll know that it’s if you get an error mentioning that the module is missing or not found. Picture example of the error bellow: ...

Published December 24, 2023 · Updated August 31, 2024 · 6 min · 1158 words · Marko Nisic

Add a remote Docker host in Portainer using the edge agent

Overview The following article will cover the steps how to add a remote Docker host in Portainer using the edge agent. Portainer supports remote management of multiple Docker hosts and has features and multiple tools/methods how to achieve it. This post will focus on using the Portainer edge agent. In order to add a remote Docker host in Portainer there some requirements: Portainer Docker host(Portainer installed and running) Remote host/instance/server with Docker installed and running as well(Install Docker on Debian/Ubuntu) Portainer edge agent installed and running on the remote Docker host Portainer egde agent? Portainer edge agent is a Docker container, which acts as an Portainer agent/client on a remote Docker host in order to establish a connection between one and another add a remote Docker host in Portainer. The edge agent is used because of the simplicity when installing and connecting Portainer to a remote Docker host and also it’s a secure option as well since the agent encrypts all the traffic between the Portainer and the remote Docker host. ...

Published April 30, 2022 · Updated December 24, 2023 · 4 min · 811 words · Marko Nisic

How to Install Jenkins with Docker

How to install Jenkins with Docker Overview This article will cover the steps how to Install Jenkins with Docker. We’ll be deploying the Jenkins LTS release on a single host machine and we’ll be using the Jenkins official Docker image from the Docker hub. The full Jenkins Docker documentation can be checked out on the official jenkins github. Jenkins is a well-known and popular open source CI/CD automation tool. With many benefits it offers, it can sometimes be tedious to run maintenance on it, since it depends on Java to run. Luckily, we now have a Docker version of Jenkins which we can easily deploy and simplifies the maintenance since it has Java included as well. ...

Published September 5, 2021 · Updated December 24, 2023 · 4 min · 737 words · Marko Nisic

Install Wireguard VPN server with Docker

Overview This article will showcase the procedure how to install Wireguard VPN server with Docker. In another words, we’ll deploy Wireguard container(as a Docker container) on our host macine.Wireguard is another good VPN option besides OpenVPN. Wireguard doesn’t have an official Docker image yet, so we’ll be using the Docker Wireguard image from linuxserver.io - This exact image used in this post: Docker Hub (and Github page) This procedure is also covered with OpenVPN. You can check it out on this post. ...

Published June 7, 2021 · Updated December 24, 2023 · 6 min · 1192 words · Marko Nisic

Setup Kubernetes cluster with Rancher

Setup Kubernetes cluster with Rancher Overview In this post we will go through the process how to setup Kubernetes cluster with Rancher. Kubernetes is an amazing technology and one of the best way to orchestrate your containers. But sometimes, if you have a lot of containers or planning to host a lot of applications, it can be a bit easier to manage all those with a GUI dashboard, like Kubernetes dashboard. In this article we will cover the Rancher software, how to install it on Debian 10 Buster and how to setup Kubernetes cluster. This method can be done on Debian VM or on a bare metal machine and it also works on Ubuntu. ...

Published May 16, 2021 · Updated December 2, 2023 · 4 min · 826 words · Marko Nisic

Monitor linux server using Prometheus and Grafana

Monitor linux server using Prometheus and Grafana Overview We are going to cover the process on how to monitor linux server using prometheus and grafana using Docker. The entire setup will be installed and configured on Debian 10 Buster and Docker but this also can be done and will work on Ubuntu server or any other Linux distro running Docker. With this setup we’ll be able to perform Linux server monitoring and to track resource usage on our server(host machine) - CPU usage, RAM usage, SWAP, network, disk space and etc. ...

Published January 10, 2021 · Updated December 24, 2023 · 6 min · 1110 words · Marko Nisic

How to install Docker on Debian / Ubuntu

How to install Docker on Debian / Ubuntu Overview We will go through the steps how to install Docker on Debian and Ubuntu Linux distros. For this example, we installed Docker on Debian 10 Buster and on Ubuntu 20.04 LTS but the same procedure applies also for Debian 9 Stretch and for Ubuntu 18.04 LTS and for 16.04 LTS. We are also going to cover the steps of installing Docker via repositories and by downloading and manually installing it from a package file. ...

Published September 14, 2020 · Updated December 2, 2023 · 4 min · 721 words · Marko Nisic

How to install Jenkins on Linux

How to install Jenkins on Linux Overview On this post we’re gonna go through the process on how to install Jenkins on Linux. We will cover the steps of installing Jenkins on Ubuntu/Debian distros and on Fedora/CentOS. We tested this process on AWS and it’s EC2 instance, but also on couple of virtual machines running from a local computer. So, this means that you can use these steps to install Jenkins on your AWS instance or any other Linux machine which is cloud hosted or on your local Linux machine. ...

Published October 31, 2019 · Updated December 24, 2023 · 4 min · 752 words · Marko Nisic

Categories

Updated December 14, 2024 · 0 min · 0 words · Marko Nisic