Deploying an application on Kubernetes with Rancher

Now that I have a Kubernetes cluster handy, I wanted to get my hands dirty by deploying my first application on it. What else is better than running an application I wrote myself to learn something to double up on the investment? If you want to read up on Short{Paste} , the application I wrote, you may read my blog post on it. App deployment I started by switching from Global to the Local cluster’s Default namespace/project. From the Workload tab, clicking on Deploy takes me to the deploy workload page. Here, I start by naming the workload as shortpaste and selecting the docker image adyanth/shortpaste. I leave the port mapping empty for now since I plan to add a layer 7 Ingress rather than a layer 4 NodePort or a Layer 4 load balancer. Under environment variables, I add what my app expects. Finally, for now, I let the scale default to 1 and hit Launch. ...

July 25, 2021 · 8 min · Adyanth Hosavalike

Homelab - Software - Part 3/n - Docker

We have reached the more fascinating parts now, where I spent (still spending) the most time and the one that adds the most value to me. All of these applications are running on docker, set up by docker-compose. There are some obvious choices here that may not be obvious to many of you reading this, such as using Træfik instead of the more predominantly used NPM (Nginx Proxy Manager) . There are two parts to this. One, I am familiar with those more so than the alternatives, two, I might have had the same running before I migrated some of these from my PC. ...

June 11, 2021 · 7 min · Adyanth Hosavalike

Getting Started With Docker

This post is to help in installing docker engine and docker-compose on almost any linux distro (with apt of course). So, without further ado, lets get cracking! Deleting any existing installs Run the command below: 1 sudo apt-get remove docker docker.io containerd runc Setting up your OS Set up the repository Run the commands to install prerequisites. 1 2 3 4 5 6 7 8 sudo apt-get update sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg-agent \ software-properties-common ...

August 2, 2020 · 2 min · Adyanth Hosavalike