Skip to content

openshift/machine-api-provider-aws

Machine API Provider AWS

This repository contains implementations of AWS Provider for Machine API.

What is the Machine API

A declarative API for creating and managing machines in an OpenShift cluster. The project is based on v1alpha2 version of Cluster API.

Documentation

Architecture

The provider imports Machine controller from machine-api-operator and provides implementation for Actuator interface. The Actuator implementation is responsible for CRUD operations on AWS API.

Building and running controller locally

NO_DOCKER=1 make build && ./bin/machine-controller-manager

By default, we run make tasks in a container. To run the controller locally, set NO_DOCKER=1.

Running tests

Unit

In order to run unit tests use make test.

E2E Tests

If you wish to run E2E tests, you can use make e2e. Make sure you have a running OpenShift cluster on AWS.