How to Build and Deploy an app on Kubernetes by GitLab ci cd pipeline

preview_player
Показать описание
CI CD pipeline is used for quick and efficient delivery of an application to its consumers. So, In this "How To" presentation I demonstrate how to create a #gitlab CI/CD #pipeline that uses a #Gitlab-Runner to build and push images to GITLAB #container registry and we will learn how to connect an existing #kubernetes Cluster to GitLab and How to deploy applications on cluster using CI/CD tunnel

==========================================
==========================================

Note:
If you are using GitLab self-managed instance, You need to enable GitLab Kubernetes Agent Server (KAS) from GitLab configuration using below step.

gitlab_kas['enable'] = true

Restart or re-configure GitLab.

All Files related to this Project: (1-K8S-CICD folder)

#kubernetes #gitlab #gitlab-runner # gitlab # build #deploy #ci cd pipeline #gitlab ci cd tutorial #gitlab tutorial #pipeline #devops ci cd pipeline
Рекомендации по теме
Комментарии
Автор

I've been watching ALOT of devops videos for my job this week, and this is BY FAR the most hands on devops pipeline tutorial I have found. Thank you.

Crmzon-dofe
Автор

Thank you for this, it was exactly what I needed. If only the gitlab documentation was as good as this video :)

bothorsen
Автор

Wow! This is what I am looking for! Its so detailed and well explained! Keep the Tutorial Videos coming!

raph
Автор

This is such a structured video for those who want to build a complete cicd pipeline. and explanation was really crystal clear ! you are such a gem trainer :) you have really done a fantastic job creating this video, I hope we could get more such end to end project to grind our skills !! Thank you

hajermakina
Автор

Best explanation of this topic that i have seen, great job

DynamiArrow
Автор

Excellent tutorial and very well explained. Thank you very much !!!

amadoudiop
Автор

You are the best teacher.
I took so many courses, but the way you teach goes straight to my head. 🎉🎉🎉🎉

AI--U
Автор

it was, nice, clear and what i was looking for . Thank you

MohamadMirSajadi
Автор

solid video. would be even greatet with time sections since it offers so much valuable instructions.

feder
Автор

Thank you very much, it was exactly what I needed :)

manhnguyenitc
Автор

great explanation very helpful thank you !!!

sergekomi
Автор

Development of skills and Wisdom and experience and learning education po

ijhgpif
Автор

Make sure your k8s-connection is in the same group as the project you're trying to deploy. If it's not, the deployment step will fail trying to set kubectl contexts.

ceasarpalache
Автор

Can you please do a video on these topics.

1. Helm charts
2. Istio service mesh
3. Observability with OpenTelemetry
4. GitOps, ArgoCD

AI--U
Автор

thanks for the tutorial, I have a problem if I update coding and push to gitlab, build image and deploy successfully.
but it seems like the pod or service or image in microk8s is not updated
and if I delete the service and pod first then push to gitlab, its work. my gitlab ci yaml is same with tutorial

serokanikani
Автор

Good video, but you didnt mention about runner. I think it was full cicd process if you showed installing runner

rikitikitaki
Автор

New development for skills Experience wisdom creativity and all my talents and wisdoms righteousness obedience training equipment po

ijhgpif
Автор

Nice video!
Could you give me advice by best practices.
In your case you store k8s yaml files in your project repo. But i am developing microservices architecture and my files are storing in separated repo "infrastructure".
How to get files from there? Git clone my private repo during the build?

Freeline
Автор

Thanks for the detailed Video. Help me alot !!!
Want to ask you that when i run 'kubectl get node -o wide' and take the internal ip of the node-cluster, i am not able to connect to my app on browser.
I have installed docker for windows on my windows machine. Then minicube for Kubernetes. Should i install anything else.

nikitamathur
Автор

Hello, great explanation!!!

I have a gitlab-ci.yml identical to yours, but in the build stage, I set the tags: build, only.
The deploy is identical. When I push, the stage build completes successfully, but the stage deploy
is waiting for a runner. I believe that with the gitlab agent, there is no need for a runner, correct?

eliaspereira