diff --git a/prepare-vms/settings/kube101.html b/prepare-vms/settings/kube101.html new file mode 100644 index 00000000..947821b4 --- /dev/null +++ b/prepare-vms/settings/kube101.html @@ -0,0 +1,106 @@ +{# Feel free to customize or override anything in there! #} +{%- set url = "http://container.training/" -%} +{%- set pagesize = 12 -%} +{%- if clustersize == 1 -%} + {%- set workshop_name = "Docker workshop" -%} + {%- set cluster_or_machine = "machine" -%} + {%- set this_or_each = "this" -%} + {%- set machine_is_or_machines_are = "machine is" -%} + {%- set image_src = "https://s3-us-west-2.amazonaws.com/www.breadware.com/integrations/docker.png" -%} +{%- else -%} + {%- set workshop_name = "Kubernetes workshop" -%} + {%- set cluster_or_machine = "cluster" -%} + {%- set this_or_each = "each" -%} + {%- set machine_is_or_machines_are = "machines are" -%} + {%- set image_src_swarm = "https://cdn.wp.nginx.com/wp-content/uploads/2016/07/docker-swarm-hero2.png" -%} + {%- set image_src_kube = "https://avatars1.githubusercontent.com/u/13629408" -%} + {%- set image_src = image_src_kube -%} +{%- endif -%} + + + + +{% for cluster in clusters %} + {% if loop.index0>0 and loop.index0%pagesize==0 %} + + {% endif %} +
+ +

+ Here is the connection information to your very own + {{ cluster_or_machine }} for this {{ workshop_name }}. + You can connect to {{ this_or_each }} VM with any SSH client. +

+

+ + + + + + +
login:
docker
password:
training
+ +

+

+ Your {{ machine_is_or_machines_are }}: + + {% for node in cluster %} + + {% endfor %} +
node{{ loop.index }}:{{ node }}
+

+

You can find the slides at: +

{{ url }}
+

+
+{% endfor %} + + diff --git a/prepare-vms/settings/kube101.yaml b/prepare-vms/settings/kube101.yaml new file mode 100644 index 00000000..06a9413a --- /dev/null +++ b/prepare-vms/settings/kube101.yaml @@ -0,0 +1,24 @@ +# 3 nodes for k8s 101 workshops + +# Number of VMs per cluster +clustersize: 3 + +# Jinja2 template to use to generate ready-to-cut cards +cards_template: settings/kube101.html + +# Use "Letter" in the US, and "A4" everywhere else +paper_size: Letter + +# Feel free to reduce this if your printer can handle it +paper_margin: 0.2in + +# Note: paper_size and paper_margin only apply to PDF generated with pdfkit. +# If you print (or generate a PDF) using ips.html, they will be ignored. +# (The equivalent parameters must be set from the browser's print dialog.) + +# This can be "test" or "stable" +engine_version: test + +# These correspond to the version numbers visible on their respective GitHub release pages +compose_version: 1.18.0 +machine_version: 0.13.0