-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add machineset.yaml.template to vsphere example #318
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
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 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
apiVersion: "cluster.k8s.io/v1alpha1" | ||
kind: MachineSet | ||
metadata: | ||
name: karangoel-ms-1 | ||
spec: | ||
replicas: 1 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should we default to 2 so that it's clear how this is different than individual machines? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
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: "ubuntu-xenial-16.04-cloudimg-20180504" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is blank in https://github.com/kubernetes-sigs/cluster-api/blob/master/clusterctl/examples/vsphere/machines.yaml.template; should it be blank here too? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
disk_label: "" | ||
disk_size: "10" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
virtual_machine_domain: "" | ||
versions: | ||
kubelet: 1.10.1 | ||
roles: | ||
- Node |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove karangoel from here: something like
test-machineset-1
orvsphere-nodes
or something would make more sense.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done