From 4a80d375b10ca0520d6da81aab21fa04b0533aff Mon Sep 17 00:00:00 2001 From: Karan Goel Date: Mon, 11 Jun 2018 10:14:31 -0700 Subject: [PATCH] Add machineset.yaml.template to vsphere example (#318) * Add machineset.yaml.template to vsphere example * cleanup manifest --- .gitignore | 1 + machineset.yaml.template | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 machineset.yaml.template diff --git a/.gitignore b/.gitignore index 565d6f9dd6b1..e082cb099bd6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ machines.yaml cluster.yaml provider-components.yaml +machineset.yaml vsphere_tmp vsphere_tmp.pub \ No newline at end of file diff --git a/machineset.yaml.template b/machineset.yaml.template new file mode 100644 index 000000000000..e7fdaa4a07dd --- /dev/null +++ b/machineset.yaml.template @@ -0,0 +1,34 @@ +apiVersion: "cluster.k8s.io/v1alpha1" +kind: MachineSet +metadata: + name: test-machineset-1 +spec: + replicas: 2 + selector: + matchLabels: + node-type: worker-node + template: + metadata: + labels: + node-type: worker-node + spec: + providerConfig: + value: + apiVersion: "vsphereproviderconfig/v1alpha1" + kind: "VsphereMachineProviderConfig" + vsphereMachine: "standard-node" + machineVariables: + datacenter: "" + datastore: "" + resource_pool: "" + network: "" + num_cpus: "2" + memory: "2048" + vm_template: "" + disk_label: "" + disk_size: "" + virtual_machine_domain: "" + versions: + kubelet: 1.10.1 + roles: + - Node \ No newline at end of file