extend example configuration
@@ -25,9 +25,7 @@ provider:
# The list of nodes can be overwritten by providing Terraform output.
# You are strongly encouraged to provide an odd number of nodes and
# have at least three of them.
-# Remember to only specify your *master* nodes. All further worker
-# nodes will not be provisioned by KubeOne, but rather by the
-# machine-controller from inside the cluster.
+# Remember to only specify your *master* nodes.
hosts:
- public_address: '1.2.3.4'
private_address: '172.18.0.1'
@@ -46,3 +44,33 @@ hosts:
# your first node.
apiserver:
address: '1.2.3.4'
+
+# KubeOne can automatically create MachineDeployments to create
+# worker nodes in your cluster. Each element in this "workers"
+# list is a single deployment and must have a unique name.
+#workers:
+# - replicas: 5
+# name: my-workers
+# provider: aws # if not given, defaults to the provider.name value
+#
+# # refer to the machine-controller documentation to see which
+# # flags you need to specify for your workers; this is dependent
+# # on the chosen cloud provider and the example below would
+# # provision Ubuntu 18.04 machines in EU-Frankfurt with 50GB SSD
+# # disks each.
+# spec:
+# ami: ami-0bdf93799014acdc4
+# region: 'eu-central-1'
+# availabilityZone: 'eu-central-1a'
+# vpcId: 'vpc-819f62e9'
+# subnetId: 'subnet-2bff4f43'
+# instanceType: 't2.medium'
+# diskSize: 50
+# diskType: 'gp2'
+#
+# # Configure the OS spec here; this is once again defined by the
+# # machine-controller.
+# operating_system:
+# name: ubuntu
+# spec:
+# distUpgradeOnBoot: false
