ArgoCD

This article is about Argocd and how to deploy applications in a Kubernetes cluster with Kustomize and the GitOps method. Kubernetes A lot of peoples thinks Kubernetes is very hard… But in fact you just have a few concepts to learn.In a Kubernetes cluster, everything is Object. Declare your object (Kind) specification and Kubernetes will…

Par seuf 2020-07-26 1

Ansible Playbook from Github Action

I’ve recently started a side project with Ansible and I wanted to automatise the Ansible playbook deployment with Github Action. Here is a tiny tutorial on how to use Github actions to run ansible playbooks to deploy stuff on Digital Ocean Droplets. SSH Key Before creating digital ocean droplets, you need to create a private…

Par seuf 2020-01-09 0

Kustomize

Since we have migrated all our application deployment to Kubernetes, we needed to automatize the deployment of each application for different environments (integration and production). By default kubectl files are not really customizable. That’s why we choose Kustomize to deploy our apps. And now Kustomize is part of kubectl binary. You can just put your…

Par seuf 2019-10-31 0

Meetup Docker Monitoring Lyon

Avec Rachid du Meetup Docker Lyon, on organise un co-meetup Docker / Monitoring à Lyon ! Au programme : Présentation de la solution Instana , par Alexandre Mechain , Solution Engineer chez Instana Monitoring kubernetes avec prometheus en HA (Thanos), le tout déployé avec terraform par moi même ! Ça se passe le 24 septembre…

Par seuf 2019-09-12 0

Ansible AWX in Kubernetes

AWX Since one year now, Red Hat open sourced Tower as AWX, the Web UI to deploy with Ansible. Awx allow you to manage all your Ansible projects, with inventories, encrypted credentials, playbooks, etc, in a great Web UI. For example, you can create in AWX multiple credentials which are encrypted into Awx database to…

Par seuf 2018-12-14 2

How to migrate from ansible vault to hashicorp vault

Ansible Vault Today, all our project passwords are stored in ansible vault files, on file per environnement, stored in a « passwords » directory They are loaded at the beginning of the main playbook : — – hosts: all:!localhost any_errors_fatal: true gather_facts: true pre_tasks: – include_vars: password/password_{{ env }}.yml connection: local no_log: True tags: – password -…

Par seuf 2018-06-25 0

Ansible Mitogen

Today I discovered a new ansible strategy module that increase ansible performance a lot : Ansible Mitogen. Mitogen is a python library for writing distributed self-replicating programs. You can read a great article about this here : https://sweetness.hmmz.org/2018-03-06-quadrupling-ansible-performance-with-mitogen.html After some benchmark, I confirm : Mitogen is very fast ! I’ve divised my deployment by 2…

Par seuf 2018-05-28 0