Installing EKS with Teraform

This example shows how to install working EKS cluster with terraform. It’s snippet from actual usage, but not all things have been included. Read more

Helm Tips/Tricks

Ordering of execution To perform things in certain order in Helm, we need to use hooks. Recently I had a situation where I had free sub-charts and I needed them to be available before issuing my CRD’s to Kubernetes. To... Read more

Removing Terminal Escape characters from file

Read more

Ansible Tasks

Loop Types https://docs.ansible.com/ansible/latest/user_guide/playbooks_loops.html#with-list Read more

AWS Policies

Policy structure EC2 Actions Actions can be seen in the following link: link To each action name prepend “ec2:” and then attach it to policy For action StartInstances, a permission action would be “ec2:StartInstances“ Read more

SSH Local Config setup

Tips/tricks for local SSH config Including config Let’s assume that we wish to split one big ~/.ssh/config to multiple files, split the existing config file and include it with Include keyword. Define host within config Read more

Bashims

Useful bash scripts / tricks Reading CSV Local Variables By default, when a variable is introduced within bash function, that variable has a global scope, meaning that the caller will also see change of value. To prevent that use local... Read more

Hiera

Hiera is a Puppet subsystem for fetching fetching facts. Lookup The puppet lookup command The puppet lookup command is the command line interface for Puppet’s lookup function.This function let’s you do Hiera lookups from the command line. You must run... Read more

Puppet Modules

Module Structure Within the project root directory we place modules in path ./modules/<name> and the structure of module directory is as follows: data -> Contains data files specifying parameter defaults examples -> contains examples showing how to declare the module’s... Read more

AWS CLI – useful commands

AMI images Cost explorer AWS CLI Query Language (–query) It is either similar or the same as https://jmespath.org/specification.html Metrics Read more