- 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.
- Deploy the required CRDs for the machine-controller-manager by pointing your KUBECONFIG to the appropriate cluster.
kubectl apply -f kubernetes/crds.yaml
- Fetch the machine-controller-manager repository and cd into it.
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
- Now open another terminal and fetch this repository and cd into it.
- Start the aws driver.
make start-with-aws
- Edit the machine-class file - s
kubernetes/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