Created
February 5, 2020 04:01
-
-
Save onelittlenightmusic/3aa80ccad771d0e8e87ce4ac60d54205 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/v1alpha2 | |
kind: MachineDeployment | |
metadata: | |
name: capi-quickstart-worker | |
labels: | |
cluster.x-k8s.io/cluster-name: capi-quickstart | |
# Labels beyond this point are for example purposes, | |
# feel free to add more or change with something more meaningful. | |
# Sync these values with spec.selector.matchLabels and spec.template.metadata.labels. | |
nodepool: nodepool-0 | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
cluster.x-k8s.io/cluster-name: capi-quickstart | |
nodepool: nodepool-0 | |
template: | |
metadata: | |
labels: | |
cluster.x-k8s.io/cluster-name: capi-quickstart | |
nodepool: nodepool-0 | |
spec: | |
version: v1.15.3 | |
bootstrap: | |
configRef: | |
name: capi-quickstart-worker | |
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha2 | |
kind: KubeadmConfigTemplate | |
infrastructureRef: | |
name: capi-quickstart-worker | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2 | |
kind: DockerMachineTemplate | |
--- | |
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha2 | |
kind: DockerMachineTemplate | |
metadata: | |
name: capi-quickstart-worker | |
spec: | |
template: | |
spec: {} | |
--- | |
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha2 | |
kind: KubeadmConfigTemplate | |
metadata: | |
name: capi-quickstart-worker | |
spec: | |
template: | |
spec: | |
# For more information about these values, | |
# refer to the Kubeadm Bootstrap Provider documentation. | |
joinConfiguration: | |
nodeRegistration: | |
kubeletExtraArgs: | |
eviction-hard: nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0% | |
clusterConfiguration: | |
controllerManager: | |
extraArgs: | |
enable-hostpath-provisioner: "true" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment