Skip to content

Instantly share code, notes, and snippets.

@chuckha
Created October 15, 2019 19:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chuckha/db7a6d166560464b9a8556e5a92e7538 to your computer and use it in GitHub Desktop.
Save chuckha/db7a6d166560464b9a8556e5a92e7538 to your computer and use it in GitHub Desktop.
---
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2
kind: DockerCluster
metadata:
creationTimestamp: null
name: my-cluster
namespace: default
spec: {}
---
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: DockerCluster
name: my-cluster
namespace: default
---
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2
kind: DockerMachine
metadata:
creationTimestamp: null
name: controlplane-0
namespace: default
spec: {}
---
apiVersion: cluster.x-k8s.io/v1alpha2
kind: Machine
metadata:
creationTimestamp: null
labels:
cluster.x-k8s.io/cluster-name: my-cluster
cluster.x-k8s.io/control-plane: "true"
name: controlplane-0
namespace: default
spec:
bootstrap:
configRef:
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha2
kind: KubeadmConfig
name: controlplane-0-config
namespace: default
infrastructureRef:
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2
kind: DockerMachine
name: controlplane-0
namespace: default
metadata: {}
---
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha2
kind: KubeadmConfig
metadata:
creationTimestamp: null
name: controlplane-0-config
namespace: default
spec:
clusterConfiguration:
apiServer: {}
certificatesDir: ""
controlPlaneEndpoint: ""
controllerManager: {}
dns:
type: ""
etcd: {}
imageRepository: ""
kubernetesVersion: ""
networking:
dnsDomain: ""
podSubnet: ""
serviceSubnet: ""
scheduler: {}
initConfiguration:
localAPIEndpoint:
advertiseAddress: ""
bindPort: 0
nodeRegistration: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment