Это видео недоступно.
Сожалеем об этом.

Crossplane Providers and Managed Resources | Tutorial (Part 2)

Поделиться
HTML-код
  • Опубликовано: 14 авг 2024
  • In this second installment of our Crossplane tutorial series, we dive deeper into the world of Crossplane Providers and Managed Resources. Watch as we guide you through the process of setting up and utilizing various providers and resources to manage your cloud infrastructure and services using Crossplane's Kubernetes-style APIs. In this video, you'll learn how to configure connections to cloud providers like AWS, GCP, and Azure, and show you how to create and manage resources in those.
    ▬▬▬▬▬▬ 📖 The Book 📖 ▬▬▬▬▬▬
    Amazon: www.amazon.com...
    LeanPub: leanpub.com/cr...
    ▬▬▬▬▬▬ 📋 Crossplane Tutorial Playlist 📋 ▬▬▬▬▬▬
    • Crossplane Tutorial
    #Crossplane #AWS #Azure #GoogleCloud #GCP #Kubernetes
    Consider joining the channel: / devopstoolkit
    ▬▬▬▬▬▬ 🔗 Additional Info 🔗 ▬▬▬▬▬▬
    ➡ Gist with the commands: gist.github.co...
    🔗 Crossplane: crossplane.io
    🎬 Say Goodbye to Containers - Ephemeral Environments with Nix Shell: • Say Goodbye to Contain...
    ▬▬▬▬▬▬ 💰 Sponsorships 💰 ▬▬▬▬▬▬
    If you are interested in sponsoring this channel, please use calendar.app.g... to book a timeslot that suits you, and we'll go over the details. Or feel free to contact me over Twitter or LinkedIn (see below).
    ▬▬▬▬▬▬ 👋 Contact me 👋 ▬▬▬▬▬▬
    ➡ Twitter: / vfarcic
    ➡ LinkedIn: / viktorfarcic
    ▬▬▬▬▬▬ 🚀 Other Channels 🚀 ▬▬▬▬▬▬
    🎤 Podcast: www.devopspara...
    💬 Live streams: / devopsparadox
    ▬▬▬▬▬▬ ⏱ Timecodes ⏱ ▬▬▬▬▬▬
    00:00 Introduction to Providers and Managed Resources
    00:40 Chapter Setup
    01:14 Crossplane Providers
    08:24 Create Managed Resources
    17:36 Continuous Drift-Detection and Reconciliation
    19:45 Update Managed Resources
    20:35 Delete Managed Resources
    21:49 Destroy Everything

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

  • @DevOpsToolkit
    @DevOpsToolkit  5 месяцев назад +12

    Don't do what I described in this video. Managed Resources are the base on top of which everything else in Crossplane resides, but are rarely used directly. You'll see in the upcoming episode what you should do instead.

    • @kirek_fpv
      @kirek_fpv 5 месяцев назад +1

      So it's going to be about compositions? I have to admit that in my opinion compositions are interesting but also pain to write and maintain. Maybe my usecase is too complicated? (spawning whole eks incuding underlaying not so simple network). Im lookong forwards to talk about all my concerns with crossplane/upbound team at kubecon :)

    • @DevOpsToolkit
      @DevOpsToolkit  5 месяцев назад +1

      @kirek_fpv compositions might not be useful if you have one or two of something. But theoment you scale (e.g. multiple clusters, DBs, etc.), they tend to same a lot of time and be more reliable (uniform). That is especially true when people start building something-as-service consumed by others.

    • @kirek_fpv
      @kirek_fpv 5 месяцев назад +1

      @@DevOpsToolkit long story short: internal multi-tenant development platform :) kind of something as a service or all as a service 🤔

    • @DevOpsToolkit
      @DevOpsToolkit  5 месяцев назад +2

      @kirek_fpv you'll see an example with databases in the next video.

    • @phillipsma
      @phillipsma 5 месяцев назад +3

      I've come to realise, from reading crossplane issues related to cross-resource refs, that compositions are the way forward rather than direct MRs. My issue is determining what should go into a composition, i.e. where does the abstraction end. Segmenting the desired system as a whole into component composition parts that a dev decides on is preferred I assume, rather than compose-whole-system for a specific environment from one composition. In other words, compositions are building blocks rather than system specific perhaps. Looking forward to composition vid.

  • @tiberiumihairezus417
    @tiberiumihairezus417 5 месяцев назад +4

    Much appreciate this series!

  • @iamfrancisco
    @iamfrancisco 5 месяцев назад +1

    Great quality in everything, the explanations, examples, video. Thank you for doing this. I have not found a better resource. I wonder why there is not much documentation about this or at least it is hard to find. Also thank you for making this first example a real one and not the usual S3 bucket creation 😂

    • @DevOpsToolkit
      @DevOpsToolkit  5 месяцев назад

      Even that is not yet a "real" example. What we'll build starting from the next video certainly is.

  • @bjugdbjk
    @bjugdbjk 4 месяца назад +1

    unbelievable, Thanks a ton!

  • @royveshovda
    @royveshovda 4 месяца назад +1

    Good stuff 🚀

  • @IvanRizzante
    @IvanRizzante 5 месяцев назад +1

    Thank you!

  • @klassica
    @klassica 4 месяца назад +1

    Can you provide more resources about debugging a Crossplane buildout? Bonus if there are strategies for debugging XRs/Packages in Minikube. I'm just starting out, and finding out the biggest learning curve is past the MR stage.

    • @DevOpsToolkit
      @DevOpsToolkit  4 месяца назад

      As far as I know, there is no debugging as in stepping through code line by line. There are events in each of the MRs that are used to deduce what's going on, but no ability to attach a debugger.

  • @soulspirit86
    @soulspirit86 4 месяца назад +1

    Hi. I terminated my ec2 instance. Reconciliation did not happen (or i am still waiting). After reading up a bit, there seems to be a poll interval that can be set. But not sure if that is the solution to my issue. In any case it would probably be worth including a good default for the provider setup, so reconciliation can happen within lets say 5 minutes?
    kubectl get managed just shows me, that the instance is not ready

    • @DevOpsToolkit
      @DevOpsToolkit  4 месяца назад +1

      Ping me on Twitter or LinkedIn and we can take a look at what's happening in your case together.

  • @softwareengineer5764
    @softwareengineer5764 4 месяца назад +1

    Hi, Viktor, thanks for this serious. if i want to create AKS cluster along with vnet and subnet should I give both are a reference in the aks configuration(vnet,subnet) ??

    • @DevOpsToolkit
      @DevOpsToolkit  4 месяца назад +1

      You just need to add those to the composition and reference them in resources that use them.
      You'll see compositions later in one of the next videos.

  • @tomasferrari92
    @tomasferrari92 2 месяца назад +1

    hi Viktor, I've been diving myself into crossplane and I'm finding it amazing!
    One question, I usually set up a lab on aws that I destroy when I'm done. I use the Argocd app of apps pattern. Knowing this, is there any suggestions in terms of deletion?
    There always seems to be a problem in terms of deletion order. I know that ProviderConfigs should, by defualt, be deleted only after all Managed Resources are deleted. But this doesn't work 100% of the times, I'm not sure why. But even if it does, Providers do get deleted before Managed Resources.
    I've tried sync-waves but it doesnt work, I guess because of when Argo considers a resource as deleted. I can't seem to find an elegant solution.
    Do you have any suggestions?
    And thank you for all this great content, you keep me motivated!

    • @tomasferrari92
      @tomasferrari92 2 месяца назад +1

      i should clarify something. I get started by setting up an EKS environment with terraform. I then install Crossplane there and manage other resources like buckets or ElastiCaches with crossplane

    • @DevOpsToolkit
      @DevOpsToolkit  2 месяца назад +1

      You should use docs.crossplane.io/latest/concepts/usages/ for that. I did not add it to the book/videos mostly because it's still alpha so the API might change. The plan is to add features as additional chapters/videos as they graduate to beta (stable API).

    • @tomasferrari92
      @tomasferrari92 2 месяца назад +1

      @@DevOpsToolkit thank you! I'll look into this

    • @tomasferrari92
      @tomasferrari92 2 месяца назад +1

      I guess a good use would be for example, to generate a usage that prevents the deletion of the ec2 provider until the vpc is deleted, since the vpc is the last managed resources to go. Do you recommend this approach?

    • @DevOpsToolkit
      @DevOpsToolkit  2 месяца назад

      @tomasferrari92 there is no need to do that. Crossplane and AWS will figure it out. You need Usage when API of something might become unavailable. For example, you might create an eks cluster and a few objects inside that cluster. If you delete all of those, eks might be deleted first and make the kube API unavailable so crossplane might not be able to reach it to delete objects in that cluster.
      Also, bear in mind that you should not manage resources directly as explained in that video but through compositions (next video).

  • @andrewhadjimichael9616
    @andrewhadjimichael9616 5 месяцев назад +1

    Waiting for your book to get to 100%. I'm ready to purchase. How long do you think it will take to reach 100%?

    • @DevOpsToolkit
      @DevOpsToolkit  5 месяцев назад +2

      I put it to a random number of 80%. It is finished in the sense that it contains all the current features of Crossplane. As new features graduate to beta I will add them to the book. Hence, it will never be finished or, at least, not until i give up on crossplane (which I'm not planning to any time soon).
      Now, if you get ebook instead of paperback, you will be getting new releases as i add new chapters. Leanoub even has the option to get notifications when I publish a new version )Amazon doesn't).

    • @DevOpsToolkit
      @DevOpsToolkit  5 месяцев назад +1

      One more thing... The same goes for videos. They will keep coming and they reflect the book so you might not want to purchase it if you're watching the videos.

  • @nicolas_gama
    @nicolas_gama 5 месяцев назад +1

    where is Part 1 ?

    • @DevOpsToolkit
      @DevOpsToolkit  5 месяцев назад +1

      The link to the playlist with all the tutorial videos is in the description. It's also at the end of the video itself. The direct link to part one is Getting Started with Crossplane: A Glimpse Into the Future | Tutorial (Part 1)
      ruclips.net/video/bBpE0rfE-JM/видео.html