machine-controller-manager-provider-hcloud

module
v0.0.0-...-75acbac Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: Apache-2.0, BSD-3-Clause

README

machine-controller-manager-provider-hcloud

Out of tree (controller based) implementation for hcloud 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 hcloud 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
provider
Package provider contains the cloud provider specific implementations to manage machines
Package provider contains the cloud provider specific implementations to manage machines
provider/apis/validation
Package validation - validation is used to validate cloud specific ProviderSpec
Package validation - validation is used to validate cloud specific ProviderSpec
spi

Jump to

Keyboard shortcuts

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