Skip to content

Commit

Permalink
Update vsphere README for machineset
Browse files Browse the repository at this point in the history
  • Loading branch information
karan committed Jun 11, 2018
1 parent a2d8231 commit 1c29454
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 28 deletions.
10 changes: 8 additions & 2 deletions clusterctl/examples/vsphere/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,18 @@ For convenience, a generation script which populates templates where possible.
./generate-yaml.sh
```
2. Copy machines.yaml.template to machines.yaml and
Manually edit ```terraformVariables``` for machines in machines.yaml
Manually edit ```machineVariables``` for machines in machines.yaml
```
cp machines.yaml.template machines.yaml
```

3. Copy cluster.yaml.template to cluster.yaml and
3. Copy machineset.yaml.template to machineset.yaml and
Manually edit ```machineVariables``` for machines in machineset.yaml
```
cp machineset.yaml.template machineset.yaml
```

4. Copy cluster.yaml.template to cluster.yaml and
Manually edit ```providerConfig``` for the cluster in cluster.yaml
```
cp cluster.yaml.template cluster.yaml
Expand Down
27 changes: 1 addition & 26 deletions clusterctl/examples/vsphere/machines.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ items:
- apiVersion: "cluster.k8s.io/v1alpha1"
kind: Machine
metadata:
generateName: tf-master-
generateName: vs-master-
labels:
set: master
spec:
Expand All @@ -27,28 +27,3 @@ items:
controlPlane: 1.10.1
roles:
- Master
- apiVersion: "cluster.k8s.io/v1alpha1"
kind: Machine
metadata:
generateName: tf-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

0 comments on commit 1c29454

Please sign in to comment.