Created
October 2, 2019 14:11
-
-
Save chuckha/9d4ab8252709a426dbd493f603d9ac64 to your computer and use it in GitHub Desktop.
YAML used to reproduce issue
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: infrastructure.cluster.x-k8s.io/v1alpha2 | |
kind: AWSCluster | |
metadata: | |
creationTimestamp: null | |
name: my-cluster | |
namespace: default | |
spec: | |
region: us-west-2 | |
sshKeyName: work-laptop | |
--- | |
apiVersion: cluster.x-k8s.io/v1alpha2 | |
kind: Cluster | |
metadata: | |
creationTimestamp: null | |
name: my-cluster | |
namespace: default | |
spec: | |
infrastructureRef: | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2 | |
kind: AWSCluster | |
name: my-cluster | |
namespace: default | |
--- | |
apiVersion: cluster.x-k8s.io/v1alpha2 | |
kind: Machine | |
metadata: | |
name: my-cluster-controlplane-0 | |
labels: | |
cluster.x-k8s.io/control-plane: "true" | |
cluster.x-k8s.io/cluster-name: "my-cluster" | |
spec: | |
version: v1.16.0 | |
bootstrap: | |
configRef: | |
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha2 | |
kind: KubeadmConfig | |
name: my-cluster-controlplane-0 | |
infrastructureRef: | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2 | |
kind: AWSMachine | |
name: my-cluster-controlplane-0 | |
--- | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2 | |
kind: AWSMachine | |
metadata: | |
name: my-cluster-controlplane-0 | |
spec: | |
instanceType: t2.medium | |
iamInstanceProfile: "controllers.cluster-api-provider-aws.sigs.k8s.io" | |
sshKeyName: "work-laptop" | |
--- | |
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha2 | |
kind: KubeadmConfig | |
metadata: | |
name: my-cluster-controlplane-0 | |
spec: | |
initConfiguration: | |
nodeRegistration: | |
name: '{{ ds.meta_data.hostname }}' | |
kubeletExtraArgs: | |
cloud-provider: aws | |
clusterConfiguration: | |
apiServer: | |
extraArgs: | |
cloud-provider: aws | |
controllerManager: | |
extraArgs: | |
cloud-provider: aws | |
--- | |
apiVersion: cluster.x-k8s.io/v1alpha2 | |
kind: Machine | |
metadata: | |
name: my-cluster-controlplane-1 | |
labels: | |
cluster.x-k8s.io/control-plane: "true" | |
cluster.x-k8s.io/cluster-name: "my-cluster" | |
spec: | |
version: v1.16.0 | |
bootstrap: | |
configRef: | |
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha2 | |
kind: KubeadmConfig | |
name: my-cluster-controlplane-1 | |
infrastructureRef: | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2 | |
kind: AWSMachine | |
name: my-cluster-controlplane-1 | |
--- | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2 | |
kind: AWSMachine | |
metadata: | |
name: my-cluster-controlplane-1 | |
spec: | |
instanceType: t2.medium | |
iamInstanceProfile: "controllers.cluster-api-provider-aws.sigs.k8s.io" | |
sshKeyName: work-laptop | |
--- | |
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha2 | |
kind: KubeadmConfig | |
metadata: | |
name: my-cluster-controlplane-1 | |
spec: | |
joinConfiguration: | |
controlPlane: {} | |
nodeRegistration: | |
name: '{{ ds.meta_data.hostname }}' | |
kubeletExtraArgs: | |
cloud-provider: aws | |
--- | |
apiVersion: cluster.x-k8s.io/v1alpha2 | |
kind: Machine | |
metadata: | |
name: my-cluster-controlplane-2 | |
labels: | |
cluster.x-k8s.io/control-plane: "true" | |
cluster.x-k8s.io/cluster-name: "my-cluster" | |
spec: | |
version: v1.16.0 | |
bootstrap: | |
configRef: | |
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha2 | |
kind: KubeadmConfig | |
name: my-cluster-controlplane-2 | |
infrastructureRef: | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2 | |
kind: AWSMachine | |
name: my-cluster-controlplane-2 | |
--- | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2 | |
kind: AWSMachine | |
metadata: | |
name: my-cluster-controlplane-2 | |
spec: | |
instanceType: t2.medium | |
iamInstanceProfile: "controllers.cluster-api-provider-aws.sigs.k8s.io" | |
sshKeyName: work-laptop | |
--- | |
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha2 | |
kind: KubeadmConfig | |
metadata: | |
name: my-cluster-controlplane-2 | |
spec: | |
joinConfiguration: | |
controlPlane: {} | |
nodeRegistration: | |
name: '{{ ds.meta_data.hostname }}' | |
kubeletExtraArgs: | |
cloud-provider: aws | |
--- | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2 | |
kind: AWSMachine | |
metadata: | |
creationTimestamp: null | |
name: worker-0 | |
namespace: default | |
spec: | |
instanceType: t2.medium | |
iamInstanceProfile: "nodes.cluster-api-provider-aws.sigs.k8s.io" | |
sshKeyName: work-laptop | |
--- | |
apiVersion: cluster.x-k8s.io/v1alpha2 | |
kind: Machine | |
metadata: | |
creationTimestamp: null | |
labels: | |
cluster.x-k8s.io/cluster-name: my-cluster | |
name: worker-0 | |
namespace: default | |
spec: | |
bootstrap: | |
configRef: | |
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha2 | |
kind: KubeadmConfig | |
name: worker-0-config | |
namespace: default | |
infrastructureRef: | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2 | |
kind: AWSMachine | |
name: worker-0 | |
namespace: default | |
version: v1.16.0 | |
metadata: {} | |
status: | |
bootstrapReady: false | |
infrastructureReady: false | |
--- | |
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha2 | |
kind: KubeadmConfig | |
metadata: | |
creationTimestamp: null | |
name: worker-0-config | |
namespace: default | |
spec: | |
joinConfiguration: | |
discovery: {} | |
nodeRegistration: {} | |
status: {} | |
--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment