Last active
December 26, 2019 00:38
-
-
Save arashkaffamanesh/650eba3c71330e4464ffac81e9571a81 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: cluster.x-k8s.io/v1alpha3 | |
kind: Machine | |
metadata: | |
labels: | |
cluster.x-k8s.io/control-plane: "true" | |
name: aws-cluster-1-controlplane-0 | |
namespace: default | |
spec: | |
bootstrap: | |
configRef: | |
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha3 | |
kind: KubeadmConfig | |
name: aws-cluster-1-controlplane-0 | |
namespace: default | |
clusterName: aws-cluster-1 | |
infrastructureRef: | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3 | |
kind: AWSMachine | |
name: aws-cluster-1-controlplane-0 | |
namespace: default | |
version: v1.16.2 | |
--- | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3 | |
kind: AWSMachine | |
metadata: | |
name: aws-cluster-1-controlplane-0 | |
namespace: default | |
spec: | |
iamInstanceProfile: control-plane.cluster-api-provider-aws.sigs.k8s.io | |
instanceType: t2.medium | |
sshKeyName: default | |
--- | |
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha3 | |
kind: KubeadmConfig | |
metadata: | |
name: aws-cluster-1-controlplane-0 | |
namespace: default | |
spec: | |
clusterConfiguration: | |
apiServer: | |
extraArgs: | |
cloud-provider: aws | |
controllerManager: | |
extraArgs: | |
cloud-provider: aws | |
initConfiguration: | |
nodeRegistration: | |
kubeletExtraArgs: | |
cloud-provider: aws | |
name: '{{ ds.meta_data.local_hostname }}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment