machine-controller-manager-provider-alicloud

module
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: Apache-2.0, BSD-3-Clause

README

machine-controller-manager-provider-alicloud

Out of tree (controller based) implementation for alicloud as a new provider.

About

  • This is a sample repository that provides the blueprint required to implement a new (hyperscale) provider. We call the new provider as alicloud for our ease.
  • Each provider implements the interface defined at MCM OOT driver.

Fundamental Design Principles:

Following are the basic principles kept in mind while developing the external plugin.

  • Communication between this Machine Controller (MC) and Machine Controller Manager (MCM) is achieved using the Kubernetes native declarative approach.
  • Machine Controller (MC) behaves as the controller used to interact with the cloud provider and manage the VMs corresponding to the machine objects.
  • Machine Controller Manager (MCM) deals with higher level objects such as machine-set and machine-deployment objects.

Support for a new provider

  • Steps to be followed while implementing a new provider are mentioned here

Directories

Path Synopsis
cmd
pkg
alicloud
Package alicloud contains the cloud provider specific implementations to manage machines
Package alicloud contains the cloud provider specific implementations to manage machines
alicloud/apis/validation
Package validation - validation is used to validate cloud specific ProviderSpec
Package validation - validation is used to validate cloud specific ProviderSpec
mock/client
Package client is a generated GoMock package.
Package client is a generated GoMock package.
mock/spi
Package client is a generated GoMock package.
Package client is a generated GoMock package.
spi
test

Jump to

Keyboard shortcuts

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