<p>I have a Kubernetes cluster running on my laptop and I want to connect it to Gitlab so that I can deploy my application to Kubernetes from Gitlab pipelines. 
I was reading the official documentation but could not find anything useful. </p>

<p>Can anyone shade some light on how to achieve this?</p>

<p>You can set up a pod in your local Kubernetes as a Gitlab Runner. More information (setup a runner) <a href="https://docs.gitlab.com/ee/ci/runners/README.html" rel="nofollow noreferrer">here</a>, <a href="https://github.com/teacheraio/DevSecOps-Studio/wiki/Lesson-one:-Setting-up-Git-Server-and-Gitlab-CI-Runner." rel="nofollow noreferrer">here</a>, and (Kubernetes Runner) <a href="https://docs.gitlab.com/runner/install/kubernetes.html" rel="nofollow noreferrer">here</a></p>

<p>Note that it should work if you have egress traffic allowed  In most cases, egress is allowed unless your environment is following some sort of compliance. (ie. PCI, SOX, etc)</p>
