Categories
Cloud connectivity Containerisation Containers DevOps Docker

How to Ping on a container with No ping utility?

Ever opened a shell or sshed into a container and it does not have the ping binary: bash: ping: command not found Install Ping Use the package manager of the base image apt update apt install iputils-ping Then test: > ping 1.1.1.1. PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data. 64 bytes from one.one.one.one (1.1.1.1): icmp_seq=1 […]

Categories
Containerisation Containers DevOps Kubernetes

Minikube: Deploy a container using a private image registry

This post is mainly for wanting to test a private image on your local k8s instance. At this point in time I feel minikube is the lightweight standard for this. You should have a private registry with the image you want to deploy, otherwise – use a public image. Getting Started Install minikube Once minikube […]

Categories
Containerisation Containers Continuous Integration DevOps git Uncategorized

Cannot use harbor robot account ImagePullBackOff pull access denied

This post is mainly about harbor robot accounts. Robot accounts are accounts used to run automated operations and have no access to the frontend. The account to use in your continuous integration or k8s registry secrets. You create a robot account by going to: Project -> Robot Accounts -> New Robot Account The Problem $ […]

Categories
Containerisation Containers Continuous Integration git

Use Self-hosted Gitlab to build and deploy images to Harbor

I have a gitlab version control and CI instance running. I also have a Harbor registry running. Now I want to ensure the I can build and push images from gitlab onto harbor using gitlab’s continuous integration and continuous deployment (CI/CD). First Steps Create a git repo on gitlab with your Dockerfile Create a user […]

Categories
Containerisation IAM Keycloak Kubernetes

Setting up Keycloak on Kubernetes

First thing to do is get familiar with keycloak. once you are happy it might be useful take a look at the keycloak quickstarts. They seem to have all the examples and samples on getting going with keycloak. In particular you want to look at the keycloak kubernetes examples For posterity I will show the […]