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 […]