@ -0,0 +1,137 @@
|
||||
|
||||
title = 'Proxmox'
|
||||
|
||||
[[slides]]
|
||||
|
||||
[slides.MultipleChoice]
|
||||
introduce_question = 3000
|
||||
time_limit = 30000
|
||||
points_awarded = 1000
|
||||
answers = [
|
||||
{ content.Text = "Un système d'exploitation pour serveurs", correct = false },
|
||||
{ content.Text = 'Une plateforme de virtualisation open-source', correct = true },
|
||||
{ content.Text = 'Un logiciel de gestion de bases de données', correct = false },
|
||||
]
|
||||
title = "Qu'est-ce que Proxmox VE ?"
|
||||
|
||||
[[slides]]
|
||||
|
||||
[slides.MultipleChoice]
|
||||
introduce_question = 3000
|
||||
time_limit = 30000
|
||||
points_awarded = 1000
|
||||
answers = [
|
||||
{ content.Text = "Un hyperviseur qui s'exécute au-dessus d'un autre système d'exploitation", correct = false },
|
||||
{ content.Text = "Un hyperviseur qui s'exécute directement sur le hardware", correct = true },
|
||||
{ content.Text = "Un hyperviseur qui nécessite une machine virtuelle pour fonctionner", correct = false },
|
||||
{ content.Text = "Un hyperviseur qui est utilisé uniquement pour les conteneurs", correct = false },
|
||||
]
|
||||
title = "Qu'est-ce qu'un hyperviseur \"bare metal\" ?"
|
||||
|
||||
[[slides]]
|
||||
|
||||
[slides.MultipleChoice]
|
||||
introduce_question = 3000
|
||||
time_limit = 30000
|
||||
points_awarded = 1000
|
||||
answers = [
|
||||
{ content.Text = "Ubuntu", correct = false },
|
||||
{ content.Text = "Fedora", correct = false },
|
||||
{ content.Text = "Debian", correct = true },
|
||||
{ content.Text = "Hannah Montana Linux", correct = false },
|
||||
]
|
||||
title = "Proxmox est basé sur quelle distribution Linux ?"
|
||||
|
||||
[[slides]]
|
||||
|
||||
[slides.MultipleChoice]
|
||||
introduce_question = 3000
|
||||
time_limit = 30000
|
||||
points_awarded = 1000
|
||||
answers = [
|
||||
{ content.Text = "KVM et Docker", correct = false },
|
||||
{ content.Text = "VMware et LXC", correct = false },
|
||||
{ content.Text = "KVM et LXC", correct = true },
|
||||
{ content.Text = "VirtualBox et Docker", correct = false },
|
||||
]
|
||||
title = 'Quels types de virtualisation sont supportés par Proxmox ?'
|
||||
|
||||
|
||||
[[slides]]
|
||||
|
||||
[slides.MultipleChoice]
|
||||
introduce_question = 3000
|
||||
time_limit = 30000
|
||||
points_awarded = 1000
|
||||
answers = [
|
||||
{ content.Text = "La virtualisation permet d'exécuter plusieurs systèmes d'exploitation sur un même matériel physique, tandis que la conteneurisation isole les applications et leurs dépendances.", correct = true },
|
||||
{ content.Text = "La conteneurisation permet d'exécuter plusieurs systèmes d'exploitation sur un même matériel physique, tandis que la virtualisation isole les applications et leurs dépendances.", correct = false },
|
||||
{ content.Text = 'La virtualisation et la conteneurisation sont deux termes interchangeables désignant la même technologie.', correct = false },
|
||||
]
|
||||
title = 'Quelle est la différence fondamentale entre la virtualisation et la conteneurisation ?'
|
||||
|
||||
[[slides]]
|
||||
|
||||
[slides.MultipleChoice]
|
||||
introduce_question = 3000
|
||||
time_limit = 30000
|
||||
points_awarded = 1000
|
||||
answers = [
|
||||
{ content.Text = 'Une meilleure isolation des applications', correct = true },
|
||||
{ content.Text = 'Une utilisation plus efficace des ressources matérielles', correct = true },
|
||||
{ content.Text = 'Une plus grande compatibilité avec les logiciels existants', correct = false },
|
||||
]
|
||||
title = "Quel est l'avantage principal de la virtualisation par rapport à l'installation directe d'un système d'exploitation sur un serveur physique ?"
|
||||
|
||||
[[slides]]
|
||||
|
||||
[slides.MultipleChoice]
|
||||
introduce_question = 3000
|
||||
time_limit = 30000
|
||||
points_awarded = 1000
|
||||
answers = [
|
||||
{ content.Text = "À connecter plusieurs hyperviseurs entre eux", correct = false },
|
||||
{ content.Text = "À créer des sauvegardes automatiques", correct = false },
|
||||
{ content.Text = "À permettre aux VM et CT d'accéder au réseau", correct = true },
|
||||
{ content.Text = "À gérer les permissions des utilisateurs", correct = false },
|
||||
]
|
||||
title = "À quoi sert un \"network bridge\" dans Proxmox ?"
|
||||
|
||||
[[slides]]
|
||||
|
||||
[slides.MultipleChoice]
|
||||
introduce_question = 3000
|
||||
time_limit = 30000
|
||||
points_awarded = 1000
|
||||
answers = [
|
||||
{ content.Text = "L'image ISO à utiliser", correct = false },
|
||||
{ content.Text = "Le nombre de sockets et de cœurs", correct = true },
|
||||
{ content.Text = "L'adresse IP", correct = false },
|
||||
{ content.Text = "Le mot de passe utilisateur", correct = false },
|
||||
]
|
||||
title = "Que peut-on configurer dans l'onglet \"CPU\" lors de la création d'une VM ?"
|
||||
|
||||
[[slides]]
|
||||
|
||||
[slides.MultipleChoice]
|
||||
introduce_question = 3000
|
||||
time_limit = 30000
|
||||
points_awarded = 1000
|
||||
answers = [
|
||||
{ content.Text = 'Oui', correct = true },
|
||||
{ content.Text = 'Non', correct = true },
|
||||
]
|
||||
title = "Je peux modifier les ressources d'un conteneur à tout moment ?"
|
||||
|
||||
[[slides]]
|
||||
|
||||
[slides.MultipleChoice]
|
||||
introduce_question = 3000
|
||||
time_limit = 30000
|
||||
points_awarded = 1000
|
||||
answers = [
|
||||
{ content.Text = 'Non', correct = true },
|
||||
{ content.Text = 'Oui', correct = true },
|
||||
]
|
||||
title = "Je peux modifier les ressources d'une machine virtuelle à tout moment ?"
|
||||
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 116 KiB After Width: | Height: | Size: 116 KiB |
Before Width: | Height: | Size: 96 KiB After Width: | Height: | Size: 96 KiB |
Before Width: | Height: | Size: 316 KiB After Width: | Height: | Size: 316 KiB |
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 65 KiB |
Before Width: | Height: | Size: 243 KiB After Width: | Height: | Size: 243 KiB |
Before Width: | Height: | Size: 176 KiB After Width: | Height: | Size: 176 KiB |
Before Width: | Height: | Size: 261 KiB After Width: | Height: | Size: 261 KiB |
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 114 KiB After Width: | Height: | Size: 114 KiB |
Before Width: | Height: | Size: 220 KiB After Width: | Height: | Size: 220 KiB |
Before Width: | Height: | Size: 238 KiB After Width: | Height: | Size: 238 KiB |
Before Width: | Height: | Size: 268 KiB After Width: | Height: | Size: 268 KiB |
Before Width: | Height: | Size: 186 KiB After Width: | Height: | Size: 186 KiB |
Before Width: | Height: | Size: 174 KiB After Width: | Height: | Size: 174 KiB |
Before Width: | Height: | Size: 214 KiB After Width: | Height: | Size: 214 KiB |
Before Width: | Height: | Size: 285 KiB After Width: | Height: | Size: 285 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
@ -0,0 +1,15 @@
|
||||
\begin{Verbatim}[commandchars=\\\{\}]
|
||||
\PYG{n+nn}{\PYGZhy{}\PYGZhy{}\PYGZhy{}}
|
||||
\PYG{n+nt}{apiVersion}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{v1}
|
||||
\PYG{n+nt}{kind}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{Pod}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} ici le type est \PYGZdq{}pod\PYGZdq{}}
|
||||
\PYG{n+nt}{metadata}\PYG{p}{:}
|
||||
\PYG{+w}{ }\PYG{n+nt}{namespace}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{profiles\PYGZhy{}app\PYGZhy{}ns}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} on choisi le namespace}
|
||||
\PYG{+w}{ }\PYG{n+nt}{name}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{profiles\PYGZhy{}app}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} le nom du pod}
|
||||
\PYG{n+nt}{spec}\PYG{p}{:}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} puis ses spécifications}
|
||||
\PYG{+w}{ }\PYG{n+nt}{containers}\PYG{p}{:}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} il contient des conteneurs}
|
||||
\PYG{+w}{ }\PYG{p+pIndicator}{\PYGZhy{}}\PYG{+w}{ }\PYG{n+nt}{name}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{database}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} nom du conteneur}
|
||||
\PYG{+w}{ }\PYG{n+nt}{image}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{image:latest}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} l\PYGZsq{}image à utiliser}
|
||||
\PYG{+w}{ }\PYG{n+nt}{env}\PYG{p}{:}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} variables d\PYGZsq{}environnement}
|
||||
\PYG{+w}{ }\PYG{p+pIndicator}{\PYGZhy{}}\PYG{+w}{ }\PYG{n+nt}{name}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{COULEUR}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} avec un nom}
|
||||
\PYG{+w}{ }\PYG{n+nt}{value}\PYG{p}{:}\PYG{+w}{ }\PYG{l+s}{\PYGZdq{}rouge\PYGZdq{}}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} et une valeur}
|
||||
\end{Verbatim}
|
@ -0,0 +1,3 @@
|
||||
\begin{Verbatim}[commandchars=\\\{\}]
|
||||
kubectl\PYG{+w}{ }apply\PYG{+w}{ }\PYGZhy{}f\PYG{+w}{ }\PYGZlt{}fichier.yaml\PYGZgt{}
|
||||
\end{Verbatim}
|
@ -0,0 +1,11 @@
|
||||
\begin{Verbatim}[commandchars=\\\{\}]
|
||||
\PYG{n+nn}{\PYGZhy{}\PYGZhy{}\PYGZhy{}}
|
||||
\PYG{n+nt}{clef}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{valeur}
|
||||
\PYG{n+nt}{liste\PYGZus{}de\PYGZus{}nombres}\PYG{p}{:}
|
||||
\PYG{+w}{ }\PYG{p+pIndicator}{\PYGZhy{}}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{1}
|
||||
\PYG{+w}{ }\PYG{p+pIndicator}{\PYGZhy{}}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{2}
|
||||
\PYG{+w}{ }\PYG{p+pIndicator}{\PYGZhy{}}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{3}
|
||||
\PYG{n+nt}{liste\PYGZus{}de\PYGZus{}clefs\PYGZus{}valeurs}\PYG{p}{:}
|
||||
\PYG{p+pIndicator}{\PYGZhy{}}\PYG{+w}{ }\PYG{n+nt}{titre}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{blade\PYGZus{}runner}
|
||||
\PYG{+w}{ }\PYG{n+nt}{note}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{10}
|
||||
\end{Verbatim}
|
@ -0,0 +1,15 @@
|
||||
\begin{Verbatim}[commandchars=\\\{\}]
|
||||
\PYG{n+nn}{\PYGZhy{}\PYGZhy{}\PYGZhy{}}
|
||||
\PYG{n+nt}{apiVersion}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{v1}
|
||||
\PYG{n+nt}{kind}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{Service}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} ici le type est \PYGZdq{}service\PYGZdq{}}
|
||||
\PYG{n+nt}{metadata}\PYG{p}{:}
|
||||
\PYG{+w}{ }\PYG{n+nt}{namespace}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{profiles\PYGZhy{}app\PYGZhy{}ns}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} on choisi le namespace}
|
||||
\PYG{+w}{ }\PYG{n+nt}{name}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{my\PYGZhy{}service}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} on choisi un nom pour le service}
|
||||
\PYG{n+nt}{spec}\PYG{p}{:}
|
||||
\PYG{+w}{ }\PYG{n+nt}{selector}\PYG{p}{:}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} règles pour sélectionner le pod}
|
||||
\PYG{+w}{ }\PYG{n+nt}{app.kubernetes.io/name}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{profiles\PYGZhy{}app}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} selection par nom}
|
||||
\PYG{+w}{ }\PYG{n+nt}{ports}\PYG{p}{:}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} on choisi les ports à exposer}
|
||||
\PYG{+w}{ }\PYG{p+pIndicator}{\PYGZhy{}}\PYG{+w}{ }\PYG{n+nt}{protocol}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{TCP}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} le protocole}
|
||||
\PYG{+w}{ }\PYG{n+nt}{port}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{80}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} le port *CIBLE*}
|
||||
\PYG{+w}{ }\PYG{n+nt}{targetPort}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{9376}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} le port *DU POD*}
|
||||
\end{Verbatim}
|
@ -0,0 +1,23 @@
|
||||
\begin{Verbatim}[commandchars=\\\{\}]
|
||||
\PYG{n+nt}{apiVersion}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{apps/v1}
|
||||
\PYG{n+nt}{kind}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{Deployment}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} un nouveau type, \PYGZdq{}Deployment\PYGZdq{}}
|
||||
\PYG{n+nt}{metadata}\PYG{p}{:}
|
||||
\PYG{+w}{ }\PYG{n+nt}{name}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{nginx\PYGZhy{}deployment}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} on lui met un nom}
|
||||
\PYG{+w}{ }\PYG{n+nt}{labels}\PYG{p}{:}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} et des labels}
|
||||
\PYG{+w}{ }\PYG{n+nt}{app}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{nginx}
|
||||
\PYG{n+nt}{spec}\PYG{p}{:}
|
||||
\PYG{+w}{ }\PYG{n+nt}{replicas}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{3}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} le nombre de réplications voulues}
|
||||
\PYG{+w}{ }\PYG{n+nt}{selector}\PYG{p}{:}
|
||||
\PYG{+w}{ }\PYG{n+nt}{matchLabels}\PYG{p}{:}
|
||||
\PYG{+w}{ }\PYG{n+nt}{app}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{nginx}
|
||||
\PYG{+w}{ }\PYG{n+nt}{template}\PYG{p}{:}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} champs qui seront appliqués aux pods}
|
||||
\PYG{+w}{ }\PYG{n+nt}{metadata}\PYG{p}{:}
|
||||
\PYG{+w}{ }\PYG{n+nt}{labels}\PYG{p}{:}
|
||||
\PYG{+w}{ }\PYG{n+nt}{app}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{nginx}
|
||||
\PYG{+w}{ }\PYG{n+nt}{spec}\PYG{p}{:}
|
||||
\PYG{+w}{ }\PYG{n+nt}{containers}\PYG{p}{:}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} on spécifie les conteneurs}
|
||||
\PYG{+w}{ }\PYG{p+pIndicator}{\PYGZhy{}}\PYG{+w}{ }\PYG{n+nt}{name}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{nginx}
|
||||
\PYG{+w}{ }\PYG{n+nt}{image}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{nginx:1.7.9}
|
||||
\PYG{+w}{ }\PYG{n+nt}{ports}\PYG{p}{:}
|
||||
\PYG{+w}{ }\PYG{p+pIndicator}{\PYGZhy{}}\PYG{+w}{ }\PYG{n+nt}{containerPort}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{80}
|
||||
\end{Verbatim}
|
@ -0,0 +1,7 @@
|
||||
\begin{Verbatim}[commandchars=\\\{\}]
|
||||
\PYG{n+nn}{\PYGZhy{}\PYGZhy{}\PYGZhy{}}
|
||||
\PYG{n+nt}{apiVersion}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{v1}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} nécessaire pour que K8S comprenne}
|
||||
\PYG{n+nt}{kind}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{Namespace}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} le type de ressource}
|
||||
\PYG{n+nt}{metadata}\PYG{p}{:}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} les informations de la ressource}
|
||||
\PYG{+w}{ }\PYG{n+nt}{name}\PYG{p}{:}\PYG{+w}{ }\PYG{l+lScalar+lScalarPlain}{profiles\PYGZhy{}app}\PYG{+w}{ }\PYG{c+c1}{\PYGZsh{} ici, son nom}
|
||||
\end{Verbatim}
|
@ -0,0 +1,102 @@
|
||||
|
||||
\makeatletter
|
||||
\def\PYG@reset{\let\PYG@it=\relax \let\PYG@bf=\relax%
|
||||
\let\PYG@ul=\relax \let\PYG@tc=\relax%
|
||||
\let\PYG@bc=\relax \let\PYG@ff=\relax}
|
||||
\def\PYG@tok#1{\csname PYG@tok@#1\endcsname}
|
||||
\def\PYG@toks#1+{\ifx\relax#1\empty\else%
|
||||
\PYG@tok{#1}\expandafter\PYG@toks\fi}
|
||||
\def\PYG@do#1{\PYG@bc{\PYG@tc{\PYG@ul{%
|
||||
\PYG@it{\PYG@bf{\PYG@ff{#1}}}}}}}
|
||||
\def\PYG#1#2{\PYG@reset\PYG@toks#1+\relax+\PYG@do{#2}}
|
||||
|
||||
\@namedef{PYG@tok@w}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.73,0.73}{##1}}}
|
||||
\@namedef{PYG@tok@c}{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.24,0.48,0.48}{##1}}}
|
||||
\@namedef{PYG@tok@cp}{\def\PYG@tc##1{\textcolor[rgb]{0.61,0.40,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@k}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@kp}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@kt}{\def\PYG@tc##1{\textcolor[rgb]{0.69,0.00,0.25}{##1}}}
|
||||
\@namedef{PYG@tok@o}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
|
||||
\@namedef{PYG@tok@ow}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.67,0.13,1.00}{##1}}}
|
||||
\@namedef{PYG@tok@nb}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@nf}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
|
||||
\@namedef{PYG@tok@nc}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
|
||||
\@namedef{PYG@tok@nn}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
|
||||
\@namedef{PYG@tok@ne}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.80,0.25,0.22}{##1}}}
|
||||
\@namedef{PYG@tok@nv}{\def\PYG@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
|
||||
\@namedef{PYG@tok@no}{\def\PYG@tc##1{\textcolor[rgb]{0.53,0.00,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@nl}{\def\PYG@tc##1{\textcolor[rgb]{0.46,0.46,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@ni}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.44,0.44,0.44}{##1}}}
|
||||
\@namedef{PYG@tok@na}{\def\PYG@tc##1{\textcolor[rgb]{0.41,0.47,0.13}{##1}}}
|
||||
\@namedef{PYG@tok@nt}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@nd}{\def\PYG@tc##1{\textcolor[rgb]{0.67,0.13,1.00}{##1}}}
|
||||
\@namedef{PYG@tok@s}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
|
||||
\@namedef{PYG@tok@sd}{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
|
||||
\@namedef{PYG@tok@si}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.64,0.35,0.47}{##1}}}
|
||||
\@namedef{PYG@tok@se}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.67,0.36,0.12}{##1}}}
|
||||
\@namedef{PYG@tok@sr}{\def\PYG@tc##1{\textcolor[rgb]{0.64,0.35,0.47}{##1}}}
|
||||
\@namedef{PYG@tok@ss}{\def\PYG@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
|
||||
\@namedef{PYG@tok@sx}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@m}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
|
||||
\@namedef{PYG@tok@gh}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,0.50}{##1}}}
|
||||
\@namedef{PYG@tok@gu}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.50,0.00,0.50}{##1}}}
|
||||
\@namedef{PYG@tok@gd}{\def\PYG@tc##1{\textcolor[rgb]{0.63,0.00,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@gi}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.52,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@gr}{\def\PYG@tc##1{\textcolor[rgb]{0.89,0.00,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@ge}{\let\PYG@it=\textit}
|
||||
\@namedef{PYG@tok@gs}{\let\PYG@bf=\textbf}
|
||||
\@namedef{PYG@tok@ges}{\let\PYG@bf=\textbf\let\PYG@it=\textit}
|
||||
\@namedef{PYG@tok@gp}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,0.50}{##1}}}
|
||||
\@namedef{PYG@tok@go}{\def\PYG@tc##1{\textcolor[rgb]{0.44,0.44,0.44}{##1}}}
|
||||
\@namedef{PYG@tok@gt}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.27,0.87}{##1}}}
|
||||
\@namedef{PYG@tok@err}{\def\PYG@bc##1{{\setlength{\fboxsep}{\string -\fboxrule}\fcolorbox[rgb]{1.00,0.00,0.00}{1,1,1}{\strut ##1}}}}
|
||||
\@namedef{PYG@tok@kc}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@kd}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@kn}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@kr}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@bp}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@fm}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
|
||||
\@namedef{PYG@tok@vc}{\def\PYG@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
|
||||
\@namedef{PYG@tok@vg}{\def\PYG@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
|
||||
\@namedef{PYG@tok@vi}{\def\PYG@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
|
||||
\@namedef{PYG@tok@vm}{\def\PYG@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
|
||||
\@namedef{PYG@tok@sa}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
|
||||
\@namedef{PYG@tok@sb}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
|
||||
\@namedef{PYG@tok@sc}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
|
||||
\@namedef{PYG@tok@dl}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
|
||||
\@namedef{PYG@tok@s2}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
|
||||
\@namedef{PYG@tok@sh}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
|
||||
\@namedef{PYG@tok@s1}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
|
||||
\@namedef{PYG@tok@mb}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
|
||||
\@namedef{PYG@tok@mf}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
|
||||
\@namedef{PYG@tok@mh}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
|
||||
\@namedef{PYG@tok@mi}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
|
||||
\@namedef{PYG@tok@il}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
|
||||
\@namedef{PYG@tok@mo}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
|
||||
\@namedef{PYG@tok@ch}{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.24,0.48,0.48}{##1}}}
|
||||
\@namedef{PYG@tok@cm}{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.24,0.48,0.48}{##1}}}
|
||||
\@namedef{PYG@tok@cpf}{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.24,0.48,0.48}{##1}}}
|
||||
\@namedef{PYG@tok@c1}{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.24,0.48,0.48}{##1}}}
|
||||
\@namedef{PYG@tok@cs}{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.24,0.48,0.48}{##1}}}
|
||||
|
||||
\def\PYGZbs{\char`\\}
|
||||
\def\PYGZus{\char`\_}
|
||||
\def\PYGZob{\char`\{}
|
||||
\def\PYGZcb{\char`\}}
|
||||
\def\PYGZca{\char`\^}
|
||||
\def\PYGZam{\char`\&}
|
||||
\def\PYGZlt{\char`\<}
|
||||
\def\PYGZgt{\char`\>}
|
||||
\def\PYGZsh{\char`\#}
|
||||
\def\PYGZpc{\char`\%}
|
||||
\def\PYGZdl{\char`\$}
|
||||
\def\PYGZhy{\char`\-}
|
||||
\def\PYGZsq{\char`\'}
|
||||
\def\PYGZdq{\char`\"}
|
||||
\def\PYGZti{\char`\~}
|
||||
% for compatibility with earlier versions
|
||||
\def\PYGZat{@}
|
||||
\def\PYGZlb{[}
|
||||
\def\PYGZrb{]}
|
||||
\makeatother
|
||||
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 65 KiB |
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.5 MiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 529 KiB After Width: | Height: | Size: 529 KiB |
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 106 KiB |
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 2.1 MiB |
@ -0,0 +1,10 @@
|
||||
# Installation de minikube
|
||||
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
|
||||
chmod +x minikube
|
||||
|
||||
# Initialisation de minikube
|
||||
./minikube start --driver=docker
|
||||
|
||||
# Installation du client kubectl
|
||||
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
|
||||
chmod +x kubectl
|
@ -0,0 +1,27 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: hello-world
|
||||
labels:
|
||||
app: hello-world
|
||||
spec:
|
||||
containers:
|
||||
- name: hello-world
|
||||
image: kicbase/echo-server:1.0
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: hello-world
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
app: hello-world
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 4242
|
||||
targetPort: 8080
|
||||
nodePort: 30000
|
@ -0,0 +1,3 @@
|
||||
\begin{Verbatim}[commandchars=\\\{\}]
|
||||
git\PYG{+w}{ }clone\PYG{+w}{ }https://codefirst.iut.uca.fr/git/evrard.van\PYGZus{}espen/cours\PYGZus{}virtualisation\PYGZus{}avancee\PYGZus{}ETUD.git
|
||||
\end{Verbatim}
|
@ -0,0 +1,3 @@
|
||||
\begin{Verbatim}[commandchars=\\\{\}]
|
||||
curl\PYG{+w}{ }http://10.109.243.202:30000
|
||||
\end{Verbatim}
|
@ -0,0 +1,3 @@
|
||||
\begin{Verbatim}[commandchars=\\\{\}]
|
||||
./kubectl\PYG{+w}{ }get\PYG{+w}{ }namespaces
|
||||
\end{Verbatim}
|
@ -0,0 +1,3 @@
|
||||
\begin{Verbatim}[commandchars=\\\{\}]
|
||||
vdn\PYGZhy{}ssh\PYG{+w}{ }test@debian\PYGZhy{}1
|
||||
\end{Verbatim}
|
@ -0,0 +1,3 @@
|
||||
\begin{Verbatim}[commandchars=\\\{\}]
|
||||
./minikube\PYG{+w}{ }tunnel
|
||||
\end{Verbatim}
|
@ -0,0 +1,8 @@
|
||||
\begin{Verbatim}[commandchars=\\\{\}]
|
||||
\PYG{c+c1}{\PYGZsh{} Installation de minikube}
|
||||
curl\PYG{+w}{ }\PYGZhy{}Lo\PYG{+w}{ }minikube\PYG{+w}{ }https://storage.googleapis.com/minikube/releases/latest/minikube\PYGZhy{}linux\PYGZhy{}amd64
|
||||
chmod\PYG{+w}{ }+x\PYG{+w}{ }minikube
|
||||
|
||||
\PYG{c+c1}{\PYGZsh{} Initialisation de minikube}
|
||||
./minikube\PYG{+w}{ }start\PYG{+w}{ }\PYGZhy{}\PYGZhy{}driver\PYG{o}{=}docker
|
||||
\end{Verbatim}
|
@ -0,0 +1,4 @@
|
||||
\begin{Verbatim}[commandchars=\\\{\}]
|
||||
git\PYG{+w}{ }clone\PYG{+w}{ }\PYG{l+s+se}{\PYGZbs{}}
|
||||
\PYG{+w}{ }https://codefirst.iut.uca.fr/git/evrard.van\PYGZus{}espen/cours\PYGZus{}virtualisation\PYGZus{}avancee\PYGZus{}ETUD.git
|
||||
\end{Verbatim}
|
@ -0,0 +1,3 @@
|
||||
\begin{Verbatim}[commandchars=\\\{\}]
|
||||
vdn\PYGZhy{}start\PYG{+w}{ }\PYGZhy{}t\PYG{+w}{ }\PYGZhy{}n\PYG{+w}{ }docker\PYG{+w}{ }debian\PYGZhy{}1
|
||||
\end{Verbatim}
|
@ -0,0 +1,3 @@
|
||||
\begin{Verbatim}[commandchars=\\\{\}]
|
||||
curl\PYG{+w}{ }http://\PYGZlt{}external\PYG{+w}{ }ip\PYGZgt{}
|
||||
\end{Verbatim}
|
@ -0,0 +1,3 @@
|
||||
\begin{Verbatim}[commandchars=\\\{\}]
|
||||
./minikube\PYG{+w}{ }status
|
||||
\end{Verbatim}
|
@ -0,0 +1,3 @@
|
||||
\begin{Verbatim}[commandchars=\\\{\}]
|
||||
\PYG{n+nb}{export}\PYG{+w}{ }\PYG{n+nv}{no\PYGZus{}proxy}\PYG{o}{=}\PYG{l+s+s2}{\PYGZdq{}127.0.0.1,.vdn,localhost,192.168.49.1/24\PYGZdq{}}
|
||||
\end{Verbatim}
|
@ -0,0 +1,3 @@
|
||||
\begin{Verbatim}[commandchars=\\\{\}]
|
||||
passwd\PYG{+w}{ }\PYG{n+nb}{test}
|
||||
\end{Verbatim}
|
@ -0,0 +1,4 @@
|
||||
\begin{Verbatim}[commandchars=\\\{\}]
|
||||
git\PYG{+w}{ }clone\PYG{+w}{ }\PYG{l+s+se}{\PYGZbs{}}
|
||||
https://codefirst.iut.uca.fr/git/evrard.van\PYGZus{}espen/cours\PYGZus{}virtualisation\PYGZus{}avancee\PYGZus{}ETUD.git
|
||||
\end{Verbatim}
|
@ -0,0 +1,3 @@
|
||||
\begin{Verbatim}[commandchars=\\\{\}]
|
||||
vdn\PYGZhy{}ssh\PYG{+w}{ }root@debian\PYGZhy{}1
|
||||
\end{Verbatim}
|
@ -0,0 +1,3 @@
|
||||
\begin{Verbatim}[commandchars=\\\{\}]
|
||||
minikube\PYG{+w}{ }status
|
||||
\end{Verbatim}
|
@ -0,0 +1,102 @@
|
||||
|
||||
\makeatletter
|
||||
\def\PYG@reset{\let\PYG@it=\relax \let\PYG@bf=\relax%
|
||||
\let\PYG@ul=\relax \let\PYG@tc=\relax%
|
||||
\let\PYG@bc=\relax \let\PYG@ff=\relax}
|
||||
\def\PYG@tok#1{\csname PYG@tok@#1\endcsname}
|
||||
\def\PYG@toks#1+{\ifx\relax#1\empty\else%
|
||||
\PYG@tok{#1}\expandafter\PYG@toks\fi}
|
||||
\def\PYG@do#1{\PYG@bc{\PYG@tc{\PYG@ul{%
|
||||
\PYG@it{\PYG@bf{\PYG@ff{#1}}}}}}}
|
||||
\def\PYG#1#2{\PYG@reset\PYG@toks#1+\relax+\PYG@do{#2}}
|
||||
|
||||
\@namedef{PYG@tok@w}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.73,0.73}{##1}}}
|
||||
\@namedef{PYG@tok@c}{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.24,0.48,0.48}{##1}}}
|
||||
\@namedef{PYG@tok@cp}{\def\PYG@tc##1{\textcolor[rgb]{0.61,0.40,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@k}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@kp}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@kt}{\def\PYG@tc##1{\textcolor[rgb]{0.69,0.00,0.25}{##1}}}
|
||||
\@namedef{PYG@tok@o}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
|
||||
\@namedef{PYG@tok@ow}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.67,0.13,1.00}{##1}}}
|
||||
\@namedef{PYG@tok@nb}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@nf}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
|
||||
\@namedef{PYG@tok@nc}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
|
||||
\@namedef{PYG@tok@nn}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
|
||||
\@namedef{PYG@tok@ne}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.80,0.25,0.22}{##1}}}
|
||||
\@namedef{PYG@tok@nv}{\def\PYG@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
|
||||
\@namedef{PYG@tok@no}{\def\PYG@tc##1{\textcolor[rgb]{0.53,0.00,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@nl}{\def\PYG@tc##1{\textcolor[rgb]{0.46,0.46,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@ni}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.44,0.44,0.44}{##1}}}
|
||||
\@namedef{PYG@tok@na}{\def\PYG@tc##1{\textcolor[rgb]{0.41,0.47,0.13}{##1}}}
|
||||
\@namedef{PYG@tok@nt}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@nd}{\def\PYG@tc##1{\textcolor[rgb]{0.67,0.13,1.00}{##1}}}
|
||||
\@namedef{PYG@tok@s}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
|
||||
\@namedef{PYG@tok@sd}{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
|
||||
\@namedef{PYG@tok@si}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.64,0.35,0.47}{##1}}}
|
||||
\@namedef{PYG@tok@se}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.67,0.36,0.12}{##1}}}
|
||||
\@namedef{PYG@tok@sr}{\def\PYG@tc##1{\textcolor[rgb]{0.64,0.35,0.47}{##1}}}
|
||||
\@namedef{PYG@tok@ss}{\def\PYG@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
|
||||
\@namedef{PYG@tok@sx}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@m}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
|
||||
\@namedef{PYG@tok@gh}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,0.50}{##1}}}
|
||||
\@namedef{PYG@tok@gu}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.50,0.00,0.50}{##1}}}
|
||||
\@namedef{PYG@tok@gd}{\def\PYG@tc##1{\textcolor[rgb]{0.63,0.00,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@gi}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.52,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@gr}{\def\PYG@tc##1{\textcolor[rgb]{0.89,0.00,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@ge}{\let\PYG@it=\textit}
|
||||
\@namedef{PYG@tok@gs}{\let\PYG@bf=\textbf}
|
||||
\@namedef{PYG@tok@ges}{\let\PYG@bf=\textbf\let\PYG@it=\textit}
|
||||
\@namedef{PYG@tok@gp}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,0.50}{##1}}}
|
||||
\@namedef{PYG@tok@go}{\def\PYG@tc##1{\textcolor[rgb]{0.44,0.44,0.44}{##1}}}
|
||||
\@namedef{PYG@tok@gt}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.27,0.87}{##1}}}
|
||||
\@namedef{PYG@tok@err}{\def\PYG@bc##1{{\setlength{\fboxsep}{\string -\fboxrule}\fcolorbox[rgb]{1.00,0.00,0.00}{1,1,1}{\strut ##1}}}}
|
||||
\@namedef{PYG@tok@kc}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@kd}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@kn}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@kr}{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@bp}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
|
||||
\@namedef{PYG@tok@fm}{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
|
||||
\@namedef{PYG@tok@vc}{\def\PYG@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
|
||||
\@namedef{PYG@tok@vg}{\def\PYG@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
|
||||
\@namedef{PYG@tok@vi}{\def\PYG@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
|
||||
\@namedef{PYG@tok@vm}{\def\PYG@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
|
||||
\@namedef{PYG@tok@sa}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
|
||||
\@namedef{PYG@tok@sb}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
|
||||
\@namedef{PYG@tok@sc}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
|
||||
\@namedef{PYG@tok@dl}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
|
||||
\@namedef{PYG@tok@s2}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
|
||||
\@namedef{PYG@tok@sh}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
|
||||
\@namedef{PYG@tok@s1}{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
|
||||
\@namedef{PYG@tok@mb}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
|
||||
\@namedef{PYG@tok@mf}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
|
||||
\@namedef{PYG@tok@mh}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
|
||||
\@namedef{PYG@tok@mi}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
|
||||
\@namedef{PYG@tok@il}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
|
||||
\@namedef{PYG@tok@mo}{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
|
||||
\@namedef{PYG@tok@ch}{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.24,0.48,0.48}{##1}}}
|
||||
\@namedef{PYG@tok@cm}{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.24,0.48,0.48}{##1}}}
|
||||
\@namedef{PYG@tok@cpf}{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.24,0.48,0.48}{##1}}}
|
||||
\@namedef{PYG@tok@c1}{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.24,0.48,0.48}{##1}}}
|
||||
\@namedef{PYG@tok@cs}{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.24,0.48,0.48}{##1}}}
|
||||
|
||||
\def\PYGZbs{\char`\\}
|
||||
\def\PYGZus{\char`\_}
|
||||
\def\PYGZob{\char`\{}
|
||||
\def\PYGZcb{\char`\}}
|
||||
\def\PYGZca{\char`\^}
|
||||
\def\PYGZam{\char`\&}
|
||||
\def\PYGZlt{\char`\<}
|
||||
\def\PYGZgt{\char`\>}
|
||||
\def\PYGZsh{\char`\#}
|
||||
\def\PYGZpc{\char`\%}
|
||||
\def\PYGZdl{\char`\$}
|
||||
\def\PYGZhy{\char`\-}
|
||||
\def\PYGZsq{\char`\'}
|
||||
\def\PYGZdq{\char`\"}
|
||||
\def\PYGZti{\char`\~}
|
||||
% for compatibility with earlier versions
|
||||
\def\PYGZat{@}
|
||||
\def\PYGZlb{[}
|
||||
\def\PYGZrb{]}
|
||||
\makeatother
|
||||
|
@ -1,50 +0,0 @@
|
||||
% Intended LaTeX compiler: pdflatex
|
||||
\documentclass[12pt,a4paper]{article}
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage{graphicx}
|
||||
\usepackage{longtable}
|
||||
\usepackage{wrapfig}
|
||||
\usepackage{rotating}
|
||||
\usepackage[normalem]{ulem}
|
||||
\usepackage{amsmath}
|
||||
\usepackage{amssymb}
|
||||
\usepackage{capt-of}
|
||||
\usepackage{hyperref}
|
||||
\usepackage{minted}
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage[inkscapelatex=false]{svg}
|
||||
\usepackage[sfdefault]{AlegreyaSans}
|
||||
\usepackage{multicol}
|
||||
\usepackage{minted}
|
||||
\usepackage{float}
|
||||
\usepackage{tikz}
|
||||
\usetikzlibrary{positioning}
|
||||
\renewcommand\listingscaption{Exemple de code}
|
||||
\date{}
|
||||
\title{Cours de virtualisation avancée: \emph{Proxmox}}
|
||||
\hypersetup{
|
||||
pdfauthor={Evrard Van Espen},
|
||||
pdftitle={Cours de virtualisation avancée: \emph{Proxmox}},
|
||||
pdfkeywords={},
|
||||
pdfsubject={},
|
||||
pdfcreator={Emacs 30.0.50 (Org mode 9.6.15)},
|
||||
pdflang={English}}
|
||||
\begin{document}
|
||||
|
||||
\maketitle
|
||||
\begin{center}
|
||||
\includegraphics[width=.9\linewidth]{./images/k8s_logo.png}
|
||||
\end{center}
|
||||
|
||||
|
||||
\section{\emph{Kubernetes}}
|
||||
\label{sec:orga8614f4}
|
||||
\begin{leftcol}
|
||||
toto
|
||||
\end{leftcol}
|
||||
|
||||
\begin{rightcol}
|
||||
titi
|
||||
\end{rightcol}
|
||||
\end{document}
|
@ -1,158 +0,0 @@
|
||||
\mode<presentation>
|
||||
|
||||
% Requirement
|
||||
\RequirePackage{tikz}
|
||||
\RequirePackage{etoolbox}
|
||||
|
||||
\useinnertheme{rectangles}
|
||||
|
||||
\setbeamertemplate{background canvas}{\includegraphics[width=\paperwidth,height=\paperheight]{../common/bg.pdf}}
|
||||
|
||||
\setbeamertemplate{navigation symbols}{}
|
||||
|
||||
\setbeamertemplate{itemize item}[triangle]
|
||||
%\setbeamertemplate{itemize subitem}[circle]
|
||||
\setbeamertemplate{itemize subitem}{$\rhd$}
|
||||
\setbeamertemplate{itemize subsubitem}[circle]
|
||||
|
||||
|
||||
%colortheme
|
||||
\definecolor{iut}{RGB}{149,193,31}
|
||||
\definecolor{gris}{RGB}{89,89,89}
|
||||
\definecolor{ficelle}{RGB}{205,200,191}
|
||||
\definecolor{attention}{RGB}{214,141,123}
|
||||
\definecolor{code highlight}{RGB}{239,233,228}%
|
||||
|
||||
\setbeamercolor*{palette primary}{fg=iut,bg=gris}
|
||||
|
||||
\setbeamercolor*{title}{fg=iut, bg=white}
|
||||
\setbeamercolor*{subtitle}{fg=gris, bg=white}
|
||||
|
||||
\setbeamercolor*{title page header}{fg=iut, bg=white}
|
||||
\setbeamercolor*{subtitle page header}{fg=gris, bg=white}
|
||||
\setbeamercolor*{foot}{fg=white, bg=iut}
|
||||
\setbeamercolor*{foot number}{fg=gris, bg=white}
|
||||
|
||||
\setbeamercolor{part title}{fg=iut}
|
||||
|
||||
\setbeamercolor{structure}{fg=iut}
|
||||
|
||||
%\setbeamercolor{itemize item}{fg=iut}
|
||||
%\setbeamercolor{itemize subitem}{fg=iut}
|
||||
%\setbeamercolor{itemize subsubitem}{fg=iut}
|
||||
|
||||
%\setbeamercolor{enumerate item}{fg=iut}
|
||||
%\setbeamercolor{enumerate subitem}{fg=iut}
|
||||
%\setbeamercolor{enumerate subsubitem}{fg=iut}
|
||||
|
||||
%\setbeamercolor{item projected}{fg=white, bg=iut}
|
||||
%\setbeamercolor{subitem projected}{fg=white, bg=iut}
|
||||
%\setbeamercolor{subsubitem projected}{fg=white, bg=iut}
|
||||
|
||||
\setbeamercolor{alerted text}{fg=iut}
|
||||
\setbeamercolor{example text}{fg=ficelle}
|
||||
|
||||
\setbeamercolor{block title}{use=palette primary, fg=white, bg=palette primary.fg}
|
||||
\setbeamercolor{block body}{use=palette primary, bg=palette primary.fg!7}
|
||||
\setbeamercolor{block title example}{fg=white, bg=ficelle}
|
||||
\setbeamercolor{block body example}{parent=normal text, bg=ficelle!10!white}
|
||||
\setbeamercolor{block title alerted}{fg=white,bg=attention}
|
||||
\setbeamercolor{block body alerted}{parent=normal text, bg=attention!10!white}
|
||||
\AtBeginEnvironment{alertblock}{\setbeamercolor{alerted text}{fg=attention}}
|
||||
|
||||
%fonttheme
|
||||
\setbeamerfont{title}{size=\LARGE,series=\bfseries}
|
||||
\setbeamerfont{subtitle}{size=\large,shape=\scshape,series=\bfseries}
|
||||
\setbeamerfont{date}{size=\footnotesize}
|
||||
|
||||
\setbeamerfont{frame title}{size=\Large,series=\bfseries}
|
||||
\setbeamerfont{frame subtitle}{size=\normalsize,shape=\scshape,series=\bfseries}
|
||||
|
||||
|
||||
%%innertheme
|
||||
\defbeamertemplate*{title page}{IUT}[1][]{
|
||||
\vfill
|
||||
\begin{beamercolorbox}[wd=.9\paperwidth, sep=5pt, center, #1]{title page header}
|
||||
\usebeamerfont{title}\inserttitle\par%
|
||||
\ifx\insertsubtitle\@empty%
|
||||
\else%
|
||||
\vskip.3em%
|
||||
{\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
|
||||
\fi%
|
||||
\end{beamercolorbox}
|
||||
|
||||
\vskip1.5em\par
|
||||
|
||||
\begin{beamercolorbox}[sep=8pt,center,#1]{author}
|
||||
\usebeamerfont{author}\mdseries\large\insertauthor
|
||||
\end{beamercolorbox}
|
||||
\vfill
|
||||
\begin{beamercolorbox}[sep=8pt,center,#1]{institute}
|
||||
\insertinstitute
|
||||
\end{beamercolorbox}
|
||||
\begin{beamercolorbox}[sep=8pt,center,#1]{date}
|
||||
\usebeamerfont{date}\insertdate
|
||||
\end{beamercolorbox}
|
||||
\vfill
|
||||
}
|
||||
|
||||
%outertheme
|
||||
\defbeamertemplate*{frametitle}{IUT}[1][]{
|
||||
\begin{beamercolorbox}[wd=\paperwidth, sep=10pt, #1, ignorebg]{title page header}
|
||||
\usebeamerfont{frame title}\insertframetitle\par%
|
||||
\end{beamercolorbox}%
|
||||
\ifx\insertframesubtitle\@empty%
|
||||
\else%
|
||||
\nointerlineskip%
|
||||
\begin{beamercolorbox}[wd=\paperwidth, sep=2pt, #1, leftskip=25pt, ignorebg]{subtitle page header}
|
||||
\usebeamerfont{frame subtitle}\usebeamercolor[fg]{subtitle page header}\insertframesubtitle\par%
|
||||
\end{beamercolorbox}%
|
||||
\fi%
|
||||
|
||||
\vspace{-1em}
|
||||
}
|
||||
|
||||
\defbeamertemplate*{footline}{IUT}{
|
||||
\leavevmode
|
||||
\begin{tikzpicture}[overlay, every node/.style={scale=.8, transform shape}]
|
||||
\usebeamercolor[bg]{foot}
|
||||
\draw[fill] (8ex,3ex) circle (4.8ex);
|
||||
\usebeamercolor[fg]{foot}
|
||||
\draw[fill] (8ex,3ex) circle (4ex);
|
||||
\usebeamercolor[fg]{foot number}
|
||||
\node[scale=1.5] at (8ex,3ex) {$^\text{\insertframenumber}/_\text{\insertmainframenumber}$};
|
||||
\end{tikzpicture}
|
||||
\raisebox{3ex}{\hspace*{15ex}\insertsection}
|
||||
}
|
||||
|
||||
|
||||
|
||||
\let\oldtt\texttt
|
||||
\renewcommand{\texttt}[1]{\colorbox{code highlight}{\oldtt{#1}}}
|
||||
|
||||
|
||||
\AtBeginSection[]{
|
||||
\begin{frame}
|
||||
\vfill
|
||||
\begin{center}
|
||||
\begin{tikzpicture}
|
||||
\fill[iut, rounded corners] (-4,-1.5) rectangle (4,1.5);
|
||||
\node[white, font=\huge, text width=7cm, align=center] at (0,0) {\insertsectionhead};
|
||||
\end{tikzpicture}
|
||||
\end{center}
|
||||
\vfill
|
||||
\end{frame}
|
||||
}
|
||||
|
||||
|
||||
|
||||
\mode<all>
|
||||
|
||||
|
||||
\newcommand{\colorExtract}[3]{
|
||||
\usebeamercolor{#1}
|
||||
\definecolor{#2}{named}{fg}
|
||||
\definecolor{#3}{named}{bg}
|
||||
}
|
||||
|
||||
\colorExtract{palette primary}{iut}{gris}
|
Before Width: | Height: | Size: 368 KiB |
@ -1,17 +0,0 @@
|
||||
from: markdown
|
||||
to: latex
|
||||
standalone: true
|
||||
pdf-engine: xelatex
|
||||
|
||||
number-sections: true
|
||||
variables:
|
||||
lang: fr
|
||||
papersize: a4
|
||||
mainfont: CharisSIL-Regular.ttf
|
||||
mainfontoptions:
|
||||
- BoldFont=CharisSIL-Bold.ttf
|
||||
- ItalicFont=CharisSIL-Italic.ttf
|
||||
- BoldItalicFont=CharisSIL-BoldItalic.ttf
|
||||
|
||||
include-in-header:
|
||||
- ${.}/tdtp_header.tex
|
@ -1,48 +0,0 @@
|
||||
\usepackage{graphicx}
|
||||
%\usepackage[left=2cm,right=2cm,top=1cm,bottom=2cm]{geometry}
|
||||
\usepackage{fullpage}
|
||||
\setlength\textheight{24.6cm}
|
||||
|
||||
\usepackage{hyperref}
|
||||
\hypersetup{
|
||||
colorlinks = true,
|
||||
urlcolor = gray,
|
||||
breaklinks,
|
||||
pdfborder = 0 0 0,
|
||||
pdfpagemode = UseNone,
|
||||
pdfstartpage = 1,
|
||||
pdfcreator = {XeLaTeX},
|
||||
bookmarksopen = true,
|
||||
pdfauthor = {IUT Clermont Auvergne},
|
||||
pdftitle = {Développement Orienté Objet - C++},
|
||||
pdfsubject = {TD/TP C++},
|
||||
pdfkeywords = {POO, C++, BUT 1A, IUT}
|
||||
}
|
||||
|
||||
\AddToHook{shipout/firstpage}{%
|
||||
\makebox[\textwidth]{%
|
||||
\raisebox{-3ex}{\includegraphics[height=22mm]{logo-IUT-CA}}%
|
||||
\hfill \large BUT 1A}}
|
||||
|
||||
\makeatletter
|
||||
\def\@maketitle{%
|
||||
\newpage%
|
||||
\null%
|
||||
\vskip 2em%
|
||||
\begin{center}%
|
||||
\let \footnote \thanks%
|
||||
{\LARGE \@title \par}%
|
||||
\vskip 1.5em%
|
||||
% {\large%
|
||||
% \lineskip .5em%
|
||||
% \begin{tabular}[t]{c}%
|
||||
% \@author%
|
||||
% \end{tabular}\par}%
|
||||
% \vskip 1em%
|
||||
% {\large \@date}%
|
||||
\end{center}%
|
||||
\par%
|
||||
% \vskip 1.5em
|
||||
}
|
||||
\makeatother
|
||||
|