Blog Posts

How to create an AWS EKS cluster using eksctl

April 15, 2022

eksctl dramatically simplifies the creation of AWS EKS clusters, by providing a simple command-line interface.


Read More

How to Dockerize a Flask App

April 14, 2022

If you have a Flask app that you would like packaged in a Docker container, then you can do the following.


Read More

How to get an EKS Cluster name from an AWS Region

April 13, 2022

You can use the aws cli to get the EKS cluster name, parse the first result and return it into a variable.


Read More

How to automatically generate a Manifests file in Kubernetes

April 12, 2022

If you want to automatically generate a manifest file in Kubernetes, you can do so by using the kubectl run command coupled with a --dry-run to output directly to yaml.


Read More

How to Sort Pods by CreationTimestamp in Kubernetes

April 11, 2022

If you need to sort a list of your pods by their CreationTimestamp, then do the following:


Read More

How to Jump onto a Kubernetes Pod with Bash

April 10, 2022

If you want to jump onto a particular Kubernetes Pod and run Bash within it, you can do so as follows:


Read More

How to run Shell Commands in a Kubernetes Cluster

April 9, 2022

If you would like to run shell commands inside of your Kubernetes cluster, then you can use the kubectl run command.


Read More

How to Bulk Move All Email from One Account to Another using the CLI

April 8, 2022

If you find yourself in a position where you need to sync all emails from one account to another, then you can use the imapsync command-line tool to bulk copy, or move everything for you.


Read More

How to Install AWS CLI on Linux

April 7, 2022

You can download and install the AWS CLI on Linux as follows:


Read More

How to Reboot Networking on Mac from CLI

April 6, 2022

If you need to reboot, or restart the networking interface on your Mac, by using the CLI, then you can issue the following commands:


Read More

[Solved] fatal: unable to access <git>: SSL certificate problem: self signed certificate in certificate chain

April 5, 2022

If you get the following error: fatal: unable to access &lt;git&gt;: SSL certificate problem: self signed certificate in certificate chain


Read More

How to Extract the Files in a Docker Image

April 4, 2022

Ever needed to extract the files in a Docker container?


Read More

[Solved] Error response from daemon: No such image: Docker

April 3, 2022

If you&rsquo;ve run into this dreaded error: Error response from daemon: No such image:


Read More

How to Bootstrap a Web Server on AWS EC2

April 2, 2022

When you launch an EC2 instance, you can use the user-data to bootstrap a instance creation script.


Read More

How to Update Kubectl Config from AWS EKS

April 1, 2022

Ever searched for kubectl update config from aws eks and needed a quick result?


Read More

How to Generate a Random String in Java

March 31, 2022

Java provides many ways to generate random strings. 1. Using Apache Commons public void generatingRandomAlphanumericString_ApacheCommons() { String generatedString = RandomStringUtils.


Read More

How to Generate a Random String in Python

March 30, 2022

Python gives the ability to generate random strings out of the box, by using a combination of the string and random modules.


Read More

How to Generate a Random Number/String in Terraform

March 29, 2022

If you need to generate a random number or string in Terraform, then you can use the following:


Read More

[Solved] Unable to connect to the server: dial tcp: lookup with AWS EKS

March 28, 2022

If you have received the following error while trying to issue commands to kubectl:


Read More

How to Store Terraform State in AWS S3

March 27, 2022

Storing Terraform states files locally is not recommended. Instead you should use a backend such as as S3 from AWS.


Read More