Skip to content

Commit

Permalink
Documentation for Boot commit ba501da577d092ba8ca07b16f1001a41292449fe
Browse files Browse the repository at this point in the history
  • Loading branch information
aerokube/boot1 committed Sep 23, 2023
1 parent 264e302 commit 70d0d71
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions latest/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ <h1>Boot</h1>
<div class="details">
<span id="author" class="author">Aerokube Software OÜ</span><br>
<span id="revnumber">version latest,</span>
<span id="revdate">2023-09-21</span>
<span id="revdate">2023-09-23</span>
</div>
<div id="toc" class="toc2">
<div id="toctitle">Table of Contents</div>
Expand Down Expand Up @@ -1127,9 +1127,18 @@ <h5 id="virtual-machines-create-plugin"><a class="anchor" href="#virtual-machine
<div class="listingblock">
<div class="title">Creating a virtual machine with plugin</div>
<div class="content">
<pre class="CodeRay highlight"><code data-lang="bash">$ kubectl vm create -os ubuntu -n boot # Using latest operating system version
$ kubectl vm create -os ubuntu:22.04 -n boot # Using exact operating system version</code></pre>
</div>
</div>
<div class="paragraph">
<p>By default, Boot plugin will use your public key from <code>~/.ssh/id_rsa.pub</code>, but you can explicitly provide a list of authorized keys:</p>
</div>
<div class="listingblock">
<div class="title">Providing explicit authorized keys file to plugin</div>
<div class="content">
<pre class="CodeRay highlight"><code data-lang="bash">$ echo &quot;ssh-rsa AAAAB3N... some-key&quot; &gt;&gt; authorized_keys # Create a list of SSH authorized keys
$ kubectl vm create -os ubuntu -auth-keys authorized_keys -n boot # Using latest operating system version
$ kubectl vm create -os ubuntu:22.04 -auth-keys authorized_keys -n boot # Using exact operating system version</code></pre>
$ kubectl vm create -os ubuntu -auth-keys authorized_keys -n boot # Using latest operating system version</code></pre>
</div>
</div>
</div>
Expand Down Expand Up @@ -1239,8 +1248,8 @@ <h4 id="virtual-machines-resources"><a class="anchor" href="#virtual-machines-re
<div class="listingblock">
<div class="title">Providing explicit computing resource to a new virtual machine with a plugin</div>
<div class="content">
<pre class="CodeRay highlight"><code data-lang="bash">$ kubectl vm create -os ubuntu -cpu 1.0 -mem 512Mi -auth-keys authorized_keys -n boot
$ kubectl vm create -os ubuntu -cpu '1.0/0.5' -mem '512Mi/256Mi' -auth-keys authorized_keys -n boot # Different requests and limits</code></pre>
<pre class="CodeRay highlight"><code data-lang="bash">$ kubectl vm create -os ubuntu -cpu 1.0 -mem 512Mi -n boot
$ kubectl vm create -os ubuntu -cpu '1.0/0.5' -mem '512Mi/256Mi' -n boot # Different requests and limits</code></pre>
</div>
</div>
</div>
Expand Down Expand Up @@ -1480,6 +1489,9 @@ <h5 id="access-auth-technologies-keys"><a class="anchor" href="#access-auth-tech
<pre class="CodeRay highlight"><code data-lang="bash">$ kubectl vm create -os ubuntu -auth-keys /path/to/authorized_keys.file -n boot</code></pre>
</div>
</div>
<div class="paragraph">
<p>When this flag is missing, plugin will try to use your public key from <code>~/.ssh/id_rsa.pub</code> file.</p>
</div>
</li>
</ol>
</div>
Expand Down Expand Up @@ -2801,8 +2813,7 @@ <h3 id="multiple-namespaces"><a class="anchor" href="#multiple-namespaces"></a>3
<div class="listingblock">
<div class="title">Creating a virtual machine with plugin</div>
<div class="content">
<pre class="CodeRay highlight"><code data-lang="bash">$ echo &quot;ssh-rsa AAAAB3N... some-key&quot; &gt;&gt; authorized_keys
$ kubectl vm create -os ubuntu -auth-keys authorized_keys -n team-beta # Like in any kubectl command, -n flag sets namespace name</code></pre>
<pre class="CodeRay highlight"><code data-lang="bash">$ kubectl vm create -os ubuntu -n team-beta # Like in any kubectl command, -n flag sets namespace name</code></pre>
</div>
</div>
</li>
Expand Down Expand Up @@ -3381,7 +3392,7 @@ <h2 id="_pricing"><a class="anchor" href="#_pricing"></a>5. Pricing</h2>
<div id="footer">
<div id="footer-text">
Version latest<br>
Last updated 2023-09-21 11:17:27 UTC
Last updated 2023-09-23 07:14:09 UTC
</div>
</div>
</body>
Expand Down

0 comments on commit 70d0d71

Please sign in to comment.