mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-04-30 22:16:44 +00:00
219 lines
5.2 KiB
HTML
219 lines
5.2 KiB
HTML
{# Feel free to customize or override anything in there! #}
|
|
|
|
{%- set url = "http://FIXME.container.training/" -%}
|
|
{%- set pagesize = 9 -%}
|
|
{%- set lang = "en" -%}
|
|
{%- set event = "training session" -%}
|
|
{%- set backside = False -%}
|
|
{%- set image = "kube" -%}
|
|
{%- set clusternumber = 100 -%}
|
|
|
|
{%- set image_src = {
|
|
"docker": "https://s3-us-west-2.amazonaws.com/www.breadware.com/integrations/docker.png",
|
|
"swarm": "https://cdn.wp.nginx.com/wp-content/uploads/2016/07/docker-swarm-hero2.png",
|
|
"kube": "https://avatars1.githubusercontent.com/u/13629408",
|
|
"enix": "https://enix.io/static/img/logos/logo-domain-cropped.png",
|
|
}[image] -%}
|
|
{%- if lang == "en" and clustersize == 1 -%}
|
|
{%- set intro -%}
|
|
Here is the connection information to your very own
|
|
machine for this {{ event }}.
|
|
You can connect to this VM with any SSH client.
|
|
{%- endset -%}
|
|
{%- set listhead -%}
|
|
Your machine is:
|
|
{%- endset -%}
|
|
{%- endif -%}
|
|
{%- if lang == "en" and clustersize != 1 -%}
|
|
{%- set intro -%}
|
|
Here is the connection information to your very own
|
|
cluster for this {{ event }}.
|
|
You can connect to each VM with any SSH client.
|
|
{%- endset -%}
|
|
{%- set listhead -%}
|
|
Your machines are:
|
|
{%- endset -%}
|
|
{%- endif -%}
|
|
{%- if lang == "fr" and clustersize == 1 -%}
|
|
{%- set intro -%}
|
|
Voici les informations permettant de se connecter à votre
|
|
machine pour cette formation.
|
|
Vous pouvez vous connecter à cette machine virtuelle
|
|
avec n'importe quel client SSH.
|
|
{%- endset -%}
|
|
{%- set listhead -%}
|
|
Adresse IP:
|
|
{%- endset -%}
|
|
{%- endif -%}
|
|
{%- if lang == "en" and clusterprefix != "node" -%}
|
|
{%- set intro -%}
|
|
Here is the connection information for the
|
|
<strong>{{ clusterprefix }}</strong> environment.
|
|
{%- endset -%}
|
|
{%- endif -%}
|
|
{%- if lang == "fr" and clustersize != 1 -%}
|
|
{%- set intro -%}
|
|
Voici les informations permettant de se connecter à votre
|
|
cluster pour cette formation.
|
|
Vous pouvez vous connecter à chaque machine virtuelle
|
|
avec n'importe quel client SSH.
|
|
{%- endset -%}
|
|
{%- set listhead -%}
|
|
Adresses IP:
|
|
{%- endset -%}
|
|
{%- endif -%}
|
|
{%- if lang == "en" -%}
|
|
{%- set slides_are_at -%}
|
|
You can find the slides at:
|
|
{%- endset -%}
|
|
{%- endif -%}
|
|
{%- if lang == "fr" -%}
|
|
{%- set slides_are_at -%}
|
|
Le support de formation est à l'adresse suivante :
|
|
{%- endset -%}
|
|
{%- endif -%}
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head><style>
|
|
@import url('https://fonts.googleapis.com/css?family=Slabo+27px');
|
|
|
|
body, table {
|
|
margin: 0;
|
|
padding: 0;
|
|
line-height: 1em;
|
|
font-size: 15px;
|
|
font-family: 'Slabo 27px';
|
|
}
|
|
|
|
table {
|
|
border-spacing: 0;
|
|
margin-top: 0.4em;
|
|
margin-bottom: 0.4em;
|
|
border-left: 0.8em double grey;
|
|
padding-left: 0.4em;
|
|
}
|
|
|
|
div {
|
|
float: left;
|
|
border: 1px dotted black;
|
|
{% if backside %}
|
|
height: 31%;
|
|
{% endif %}
|
|
padding-top: 1%;
|
|
padding-bottom: 1%;
|
|
/* columns * (width+left+right) < 100% */
|
|
/*
|
|
width: 21.5%;
|
|
padding-left: 1.5%;
|
|
padding-right: 1.5%;
|
|
*/
|
|
/**/
|
|
width: 30%;
|
|
padding-left: 1.5%;
|
|
padding-right: 1.5%;
|
|
/**/
|
|
}
|
|
|
|
p {
|
|
margin: 0.4em 0 0.4em 0;
|
|
}
|
|
|
|
div.back {
|
|
border: 1px dotted white;
|
|
}
|
|
|
|
div.back p {
|
|
margin: 0.5em 1em 0 1em;
|
|
}
|
|
|
|
img {
|
|
height: 4em;
|
|
float: right;
|
|
margin-right: -0.2em;
|
|
}
|
|
|
|
/*
|
|
img.enix {
|
|
height: 4.0em;
|
|
margin-top: 0.4em;
|
|
}
|
|
|
|
img.kube {
|
|
height: 4.2em;
|
|
margin-top: 1.7em;
|
|
}
|
|
*/
|
|
|
|
.logpass {
|
|
font-family: monospace;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.pagebreak {
|
|
page-break-after: always;
|
|
clear: both;
|
|
display: block;
|
|
height: 8px;
|
|
}
|
|
</style></head>
|
|
<body>
|
|
{% for cluster in clusters %}
|
|
<div>
|
|
<p>{{ intro }}</p>
|
|
<p>
|
|
<img src="{{ image_src }}" />
|
|
<table>
|
|
{% if clusternumber != None %}
|
|
<tr><td>cluster:</td></tr>
|
|
<tr><td class="logpass">{{ clusternumber + loop.index }}</td></tr>
|
|
{% endif %}
|
|
<tr><td>login:</td></tr>
|
|
<tr><td class="logpass">docker</td></tr>
|
|
<tr><td>password:</td></tr>
|
|
<tr><td class="logpass">{{ docker_user_password }}</td></tr>
|
|
</table>
|
|
|
|
</p>
|
|
<p>
|
|
{{ listhead }}
|
|
<table>
|
|
{% for node in cluster %}
|
|
<tr>
|
|
<td>{{ clusterprefix }}{{ loop.index }}:</td>
|
|
<td>{{ node }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</p>
|
|
|
|
<p>
|
|
{{ slides_are_at }}
|
|
<center>{{ url }}</center>
|
|
</p>
|
|
</div>
|
|
{% if loop.index%pagesize==0 or loop.last %}
|
|
<span class="pagebreak"></span>
|
|
{% if backside %}
|
|
{% for x in range(pagesize) %}
|
|
<div class="back">
|
|
<br/>
|
|
<p>You got this at the workshop
|
|
"Getting Started With Kubernetes and Container Orchestration"
|
|
during QCON London (March 2019).</p>
|
|
<p>If you liked that workshop,
|
|
I can train your team or organization
|
|
on Docker, container, and Kubernetes,
|
|
with curriculums of 1 to 5 days.
|
|
</p>
|
|
<p>Interested? Contact me at:</p>
|
|
<p>jerome.petazzoni@gmail.com</p>
|
|
<p>Thank you!</p>
|
|
</div>
|
|
{% endfor %}
|
|
<span class="pagebreak"></span>
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
</body>
|
|
</html>
|