Browsed by
Month: July 2020

Running a container as non-root

Running a container as non-root

Recently I worked on a project called Pure Service Orchestrator™ Explorer, or in short PSO Explorer. PSO Explorer gives administrators and platform owners visibility in container storage usage. You can read more on this project here. Anyways, many of our customers running production environments are using RedHat OpenShift Container Platform. One of the advantages of OpenShift is security. However for me as a developer of PSO Explorer that caused me some obstacles, as I had to change PSO Explorer to…

Read More Read More

Moving to Kubernetes v1beta1 Snapshots

Moving to Kubernetes v1beta1 Snapshots

In this post I’ll show you how to move from Kubernetes v1alpha1 snapshots to Kubernetes v1beta1 snapshots for VolumeSnapshotSupport on an existing Kubernetes cluster. What is this important? With the release of Kubernetes 1.17, Volume Snapshot support has now moved VolumeSnapshot support from Alpha into Beta. Kubernetes Alpha features are considered untested and can be unstable. Also generally there will be improvements from the community that can lead to breaking changes between releases as we’ve seen with the update in…

Read More Read More

Target Kubernetes nodes using Ansible

Target Kubernetes nodes using Ansible

This week I needed to update the NTP settings on a Kubernetes cluster. I could have used an Ansible inventory (as decribed here), but instead choose to make a dynamic Ansible inventory, by querying the nodes from Kubernetes. You can find the full playbook described here if you like. Creating a dynamic Ansible inventory The playbook I’ll use contains two Ansible plays. The first will query the Kubernetes nodes in the cluster and add those to the Ansible inventory, basically…

Read More Read More