Infrastructure at your Service

Tag

kubernetes Archives - Blog dbi services

Mehdi Bada

Create a Kubernetes cluster with Google Kubernetes Engine

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

Nowadays the market for cloud providers is very competitive. Large companies are fighting a very hard battle over the services they provide. Each offers a wide range of more or less identical products with specific features for each. In my point of view, having deployed Kubernetes clusters in several environments (Cloud and On-Premise), I pay particular attention to Google Cloud for its Google Kubernetes Engine offer. The deployment of a Kubernetes cluster is very fast…

Read More
David Barbarin

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
David Barbarin

Using non-root SQL Server containers on Docker and K8s

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

This is something that I waited for a while, in fact since SQL Server 2017 … and the news came out on Wednesday 09th September 2019. Running Non-Root SQL Server Containers is now possible either on the next version of SQL Server (2019) and it has been backported on SQL Server 2017 as well. Non-root SQL Server containers will likely be part of hidden gem of SQL Server new features, but this is definitely a…

Read More
David Barbarin

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
Mehdi Bada

CloudBees DevOps Playground – Hands On with JenkinsX

By | DevOps, Docker, Kubernetes | No Comments

Last week, we had the chance to attend to the CloudBees DevOps Playground in London. The event was a presentation and a Hands-On on Jenkins X done by one of the most popular guys from the CloudBees, Gareth Evans. Before taking an interest in Jenkins X, we focused most of our time in the Docker and Kubernetes part. We enhance a lot our skills during the last months on the administration of Kubernetes cluster and…

Read More
Mehdi Bada

Kubernetes – How to install a single master cluster with kubeadm?

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

To bootstrap a minimal K8S cluster for testing purpose, kubeadm is a very interesting tool. The goal of this blog is not to explain to you the K8S architecture or the components but only the deployment part. using kubeadm. The final architecture of our cluster will be the following: Source:https://elastisys.com/2018/01/25/setting-highly-available-kubernetes-clusters/ Docker Installation The first step is to install Docker on each cluster node: yum install yum-utils device-mapper-persistent-data lvm2 yum-config-manager \ –add-repo \ https://download.docker.com/linux/centos/docker-ce.repo yum update…

Read More
David Barbarin

Windocks and K8s support

By | DevOps, Docker, Kubernetes, SQL Server | No Comments

I got recently the 4.08 update from the Windocks team and I was very excited to evaluate some of new features. The first cool one I want to present in this blog concerns the Kubernetes support for deploying Windocks containers that will make my application deployment definitely easier. Let’s say you want to deploy your application that is tied to a Windocks container for SQL Server. In a previous blog post I explained why we…

Read More
David Barbarin

Windocks, SQL Server and Azure in our internal CI pipeline

By | Cloud, DevOps, Docker, Kubernetes, SQL Server | One Comment

During the last DevOps Day in Geneva, I presented a sample of our CI implementation related to our MSSQL DMK maintenance product. It was definitely a very good experience for me and good opportunity to get feedback from DevOps community as well. During the session I explained our CI pipeline includes SQL Server containers both on AKS (K8s as managed service in Azure) and Windocks. I got questions from some of attendees who asked me…

Read More