cluster-api-provider-maas

command module
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

README

Cluster-API-Provider-MAAS

Cluster API Provider for Canonical Metal-As-A-Service maas.io

You're welcome to join the upcoming webinar for capmaas!

Getting Started

Public Images

Spectro Cloud public images

Kubernetes Version URL
1.21.14 https://maas-images-public.s3.amazonaws.com/u-2004-0-k-12114-0.tar.gz
1.22.12 https://maas-images-public.s3.amazonaws.com/u-2004-0-k-12212-0.tar.gz
1.23.9 https://maas-images-public.s3.amazonaws.com/u-2004-0-k-1239-0.tar.gz
1.24.3 https://maas-images-public.s3.amazonaws.com/u-2004-0-k-1243-0.tar.gz
1.25.6 https://maas-images-public.s3.amazonaws.com/u-2204-0-k-1256-0.tar.gz
1.26.1 https://maas-images-public.s3.amazonaws.com/u-2204-0-k-1261-0.tar.gz

Custom Image Generation

Refer image-generation/

Set up

  • Create kind cluster
kind create cluster
clusterctl init --infrastructure maas:v0.4.0
Developer Guide
  • Create kind cluster
kind create cluster
  • Install clusterctl v1 depending on the version you are working with

  • Makefile set IMG=

  • Run

make docker-build && make docker-push
  • Generate dev manifests
make dev-manifests
  • Move _build/dev/ directory contents to ~/.clusterapi/overrides v0.4.0 depending on version you are working with
.
├── clusterctl.yaml
├── overrides
│   ├── infrastructure-maas
│       └── v0.4.0
│           ├── cluster-template.yaml
│           ├── infrastructure-components.yaml
│           └── metadata.yaml
└── version.yaml

  • Run
clusterctl init --infrastructure maas:v0.4.0

Install CRDs

v1beta1 v0.4.0 release
  • Generate cluster using
clusterctl generate cluster t-cluster  --infrastructure=maas:v0.4.0 | kubectl apply -f -

or

clusterctl generate cluster t-cluster --infrastructure=maas:v0.4.0 --kubernetes-version v1.24.3 > my_cluster.yaml
kubectl apply -f my_cluster.yaml

or

clusterctl generate cluster t-cluster --infrastructure=maas:v0.4.0 --kubernetes-version v1.24.3 --control-plane-machine-count=1 --worker-machine-count=3 > my_cluster.yaml
kubectl apply -f my_cluster.yaml

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha3
+k8s:conversion-gen=github.com/spectrocloud/cluster-api-provider-maas/api/v1beta1
+k8s:conversion-gen=github.com/spectrocloud/cluster-api-provider-maas/api/v1beta1
v1alpha4
+k8s:conversion-gen=github.com/spectrocloud/cluster-api-provider-maas/api/v1beta1
+k8s:conversion-gen=github.com/spectrocloud/cluster-api-provider-maas/api/v1beta1
v1beta1
Package v1beta1 contains API Schema definitions for the infrastructure v1beta1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
Package v1beta1 contains API Schema definitions for the infrastructure v1beta1 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
pkg
maas/client/mock
Package mock_clientset is a generated GoMock package.
Package mock_clientset is a generated GoMock package.
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL