Kubernetes GitOps with Flux CD

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 72

  • @MarcelDempers
    @MarcelDempers  4 года назад +11

    My Series on CI/CD 👉🏽ruclips.net/p/PLHq1uqvAteVsSsrnZimHEf7NJ1MlRhQUj

  • @mingli9563
    @mingli9563 4 года назад +5

    This is the first channel that has a car-review style tech videos. Awesome!!

  • @TheMrFert
    @TheMrFert 4 года назад

    Like the narrator style. Finally different accent rather than majority RUclips IT channels

  • @DevOpsKey1
    @DevOpsKey1 2 года назад +1

    You are one of my favorite instructor and every time you deliver new technology with 100%.
    😘❤💯👏

  • @Narco_89
    @Narco_89 3 года назад +1

    Amazing! Very well explained in few minutes! I would see the entire pipeline with flax, like:
    1. the dev which push new code on git
    2. Travis tests it on another cluster (maybe flax is listening all non-master branches too and deploy on same cluster but another workspace?)
    3. a git owner accept the PR
    4. flax deploy the changes made only on master
    Hope this is not just a unnecessary repetition.
    Thank a lot for this video!

  • @kunduvikram
    @kunduvikram 4 года назад +1

    Short and explained mostly used features of Flux. Nicely Done!! 👏👏

  • @lukejkw
    @lukejkw 3 года назад +1

    Lekker channel boet. Good to see a saffa making great tech content

  • @SacrificialGoat94
    @SacrificialGoat94 4 года назад +2

    Epic quality. Concise. Informational. Thanks. Keep them coming!

  • @cschelin
    @cschelin 3 года назад +2

    Currently I'm maintaining my configurations via ansible playbooks. The issue I can see with Flux is with credentials or other similar items that need to be secure. We have connect strings to databases (for example) which has a password. We also have some configurations with SSL certificates including the private key. Right now I have such things in an Ansible Vault and when I need to update that yaml, I run the ansible playbook which creates the necessary yaml to be applied. For a git pull, how would that be addressed using flux?

  • @renus1195
    @renus1195 4 года назад +2

    if possible make a video on HELM OPERATOR AND FLAGGER and about custom resource definition (helmrelease) please

  • @K2ThaYo
    @K2ThaYo 4 года назад +5

    Helm charts all the way... You can lint it, dry run and even automatically rollback with the atomic flag

  • @farrukhahmedsid
    @farrukhahmedsid 4 года назад

    Nicely explained Flux in short time.. Very much useful. Thanks...

  • @developer-guy
    @developer-guy 4 года назад +2

    another great video from Marcel , thanks a lot !

  • @vengamnaidu9273
    @vengamnaidu9273 4 года назад +1

    hi Marcel , can you make detailed videos on flux working with helm, rancher and other things like add your own key in github and flux. how to maintain different repository source of truth with flux. Heart-full thanks for sharing your knowledge.

  • @ridmapabasara2714
    @ridmapabasara2714 2 года назад +1

    dude thank you for doing this.

  • @forexmeter3900
    @forexmeter3900 2 года назад

    Very well explained. Since your video is 2 years old, can you do another video and demo the most recent capabilities of Flux? Thank you!

  • @Santiago-yy3jg
    @Santiago-yy3jg 2 года назад

    are "Automations, locks and annotations" still available with the newest version of Flux? Thanks for your videos.

  • @jasonsinclair2968
    @jasonsinclair2968 2 года назад

    Good Work! cleary explained at a good pase with no BS

  • @trickytibo
    @trickytibo 3 года назад

    A big thank you for your video and your teaching skills. Always so enlightening.

  • @robertkerr229
    @robertkerr229 2 года назад +1

    Hey boss, on Windows, use Rapid Environment Editor rather than control panel for environment variable editing. Be sure to run as administrator.

  • @christianibiri
    @christianibiri 2 года назад

    Great video Marcel!

  • @esoterictech
    @esoterictech 3 года назад

    I don't comment on videos often but damn this was good! Thanks a lot for the detailed explanation!

  • @martinmolinaalvarez9801
    @martinmolinaalvarez9801 3 года назад

    Exactly the kind of video I was looking for!

  • @gadieichhorn7570
    @gadieichhorn7570 3 года назад

    thank you, very nice, how would you manage secrets like DB connections with Flux?

  • @msoranno
    @msoranno 4 года назад +1

    great video Marcel. Flux is a great tool to help in a very specific situation, but as far as i can see does not fit well in a large scale K8s clusters with large teams working on several components to be deployed. Currently we are using tekton btw.

  • @oy_oy
    @oy_oy 3 года назад

    Thanks for this explanatory video. I have some doubts:
    - does Flux CD validate your manifests to find missing items?
    - does it allow to reuse manifests with templates with parameters?
    - Also, let's say we share a NLB id within Service annotations among hundreds of applications, does it mean we will have to run the pipeline in all of them?
    With Helm you can update all your Ingresses and objects in your cluster in a single shot and sort previous questions, as well as handling all the objects as a single versioned package

  • @ghauri001
    @ghauri001 3 года назад

    Marcel what do you like most feature/technology wise? Flux or Argo?

  • @gregoryhammond9341
    @gregoryhammond9341 2 года назад

    I'll most certainly try this later however I have one concern:
    Why does the flux auth-key need write permissions to the Repo it's suppose to be pulling from?
    EDIT: Should have waited till the end. Sorry.

  • @koodauskanava9096
    @koodauskanava9096 3 года назад

    Can you do a video about flux2? Use simple helm release. Thanks!

  • @Diolev377
    @Diolev377 Год назад

    Great video helped me a lot, Thanks.

  • @jayeshthamke7860
    @jayeshthamke7860 4 года назад

    That's great! Does Flux support pulling images depending on tags like -dev or -release/ -stable ? Thanks

  • @developer-guy
    @developer-guy 4 года назад

    nice, it was a great getting started video for flux !

  • @yasirtariq4616
    @yasirtariq4616 3 года назад

    Great demo. I loved it

  • @dylans5233
    @dylans5233 4 года назад

    Good job mate! Just wondering if you could cover a flux tutorial for a multi-tenancy cluster? Thanks

  • @aritchakraborty9543
    @aritchakraborty9543 2 года назад

    Suppose I am having 5 Microservice and in the git-path do I need to mention 5 repo name explicitly??

  • @couscousburify
    @couscousburify 2 года назад

    Thank you for the video bro !

  • @renus1195
    @renus1195 4 года назад

    please make a video on flux helmoperator and flagger component

  • @singyongjoong56
    @singyongjoong56 3 года назад

    Which namespace will the sync-ed workloads be deployed in?

  • @dqfold5557
    @dqfold5557 4 года назад

    Awesome Videos! So much good information in such a short time, it's excellent!
    I have a beginner question. What does the daily work of a devops look like?
    I feel like it takes months to learn how to master all these tools (AWS, K8S, FLUX, Jenkins, Argo, Promotheus, Grafana, ...) and once that was done, we quickly set up a cluster, the CD / CI, etc (well, it seems fast for you). But when done, it more or less works on its own.
    Once we have set up the clusters, CI/CD of the different projects that a company is working on, what is the job of the devops guy?

    • @MarcelDempers
      @MarcelDempers  4 года назад +11

      Thank you 💪🏽🤓
      The idea is that the platform works on its own and does not require constant daily tasks.
      Kubernetes helps with the tedious tasks, such as setting up load balancing, hooking up logging\monitoring, health checks, auto restarts etc, so a devops engineer can focus on more important tasks.
      As a DevOps engineer you should strive to automate yourself out of a job. Build systems and platforms that do things for you and others so you can do more important work. There will always be more important things to do.
      Don't become a gatekeeper for developers.
      Help developers become self sufficient. Help build tools that empower developers to code, build, test and run applications in production in minutes, rather than days. Give them tools to deploy 100s of deployments per day. You can build tools and services that give developers and team freedom to work fast within boundaries.
      Give them capability to log, monitor and observe their systems in production with a click of a button.
      Do all the above with security and best practises in mind.
      Although these systems will work and function on their own, you will always have things going on and have room for improvement.
      For example:
      How do you upgrade your platforms with 0 downtime and 0 disturbance to CI/CD and team operations? How do you keep monitoring and ingress controllers up to date? How do you improve container image security and provide up to date patching? ..the list never ends :)

    • @dqfold5557
      @dqfold5557 4 года назад

      @@MarcelDempers Thank you for taking the time to respond and for this good explanation!

  • @aietisreekar2425
    @aietisreekar2425 3 года назад

    this was an awesome clip

  • @chandup
    @chandup 4 года назад

    Question,
    If I want to use flux with ansible or Chef, is it possible for non k8s workloads?

  • @softwareengineer5764
    @softwareengineer5764 3 года назад

    Hi Marcel. You are fantastic teacher. I really request you to make a video for flux V2. Is it possible to follow this video with flux V2 ??

  • @hugomartinez1020
    @hugomartinez1020 2 года назад

    Hi Marcel, nice video on Flux, great job! Just wondering how I can solve this issue I am having right now: flux pod is crashing, due to this reason:
    cannot patch resource \"secrets\" in API group \"\" in the namespace \"flux\""
    Any hint on this? Just researching to apply it in my current project, please help me as we want to make it more modern :)
    Thanks in advance!

  • @amine250
    @amine250 4 года назад +2

    I prefer ArgoCD :)

  • @MatiFix
    @MatiFix 3 года назад

    Thanks ! Great video!! Well explained!

  • @isaacyuen5409
    @isaacyuen5409 4 года назад

    Hi You said we can update the git branch flux is keeping watching into for testing purposes before we merge it back to master. How can that be done with fluxctl? What are the commands?
    Thank you for your videos. They are very informative!

    • @MarcelDempers
      @MarcelDempers  4 года назад

      Thank you! 💪🏽
      The fluxctl install command takes in a branch name for a git repository docs.fluxcd.io/en/1.18.0/references/fluxctl.html#using-fluxctl-install

  • @mamun001
    @mamun001 2 года назад

    Thank you!

  • @avishayg1986
    @avishayg1986 2 года назад

    Thank you kind sir!

  • @chongerwin
    @chongerwin 2 года назад +1

    Thanks!

    • @MarcelDempers
      @MarcelDempers  2 года назад

      Thanks so much for the support 💪🏽🍻

  • @fxxxxxxxxxxf
    @fxxxxxxxxxxf 3 года назад

    Nice video and a channel! Thanks

  • @NiteshKumar-do4en
    @NiteshKumar-do4en 4 года назад

    Yeah I need this flux please Argo CI for more knowledge of workflows

  • @sebastiansmuzynski5508
    @sebastiansmuzynski5508 2 года назад

    Why does Flux require write permissions to read code?

    • @maiaayaaoo7
      @maiaayaaoo7 10 месяцев назад

      Flux will update the tag of image when new images are pushed to image registry

  • @arpanchakraborty9874
    @arpanchakraborty9874 4 года назад

    Fantastic, thanks a lot!!

  • @jerilcj2523
    @jerilcj2523 4 года назад

    Is there any option to run bash script in Flux CD? I have got a few *.yaml files and a bash script which has be executed as well.

    • @MarcelDempers
      @MarcelDempers  4 года назад +1

      You could run a pod, perhaps as a job and have it run once off. The pod can run any arbitrary OS and place your bash in a configmap, mount it to the pod, and execute it at start up using the entrypoint.

    • @jerilcj2523
      @jerilcj2523 4 года назад

      @@MarcelDempers So like you said I created a another pod which is of kind:job and included the script.sh. So now I have two pods
      1. mongodb pod
      2. job pod which has (script.sh)
      In the script.sh file, I run "kubectl exec" to the main pod (mongodb pod) to run few commands
      The script gets executed, but I get the error "cannot create resource "pods/exec in API group"
      So I created a clusterrole with resources: ["pods/exec"] and bind it to the default service account using ClusterRoleBinding
      ```
      kind: ClusterRole
      apiVersion: rbac.authorization.k8s.io/v1
      metadata:
      name: pod-reader
      rules:
      - apiGroups: [""]
      resources: ["pods", "pods/log"]
      verbs: ["get", "list"]
      - apiGroups: [""]
      resources: ["pods/exec"]
      verbs: ["create"]
      ---
      kind: ClusterRoleBinding
      apiVersion: rbac.authorization.k8s.io/v1
      metadata:
      name: service-account-role-binding
      namespace: default
      subjects:
      - kind: ServiceAccount
      name: default
      namespace: default
      roleRef:
      kind: ClusterRole
      name: pod-reader
      apiGroup: rbac.authorization.k8s.io
      ---
      apiVersion: v1
      kind: ServiceAccount
      metadata:
      name: default
      namespace: default
      In the pod which is of kind:job, I include the service account like shown below
      restartPolicy: Never
      serviceAccountName: default
      but I still get the same error. What am I doing wrong here ?

    • @jerilcj2523
      @jerilcj2523 4 года назад

      Thanks..I got it working..

  • @herrownice
    @herrownice 4 года назад

    Great Video !!!

  • @mingli9563
    @mingli9563 4 года назад

    Great Job

  • @kojitechs
    @kojitechs Год назад

    i love flux

  • @akshaysood1569
    @akshaysood1569 3 года назад

    Awesome

  • @davidgg8462
    @davidgg8462 4 года назад

    very good

  • @chandup
    @chandup 4 года назад

    Hi
    Nice video.
    How to contact you? Do you have a slack channel or anything else?

  • @mab2278
    @mab2278 3 года назад

    Really nice tutorials but please don't play music in the background. I have no idea where comes such a strange idea.

  • @webmakaka
    @webmakaka 4 года назад

    *Молодец!*