How to Auto Deploy ready deployment files through gitlab

I have a own business running and started to develop my corporate site using django. I have a private repo in my docker hub which i pull in my deployment through regcred secret.

i have this files which i need to make my deployment:


so from cli point of view with kubectl I have understood how to deploy and expose services to the internet through ingress.

what is important for my workflow is, that I want to have multiple versions (using gitlab tags) and deployments through .gitlab-ci.yaml.

i have succesfully connected my kubernetes cluster from digital ocean with my self-managed gitlab instance which has metrics installed on it so i can see the cpu usage etc. so i know its working properly.

how would i proceed now, does anyone have experience with it ? is it possible to just copy paste this files into my repo and process it through a runner ? i think its not possible, isn’t it ?

I would need some help or tips how to proceed.

thank you and a nice weekend to everybody.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @brunsScubaDiver,

To automate deployments to your DigitalOcean Kubernetes from your code on a private GitLab repo can be achieved by following steps in the below articles:

I hope it helps!

Best Regards, Purnima Kumari