Dockerizing an Ansible playbook, and deploying to K8s via Gitlab pipeline – -Part 2:deploy to K8s via Gitlab pipeline

This is a 2-part article series. This is part 2 of the series where we will create a GitLab pipeline to register the docker image of the ansible playbook to a docker registry and deploy it to Kubernetes. 

In part 1, we created an ansible playbook and dockerized it to create a docker image and run it as a docker container. We logged in to that container to run the ansible playbook.

CategoriesUncategorized