commit
This commit is contained in:
11
html/03.html
Normal file → Executable file
11
html/03.html
Normal file → Executable file
@@ -12,17 +12,16 @@ h1,h3,h4,h5,h6,a {font-family:'Raleway', Arial, sans-serif; color: #38DAFF;}
|
||||
<body>
|
||||
<center><h1>Welcome to our Unf*cking Kubernetes tutorial</h1></center>
|
||||
<hr>
|
||||
<h2>Deploying an Application - a MySQL database</h2>
|
||||
<h2>Deploying an Application - a Pacman game </h2>
|
||||
<p>Almost there! We will now deploy our application:</p>
|
||||
<ul>
|
||||
<li>click on <strong>Applications</strong> on the left menu</li>
|
||||
<li>then the <strong>+Add application with form</strong> button</li>
|
||||
<li>select the <strong>tutorial</strong> namespace that we created on the previous step</li>
|
||||
<li>let's name the application on the first field for example, <strong>mydb</strong></li>
|
||||
<li>on the <strong>Image</strong> field you can use <code>ubuntu/mysql</code></li>
|
||||
<li>on <strong>Environment variables, </strong> click on the <strong>+add environment variable</strong> button</li>
|
||||
<li>on the <strong>name</strong> field you add <code>MYSQL_ROOT_PASSWORD</code> and on the <strong>value</strong> field you can add <code>db1234</code></li>
|
||||
<li>you can enable the <strong>Enable publishing for this application </strong>, select <strong>ClusterIP</strong> and type <code>3306</code> on the <strong>container port</strong> field</li>
|
||||
<li>let's name the application on the first field for example, <strong>mypacman</strong></li>
|
||||
<li>on the <b>Registry</b> option, click on the dropdown box and select <b>unf*ck kubernetes</b>
|
||||
<li>on the <b>Image</b> field you can use <code>pacman</code></li>
|
||||
<li>you can enable the <b>Enable publishing for this application </b>, select <strong>NodePort</strong> and type <code>80</code> on the <b>container port</b> field and <code>30080</code> on the <b>node port</b> field</li>
|
||||
<li>and now you can click on the <strong>Deploy application</strong> button</li>
|
||||
</ul>
|
||||
<br><br>
|
||||
|
Reference in New Issue
Block a user