Giter Site home page Giter Site logo

gilesknap / cluster-api-provider-maas Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spectrocloud/cluster-api-provider-maas

0.0 2.0 0.0 664 KB

Cluster API Provider for MAAS (https://maas.io/)

License: Apache License 2.0

Dockerfile 0.86% Makefile 4.56% Go 89.34% Shell 5.23%

cluster-api-provider-maas's Introduction

cluster-api-provider-maas

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

Welcome to join the upcoming webinar for capmaas!

Getting Started

Public Images

spectrocloud public images

kubernetes Version URL
1.18.19 https://maas-images-public.s3.amazonaws.com/ubuntu-1804-k8s-1.18.19.tar.gz
1.19.13 https://maas-images-public.s3.amazonaws.com/ubuntu-1804-k8s-1.19.13.tar.gz
1.20.9 https://maas-images-public.s3.amazonaws.com/ubuntu-1804-k8s-1.20.9.tar.gz
1.21.2 https://maas-images-public.s3.amazonaws.com/ubuntu-1804-k8s-1.21.2.tar.gz

Custom Image Generation

Refer image-generation/

Set up

v1alph4

create kind cluster

kind create cluster

install clusterctl v1alpha4 https://release-0-4.cluster-api.sigs.k8s.io/user/quick-start.html

run

clusterctl init --infrastructure maas:v0.2.0

v1alpha3

create kind cluster

kind create cluster

install clusterctl v1alpha3 https://release-0-3.cluster-api.sigs.k8s.io/user/quick-start.html

run

clusterctl init --infrastructure maas:v0.1.1

Developer Guide

create kind cluster

kind create cluster

install clusterctl v3/v4 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.1.0 or v0.2.0 depedning on version you are working with

.
├── clusterctl.yaml
├── overrides
│   ├── infrastructure-maas
│   │   ├── v0.1.1
│   │   │   ├── cluster-template.yaml
│   │   │   ├── infrastructure-components.yaml
│   │   │   └── metadata.yaml
│   │   └── v0.2.0
│   │       ├── cluster-template.yaml
│   │       ├── infrastructure-components.yaml
│   │       └── metadata.yaml
└── version.yaml

run

clusterctl init --infrastructure maas:v0.1.1
or 
clusterctl init --infrastructure maas:v0.2.0

install CRDs

v1alpha3 v0.1.1 release

run example from for v1alpha3 or v0.1.0 release

kubectl apply -f examples/sample-with-workerpool.yaml

v1alpah4 v0.2.0 release

generate cluster using

clusterctl generate cluster t-cluster  --infrastructure=maas:v0.2.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.