forked from kubernetes-sigs/cluster-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add machineset.yaml.template to vsphere example (kubernetes-sigs#318)
* Add machineset.yaml.template to vsphere example * cleanup manifest
- Loading branch information
1 parent
8a83c7e
commit 4a80d37
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
machines.yaml | ||
cluster.yaml | ||
provider-components.yaml | ||
machineset.yaml | ||
vsphere_tmp | ||
vsphere_tmp.pub |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |