Production-Ready Kubernetes Clusters Using Crossplane Compositions

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ย. 2021
  • Production-ready Kubernetes clusters require not only infrastructure but also third-party applications and services running inside such clusters from the get-go. Crossplane compositions enable us to combine all that. AWS, Azure, Google, and other cloud providers can be used to manage infrastructure. When those are combined with Helm and Kubernetes providers, we have everything we need defined as a single claim.
    ▬▬▬▬▬▬ 🔗 Additional Info 🔗 ▬▬▬▬▬▬
    ➡ Gist with the commands: gist.github.com/f0d35ef226020...
    🎬 Crossplane: • Crossplane - GitOps-ba...
    🎬 Crossplane Composites: • How To Shift Left Infr...
  • บันเทิง

ความคิดเห็น • 28

  • @rodoherty1
    @rodoherty1 ปีที่แล้ว

    Very useful video, Victor - thanks, as always!

  • @ramonsong6707
    @ramonsong6707 ปีที่แล้ว +1

    Victor is just too good to be free :D

  • @csabadobo
    @csabadobo ปีที่แล้ว

    Hi Victor, I have just started with Crossplane and struggling to put together a very basic composition - claim demo, ie a VPC + subnet group with the official upbound provider. Do you perhaps have something like that?

  • @alissonreinaldosilva1119
    @alissonreinaldosilva1119 11 หลายเดือนก่อน

    Awesome content. I love the idea of using crossplane to provision cloud infrastructure. What do you think about using crossplane to install only ArgoCD in the eks cluster, and letting ArgoCD deploy things like istio, prometheus, grafana as ArgoCD Applications? I find ArgoCD slightly less verbose for installing manifests 😅

  • @meyogi
    @meyogi 2 ปีที่แล้ว

    Great demo, thank you !
    As you mentioned, the Composition manifest is pretty big and I guess it could be hard to maintain : is it possible to split it into multiple manifests ? Maybe Crossplane has something like an 'include' field to merge several manifest parts into one ? Or maybe we could use helm or kustomize overlays to split this mega-manifest and ease writing and maintenance...?

    • @Upbound
      @Upbound  2 ปีที่แล้ว +1

      I tend to create Configuration Packages that wrap things up in a way that I can easily assemble/group stuff I need. I haven't used them in that video because I wanted to explore them separately. Have you seen th-cam.com/video/i7MFiInJV8c/w-d-xo.html

    • @meyogi
      @meyogi 2 ปีที่แล้ว

      @@Upbound not yet but I will soon 😉
      Thank you 👍

  • @alessandro-affinito
    @alessandro-affinito 2 ปีที่แล้ว +1

    Nice! I'll try to test it soon.
    Maybe while screen sharing it could be better to get resources and pipe with less (get .. -o yaml |less) such that you can search in the text by keywords and not scroll up and down :)

    • @Upbound
      @Upbound  2 ปีที่แล้ว +1

      You're right. I should do that.

  • @SoccerOneOps
    @SoccerOneOps 2 ปีที่แล้ว +1

    How would you import metadata from other resources to the crossplane claims/compositions, e.g. tags or some other useful existing metadata on other existing resources in kubernetes.
    Great demo 👏

    • @Upbound
      @Upbound  2 ปีที่แล้ว

      If the external name annotation is the same as the actual name of the resource, crossplane will take over management of that resource. However, it will update the resource to be exactly the same as the manifest so that might result in a change that you might not want. I'm not sure whether that's what you were asking.

  • @janjezek9333
    @janjezek9333 2 ปีที่แล้ว +1

    Cant wait till "How to make your K8s cluster GitOps ready (for production)" video... ⏰🤔🫖

    • @Upbound
      @Upbound  2 ปีที่แล้ว

      That's coming in January. It'll be a live webinar.

    • @janjezek9333
      @janjezek9333 2 ปีที่แล้ว +1

      @@Upbound Just wanna say that ou've one day left ;-) best regards

    • @Upbound
      @Upbound  2 ปีที่แล้ว +1

      Sorry for not responding earlier. It's been published a while ago on this channel :)

  • @matteobaiguini5940
    @matteobaiguini5940 2 ปีที่แล้ว +1

    here we have a little chicken-egg problem: how to create the "managing k8s cluster containing crossplane"?
    is there any CLI or feature to initialise the managing k8s cluster and deploy crossplane on that?
    otherwise to init everything we should fall back to something like Terraform...

    • @Upbound
      @Upbound  2 ปีที่แล้ว

      You can use Upbound cloud to get a managed crossplane.

  • @TAICHI1SCO
    @TAICHI1SCO 2 ปีที่แล้ว +1

    How would you deal with environment where there are multiple AWS accounts and GCP Projects. I would like to have one central cluster where crossplane is deployed and from there manage infrastructures of various AWS accounts/GCP Projects.
    Do I need to create a provider for each account / Projects ?

    • @Upbound
      @Upbound  2 ปีที่แล้ว +1

      You would need multiple providers.

  • @UtkarshMishra-it4oc
    @UtkarshMishra-it4oc 9 หลายเดือนก่อน

    How to access the UI of the ArgoCD server deployed on EKS cluster ? I have tried port forwarding but can't get the password right. The password I am trying is the one I found in composition.yaml in patches section and username is admin.

  • @gustavshoener7891
    @gustavshoener7891 2 ปีที่แล้ว +1

    Looks amazing, just tried it and ran into an error at this step:
    kubectl --namespace a-team apply --filename examples/aws-eks.yaml
    TH-cam has been deleting my comments so am trying to break this up into multiple.

    • @gustavshoener7891
      @gustavshoener7891 2 ปีที่แล้ว +1

      Can't post the error directly cause youtube deletes it so here it is some of it.
      no matches for kind ClusterClaim in version ...

    • @Upbound
      @Upbound  2 ปีที่แล้ว

      Can you ping me on crossplane or CNCF slack? My user is vfarcic.

  • @matteobaiguini5940
    @matteobaiguini5940 2 ปีที่แล้ว +1

    is it possible to use Kustomize instead of Helm?

    • @Upbound
      @Upbound  2 ปีที่แล้ว

      Right now there is no kustomize provider. It would be a nice addition though.

    • @matteobaiguini5940
      @matteobaiguini5940 2 ปีที่แล้ว +1

      ​@@Upbound what a pity!! I think that at least Helm and Kustomize are a must to have... not everything has an helm chart and not everybody is willing to use helm

    • @Upbound
      @Upbound  2 ปีที่แล้ว

      @@matteobaiguini5940 I agree and I'm sure it'll come. It's only a question when, not if. Crossplane is an open source project and different people work on different providers. Would you be interested working on a Kustomize provider? If yes, I can help you get going.

    • @matteobaiguini5940
      @matteobaiguini5940 2 ปีที่แล้ว +1

      @@Upbound thanks for the offer, but I'm really busy with other projects at the moment. But that would be definitely cool!