Author Archives for Manuel Dewald

CFP: Making Sense of Metrics: Crafting and Leveraging Prometheus Metrics for Infrastructure Intelligence

February 29, 2024 9:28 am Published by Comments Off on CFP: Making Sense of Metrics: Crafting and Leveraging Prometheus Metrics for Infrastructure Intelligence

Audience This talk is targeted at System Administrators and Site Reliability Engineers interested in learning about how to best make sense of the Prometheus metrics their system exposes. If you know PromQL, but the queries behind your dashboards are still a mystery to you, you are not alone. This talk will show how to get information out of your metrics to maximize the insights and make data-based decisions. Outline Creating new metrics and collecting them with Prometheus is easier today... View Article


Pod Autoscaling in OpenShift and Kubernetes

November 24, 2022 11:05 am Published by Comments Off on Pod Autoscaling in OpenShift and Kubernetes

To test out the horizontal pod autoscaling I built a simple example application that shares “load” across instances. The load is as simple as allocating a configurable chunk of memory. When the load increases, the pod autoscaler would spin up new instances so the chunks get smaller and the target is reached. You can find the example application on Github. Run locally Check out the repository, run make build and start ./pod-autoscaler-example. It will allocate the default 100MiB of RAM and wait for... View Article


Kubernetes: Distributing Pods of a Deployment across nodes

May 17, 2022 9:14 am Published by Comments Off on Kubernetes: Distributing Pods of a Deployment across nodes

Sometimes you need to ensure that the pods of a deployment are not deployed to the same node. To achieve this, you can use the pod anti-affinity and configure it so that pods do not get deployed to pods of the same deployment: This pod anti-affinity definition will not deploy any 2 pods of the deployment onto the same node. During the roll-out, additional pods are created before old pods are removed. If you have the same number of nodes... View Article


CFP: Up your Game with OpenShift

October 21, 2021 9:18 am Published by Comments Off on CFP: Up your Game with OpenShift

Automatic build and deployment for your very own browser game Audience This talk is targeted at anybody using or planning to use OpenShift to deploy their software. It’s not exactly for game developers, but probably for people who want to learn what it can mean to build a game with Open Source software and deploy it to an OpenShift cluster so it can be accessed via a web browser, or people who want to know about the possibilities to automate... View Article


CFP: The CR that goes around in circles

April 13, 2021 1:18 pm Published by Comments Off on CFP: The CR that goes around in circles

A tale of common pitfalls in operator and CRD design and how to avoid them Audience This talk is targeted at an audience that already made some experience or interest in designing and implementing Kubernetes operators. The terms Custom Resource Definition (CRD), Custom Resource (CR) and operator pattern should be known to them. For examples that are mentioned during the talk, it is based on the Operator SDK, however most patterns are independent of the framework in use. Outline When... View Article


Things I always search for when writing a new BASH script

November 25, 2020 8:16 am Published by Comments Off on Things I always search for when writing a new BASH script

Get the directory of the script When writing a bash script, especially when it is distributed via a git repository and depends on other files in the same repository, it is often important to know the location of the script to use relative paths to other files. Particularly, getting the directory of the current script allows users to execute the script from wherever they want and the script can still depend on files similar to using a relative path. This... View Article


Building Kubernetes Operators

November 17, 2020 4:33 pm Published by Comments Off on Building Kubernetes Operators

In the past months ad Red Hat I dove a bit into operator development. During learning how to build Kubernetes operators myself I published a quick start article on opensource.com . Using Operator SDK is a good way to kick-start your own Kubernetes operator. While the post itself is based on an older version of the SDK and usage has changed, you should be able to get such an example operator up and running quickly using this post and a... View Article


CFP: How to build a Kubernetes operator that doesn’t break production

September 21, 2020 8:46 am Published by Comments Off on CFP: How to build a Kubernetes operator that doesn’t break production

Audience This talk is targeted at software developers and SREs interested in development practices for Kubernetes operators. Are they interested in how development of an operator is different from other software projects? This project will give an outline of the operator pattern and how development looks like, focusing on the importance of good engineering practices. Are they writing a Kubernetes operator just to automate a simple task? They should write tests for it, and this talk will tell them why.... View Article


CFP: 5 agile practices and why they are useful to SRE teams

April 21, 2020 2:28 pm Published by Comments Off on CFP: 5 agile practices and why they are useful to SRE teams

As SRE (Site Reliability Engineering) teams contain a fair portion of software development work, and get filled up by software developers, it is a natural move to also adapt agile software development practices. The right agile model depends heavily on the percentage of development work vs. operations, which may be influenced by the team size. For example, in a small team where a high percentage of people is on call during the day, it might not make too much sense to plan... View Article


Guest article: Build a Kubernetes Operator in 10 minutes with Operator SDK

April 20, 2020 1:53 pm Published by Comments Off on Guest article: Build a Kubernetes Operator in 10 minutes with Operator SDK

It’s been a while since I last submitted an article to opensource.com. This time it is about quickly kick-starting a Kubernetes Operator with Operator SDK. Click here to get to the article. When you start working on a new software project, often a bunch of code is already existing. That’s by no means different when joining development of a Kubernetes Operator. In the case of Operator SDK a good part of the code is additionally generated, so you also want... View Article