Categorygithub.com/AlexsJones/cluster-api-provider-juju
repositorypackage
0.0.0-20220301150147-616b11de4abf
Repository: https://github.com/alexsjones/cluster-api-provider-juju.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# README

cluster-api-provider-juju

This is the juju provider for cluster API. It enables you to provision Charmed Kubernetes infrastructure.

Running from local

  • microk8s config > ~/config && export KUBECONFIG=~/config
  • clusterctl init
  • Install local CRD's with make install
  • Run the main.go locally and connect to the cluster

Running from cluster

  • microk8s config > ~/config && export KUBECONFIG=~/config
  • clusterctl init
  • kubectl cp /home/<NAME>/.local/share/juju <pod-name>:/root/.local/share/ -n cluster-api-provider-juju-system
  • Install local CRD's with make install
  • make deploy

Dependencies

Either with MacOS or LinuxBrew

brew install kubebuilder kustomize clusterctl
  • When running locally you will need juju installed and configured sudo snap install juju --classic

  • Optionally using microK8s or kind

    • snap install microk8s --classic
    • brew install kind