Turn off the GDPR cookie notification in a dotnet core MVC web application

The dotnet core MVC web application template adds the GDPR cookie acceptance message to the header of the page template. When the site is hosted with HTTP the accept button does not clear the message resulting an infinite loop, when the user cannot log in and the site continuously asks for the acceptance. When the […]

How to remove all Docker containers and images from the host

Docker images are stored on the host to launch as fast as possible. The drawback is, Docker can fill the hard drive with unused images. A recent possible bug in Docker caused the accumulation of unused, unreferenced images on the host. To delete all Docker containers and images, use these commands in the terminal Get […]

Learn Kubernetes part 3 – Traefik Ingress Controller

In the previous post, Learn Kubernetes part 2 – NGINX Ingress Controller, we have deployed a web application and exposed it via the kubernetes/ingress-nginx ingress controller. In this exercise we will use Traefik, another popular proxy server. Traefik is widely used for multiple reasons: it is easier to configure, can automatically generate and renew SSL […]

Learn Kubernetes part 2 – NGINX Ingress Controller

Large organizations need to control the incoming traffic to the Kubernetes cluster. The most secure way is to use an ingress controller and create an ingress to channel all incoming traffic to the cluster. In Learn Kubernetes part 1 – Web application in a Kubernetes cluster we have created a simple web application pod and […]

Docker Swarm volumes

Containers are ephemeral. Containers live entirely in memory, so even if the container is set up with automatic restart, the new container will not have access to the data created inside of the old container. To save persistent data of Docker containers we need to create volumes that live outside of the ephemeral containers. Don’t […]

Kubernetes volumes

To understand the types of available volumes read the official Kubernetes documentation on Volumes The official documentation on Kubernetes Persistent Volume and Persistent Volume Claim is at Persistent Volumes Migrating to CSI drivers from in-tree plugins Kubernetes moves away from in-tree plugins, that had to be checked into the Kubernetes code repository to out-of-tree volume […]

Resources to learn Kubernetes

This is a great five part blog series on Kubernetes and a post on volumes by Sebastian Caceres. I recommend reading it even before the official Kubernetes tutorial to get a great overview of how Kubernetes really works. How does it work? Kubernetes: Episode 1 – Kubernetes general architecture How does it work? Kubernetes: Episode […]

Kubernetes commands

kubectl get – list resources kubectl describe – show detailed information about a resource kubectl logs – print the logs from a container in a pod kubectl exec – execute a command on a container in a pod List existing pods Get detailed information on the pods Start a proxy to access the containers within the pod Get the […]