Infrastructure at your Service

Tag

DevOps Archives - Blog dbi services

Joël Cattin

Scanning Ansible code with Ansible Lint

By | Ansible, Development & Performance, DevOps | No Comments

Introduction It’s always good to learn something new. But doing it the right way from the very beginning is even better. I recently started to work with Ansible and after creating a few roles, I quickly realized that there were many different ways to achieve the same goal. Some examples are : – The use of the Shell module vs the Command module – The use of Loop vs With_* – The use of an…

Read More
Joël Cattin

Automating Linux patching with Ansible

By | Ansible, DevOps, Operation systems, Security | One Comment

Since the beginning of the year, several vulnerabilities have been discovered in the Linux Kernel as well as in others important and widely-used packages. Among them, there was the famous CVE-2021-3156 affecting the sudo package and allowing any unprivileged user to gain root privileges. This one had a base score of 7.8, which is considered as high. This kind of events demonstrate the importance of having a strong patching strategy to ensure up-to-date softwares and…

Read More
Jérôme Witt

Ansible loop over registered results

By | DevOps | One Comment

We were recently confronted with one of our playbook constraint while trying to identify which database software could be uninstalled from our servers. Until now, we ran the playbook to de-install a specific version which were “discovered manually”. However, we even got lazy to run this “discovery phase” manually. This short post explains how to design a play around the results of a specific task like generating a list of obsolete Oracle RDBMS software.

Read More
Arnaud Berbier

DevOpsDays 2020 at HEG in Geneva

By | Application integration & Middleware, DevOps, Kubernetes, Technology Survey | No Comments

This 2020 new year began with a really exiting DevOps Event in Geneva. Kubernetes, Helm, Cloud Native, CNCF, CI/CD, Ansible, Terraform,… So much topics around DevOps that was in every people mouth. This confirm that DevOps is a good choice for any retraining 😉 This is effectively the next generation in the IT world. For this second edition, around 300 peoples were attending the event. Thanks to the organizers During the 1st day, I attended…

Read More
David Diab

DevOpsDays 2020 Geneva – Day 2

By | DevOps | No Comments

As promised in my previous blog, I will give you a short feedback on the second day here at DevOpsDays 2020 Geneva. In fact, I prepared a very interesting program of sessions to attend and people to meet. I must say that the open-spaces concept applied on the second day allowed participants to discuss on different topics without limit.

Read More
David Diab

DevOpsDays 2020 Geneva – Day 1

By | DevOps | No Comments

It is a pleasure to come back to Geneva after 5 years to attend my first DevOps event. I’m very excited to share with you my first day feedback, but before I would like to thank dbi services for allowing me to attend this event and continuously improving my knowledge in this growing field.

Read More
Mehdi Bada

A day at DevOps World in Lisbon

By | DevOps, Docker, Kubernetes | No Comments

On this second day here at DevOps World in Lisbon, I built a very interesting and intensive program of sessions to attend which I will explain to you more in detail below. This was also the opportunity for us (Arnaud and I) to meet our main customer from whom we are working with Jenkins X each day. It is always interesting to be able to meet physically the people with whom we collaborate, even if…

Read More
Microsoft Team

Provisioning a AKS cluster and KubeInvaders with Terraform

By | Cloud, DevOps, Kubernetes | No Comments

Provisioning a K8s infrastructure may be performed in different ways. Terraform has a connector called the Kubernetes provider but it doesn’t allow building and deploying a Kubernetes cluster. The cluster must be up and running before using the provider. Fortunately, there are different cloud-specific provider depending which cloud provider you want to provision your cluster. In our CI pipeline for the MSSQL DMK maintenance, we provision SQL Server containers on Linux to perform then different…

Read More
Mehdi Bada

Kubernetes DNS resolution using CoreDNS (force update deployment)

By | DevOps, Docker, Kubernetes | No Comments

After installing your Kubernetes cluster composed by masters and workers, a few configurations steps need to complete. In fact, the join command is not the last operation to perform, in order to have a fully operational cluster. See how to deploy a k8s cluster using kubeadm here: https://blog.dbi-services.com/kubernetes-how-to-install-a-single-master-cluster-with-kubeadm/ . One of the most important steps in the configuration is the name resolution (DNS) within the k8s cluster. In this blog post, we will see how…

Read More
Microsoft Team

How to get a big picture of K8s pods and PVs by script

By | Database Administration & Monitoring, DevOps, Docker, Kubernetes | No Comments

A couple of weeks ago, during an internal dbi services workshop about Docker and K8s, I got an interesting question: is it possible to get a big picture of pods connected to one specific persistent volume (PV) by using kubectl command? It was an interesting question because if we go through the usual kubectl command, it doesn’t provide natively the desired output. In fact, one one hand we get information about PVs and their related…

Read More