machine-controller-manager-provider-aws

module
v0.0.0-...-f4df126 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: Apache-2.0

README

⚠ Caution:

  • This project is not being maintained anymore.
  • The out of tree prototype implemented here will not be used in machine-controller-manager ahead, please refer to the related issue for more information:

machine-controller-manager-provider-aws

  • This repository aims to implement the out-of-tree driver support for AWS in machine-controller-manager
  • This makes use of gRPC to achieve the communication between the Driver and MCM.

Usage

Deploy the required CRDs
  • Deploy the required CRDs for the machine-controller-manager by pointing your KUBECONFIG to the appropriate cluster.
    kubectl apply -f kubernetes/crds.yaml
Starting the machine-controller-manager
     git clone https://github.com/gardener/machine-controller-manager/
  • Now checkout into the grpc-driver branch.
    git checkout grpc-driver
  • Make sure your Makefile is pointing to the right clusters.
  • Start the machine-controller-manager.
    make start-with-grpc
Starting the machine-controller-manager-provider-aws
  • Now open another terminal and fetch this repository and cd into it.
  • Start the aws driver.
    make start-with-aws
Creating your own machine
  • Edit the machine-class file - skubernetes/aws-machine-class.yaml and replace the necessary details. And apply the same by pointing your KUBECONFIG to the right cluster.
    kubectl apply -f kubernetes/aws-machine-class.yaml
  • Edit the secret kubernetes/aws-secret.yaml file and replace the necessary details.
    kubectl apply -f kubernetes/aws-secret.yaml
  • Finally deploy the machine kubernetes/machine.yaml by replacing any necessary details.
    kubectl apply -f kubernetes/aws-secret.yaml

Sequence of steps that would occur during machine creation

screen shot 2018-09-20 at 2 12 04 pm

Directories

Path Synopsis
cmd
pkg
apis/machine
Package machine is the internal version of the API.
Package machine is the internal version of the API.
apis/machine/v1alpha1
Package v1alpha1 is the v1alpha1 version of the API.
Package v1alpha1 is the v1alpha1 version of the API.
apis/machine/validation
Package validation is used to validate all the machine CRD objects
Package validation is used to validate all the machine CRD objects
client/clientset/internalversion
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/clientset/internalversion/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/clientset/internalversion/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/clientset/internalversion/typed/machine/internalversion
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/internalversion/typed/machine/internalversion/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
client/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/clientset/versioned/typed/machine/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/machine/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
openapi
Package openapi exists to hold generated openapi code
Package openapi exists to hold generated openapi code

Jump to

Keyboard shortcuts

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