chaunceyt / kubecon-eu-2023-demo-crossplane-vcluster

Demo repository for our KubeCon EU 2023 presentation - How We Securely Scaled Multi-Tenancy with vcluster, Crossplane, and Argo CD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using Crossplane to deploy ArgoCD on vcluster

Run your own k3d cluster with Crossplane and deploy ArgoCD instances onto vclusters Architecture


Requirements to run this demo

  1. k3d
  2. Helm

What's in this repository?

  1. Initialization script - deploys k3d cluster and installs ArgoCD onto it. It also applies the argocd-applications to this cluster.
  2. crossplane-resources - Contains the providers required to deploy our virtualargocd composite resource, along with the definition and the composition
  3. virtualargocds - contains the composite resource claims. Here we will define all instances of the composition to be created.
  4. argocd-applications - contains ArgoCD applications so that ArgoCD syncs it all to the cluster. One of the ArgoCD appplications deploys crossplane itself to the cluster.

How to run the demo?

  1. Fork the repo
  2. Replace repository URL in crossplane-resources.yaml and in virtual-argocds.yaml.
  3. Execute initializtion script.
  4. Once all ArgoCD applications are synced, uncomment customer2.yaml, see that a namespace is created, with vcluster and ArgoCD deployed onto it.

About

Demo repository for our KubeCon EU 2023 presentation - How We Securely Scaled Multi-Tenancy with vcluster, Crossplane, and Argo CD


Languages

Language:Shell 100.0%