Deployed 33507fd1 to v5.0.0 with MkDocs 1.2.2 and mike 1.1.0

gh-pages
iwilltry42 3 years ago
parent 5dcf2b459a
commit 1af32f45a5
  1. 20
      v5.0.0/faq/faq/index.html
  2. 2
      v5.0.0/search/search_index.json
  3. 84
      v5.0.0/sitemap.xml
  4. BIN
      v5.0.0/sitemap.xml.gz
  5. 6
      v5.0.0/usage/advanced/calico/index.html
  6. 5
      v5.0.0/usage/commands/index.html
  7. 4
      v5.0.0/usage/registries/index.html

@ -1302,8 +1302,8 @@
<li>
<p>change the kubelet&rsquo;s eviction thresholds upon cluster creation:</p>
<div class="highlight"><pre><span></span><code>k3d cluster create <span class="se">\</span>
--k3s-agent-arg <span class="s1">&#39;--kubelet-arg=eviction-hard=imagefs.available&lt;1%,nodefs.available&lt;1%&#39;</span> <span class="se">\</span>
--k3s-agent-arg <span class="s1">&#39;--kubelet-arg=eviction-minimum-reclaim=imagefs.available=1%,nodefs.available=1%&#39;</span>
--k3s-arg <span class="s1">&#39;--kubelet-arg=eviction-hard=imagefs.available&lt;1%,nodefs.available&lt;1%@agent:*&#39;</span> <span class="se">\</span>
--k3s-arg <span class="s1">&#39;--kubelet-arg=eviction-minimum-reclaim=imagefs.available=1%,nodefs.available=1%@agent:*&#39;</span>
</code></pre></div>
</li>
</ul>
@ -1323,7 +1323,7 @@
<ul>
<li>The Problem: Passing a feature flag to the Kubernetes API Server running inside k3s.</li>
<li>Example: you want to enable the EphemeralContainers feature flag in Kubernetes</li>
<li>Solution: <code class="highlight">k3d cluster create --k3s-server-arg <span class="s1">&#39;--kube-apiserver-arg=feature-gates=EphemeralContainers=true&#39;</span></code><ul>
<li>Solution: <code class="highlight">k3d cluster create --k3s-arg <span class="s1">&#39;--kube-apiserver-arg=feature-gates=EphemeralContainers=true@server:*&#39;</span></code><ul>
<li><strong>Note</strong>: Be aware of where the flags require dashes (<code>--</code>) and where not.<ul>
<li>the k3s flag (<code>--kube-apiserver-arg</code>) has the dashes</li>
<li>the kube-apiserver flag <code>feature-gates</code> doesn&rsquo;t have them (k3s adds them internally)</li>
@ -1336,10 +1336,10 @@
<li>
<p>Second example:</p>
<div class="highlight"><pre><span></span><code>k3d cluster create k3d-one <span class="se">\</span>
--k3s-server-arg --cluster-cidr<span class="o">=</span><span class="s2">&quot;10.118.0.0/17&quot;</span> <span class="se">\</span>
--k3s-server-arg --service-cidr<span class="o">=</span><span class="s2">&quot;10.118.128.0/17&quot;</span> <span class="se">\</span>
--k3s-server-arg --disable<span class="o">=</span>servicelb <span class="se">\</span>
--k3s-server-arg --disable<span class="o">=</span>traefik <span class="se">\</span>
--k3s-arg <span class="s2">&quot;--cluster-cidr=10.118.0.0/17@server:*&quot;</span> <span class="se">\</span>
--k3s-arg <span class="s2">&quot;--service-cidr=10.118.128.0/17@server:*&quot;</span> <span class="se">\</span>
--k3s-arg <span class="s2">&quot;--disable=servicelb@server:*&quot;</span> <span class="se">\</span>
--k3s-arg <span class="s2">&quot;--disable=traefik@server:*&quot;</span> <span class="se">\</span>
--verbose
</code></pre></div>
<ul>
@ -1389,8 +1389,8 @@ Some can be fixed by passing the <code>HTTP_PROXY</code> environment variables t
<li>
<p>Workaround: as a workaround, we can tell <code>kube-proxy</code> to not even try to set this value:</p>
<div class="highlight"><pre><span></span><code>k3d cluster create <span class="se">\</span>
--k3s-server-arg <span class="s2">&quot;--kube-proxy-arg=conntrack-max-per-core=0&quot;</span> <span class="se">\</span>
--k3s-agent-arg <span class="s2">&quot;--kube-proxy-arg=conntrack-max-per-core=0&quot;</span> <span class="se">\</span>
--k3s-arg <span class="s2">&quot;--kube-proxy-arg=conntrack-max-per-core=0@server:*&quot;</span> <span class="se">\</span>
--k3s-arg <span class="s2">&quot;--kube-proxy-arg=conntrack-max-per-core=0@agent:*&quot;</span> <span class="se">\</span>
--image rancher/k3s:v1.20.6-k3s
</code></pre></div>
</li>
@ -1448,7 +1448,7 @@ c) authenticate containerd inside k3s/k3d to use your DockerHub user </p>
<div class="md-source-date">
<small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">September 17, 2021</span>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 11, 2021</span>
</small>

File diff suppressed because one or more lines are too long

@ -2,212 +2,212 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://k3d.io/v5.0.0/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/design/defaults/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/design/networking/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/design/project/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/faq/faq/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/configfile/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/exposing_services/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/kubeconfig/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/multiserver/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/registries/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/advanced/calico/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/advanced/cuda/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_cluster/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_cluster_create/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_cluster_delete/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_cluster_edit/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_cluster_list/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_cluster_start/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_cluster_stop/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_completion/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_config/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_config_init/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_config_migrate/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_image/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_image_import/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_kubeconfig/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_kubeconfig_get/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_kubeconfig_merge/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_node/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_node_create/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_node_delete/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_node_edit/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_node_list/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_node_start/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_node_stop/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_registry/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_registry_create/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_registry_delete/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_registry_list/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://k3d.io/v5.0.0/usage/commands/k3d_version/</loc>
<lastmod>2021-10-05</lastmod>
<lastmod>2021-10-11</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>

Binary file not shown.

@ -1042,12 +1042,12 @@
<h2 id="2-create-the-cluster-without-flannel-and-with-calico">2. Create the cluster without flannel and with calico<a class="headerlink" href="#2-create-the-cluster-without-flannel-and-with-calico" title="Permanent link">&para;</a></h2>
<p>On the k3s cluster creation :</p>
<ul>
<li>add the flag <code>--flannel-backend=none</code>. For this, on k3d you need to forward this flag to k3s with the option <code>--k3s-server-arg</code>.</li>
<li>add the flag <code>--flannel-backend=none</code>. For this, on k3d you need to forward this flag to k3s with the option <code>--k3s-arg</code>.</li>
<li>mount (<code>--volume</code>) the calico descriptor in the auto deploy manifest directory of k3s <code>/var/lib/rancher/k3s/server/manifests/</code></li>
</ul>
<p>So the command of the cluster creation is (when you are at root of the k3d repository)</p>
<div class="highlight"><pre><span></span><code>k3d cluster create <span class="s2">&quot;</span><span class="si">${</span><span class="nv">clustername</span><span class="si">}</span><span class="s2">&quot;</span> <span class="se">\</span>
--k3s-server-arg <span class="s1">&#39;--flannel-backend=none&#39;</span> <span class="se">\</span>
--k3s-arg <span class="s1">&#39;--flannel-backend=none@server:*&#39;</span> <span class="se">\</span>
--volume <span class="s2">&quot;</span><span class="k">$(</span><span class="nb">pwd</span><span class="k">)</span><span class="s2">/docs/usage/guides/calico.yaml:/var/lib/rancher/k3s/server/manifests/calico.yaml&quot;</span>
</code></pre></div>
<p>In this example :</p>
@ -1098,7 +1098,7 @@ coredns-8655855d6-cxtnr <span class="m">1</span>/1 Runnin
<div class="md-source-date">
<small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">September 17, 2021</span>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 11, 2021</span>
</small>

@ -960,8 +960,7 @@
-e, --env <span class="c1"># add environment variables to the nodes (quoted string, format: &#39;KEY[=VALUE][@NODEFILTER[;NODEFILTER...]]&#39;, use flag multiple times)</span>
--gpus <span class="c1"># [from docker CLI] add GPU devices to the node containers (string, e.g. &#39;all&#39;)</span>
-i, --image <span class="c1"># specify which k3s image should be used for the nodes (string, default: &#39;docker.io/rancher/k3s:v1.20.0-k3s2&#39;, tag changes per build)</span>
--k3s-agent-arg <span class="c1"># add additional arguments to the k3s agent (quoted string, use flag multiple times) (see https://rancher.com/docs/k3s/latest/en/installation/install-options/agent-config/#k3s-agent-cli-help)</span>
--k3s-server-arg <span class="c1"># add additional arguments to the k3s server (quoted string, use flag multiple times) (see https://rancher.com/docs/k3s/latest/en/installation/install-options/server-config/#k3s-server-cli-help)</span>
--k3s-arg <span class="c1"># add additional arguments to the k3s server/agent (quoted string, use flag multiple times) (see https://rancher.com/docs/k3s/latest/en/installation/install-options/server-config/#k3s-server-cli-help &amp; https://rancher.com/docs/k3s/latest/en/installation/install-options/agent-config/#k3s-agent-cli-help)</span>
--kubeconfig-switch-context <span class="c1"># (implies --kubeconfig-update-default) automatically sets the current-context of your default kubeconfig to the new cluster&#39;s context (default: true)</span>
--kubeconfig-update-default <span class="c1"># enable the automated update of the default kubeconfig with the details of the newly created cluster (also sets &#39;--wait=true&#39;) (default: true)</span>
-l, --label <span class="c1"># add (docker) labels to the node containers (format: &#39;KEY[=VALUE][@NODEFILTER[;NODEFILTER...]]&#39;, use flag multiple times)</span>
@ -1044,7 +1043,7 @@
<div class="md-source-date">
<small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">March 30, 2021</span>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 11, 2021</span>
</small>

@ -1258,7 +1258,7 @@ For example, if we mount the CA file in <code>/etc/ssl/certs/my-company-root.pem
<h4 id="create-a-customized-k3d-managed-registry">Create a customized k3d-managed registry<a class="headerlink" href="#create-a-customized-k3d-managed-registry" title="Permanent link">&para;</a></h4>
<ol>
<li><code class="highlight">k3d registry create myregistry.localhost --port <span class="m">12345</span></code> creates a new registry called <code>k3d-myregistry.localhost</code> (could be used with automatic resolution of <code>*.localhost</code>, see next section - also, <strong>note the <code>k3d-</code> prefix</strong> that k3d adds to all resources it creates)</li>
<li><code class="highlight">k3d cluster create newcluster --registry-use k3d-myregistry.localhost:12345</code> (make sure you use the <strong><code>k3d-</code> prefix</strong> here) creates a new cluster set up to us that registry</li>
<li><code class="highlight">k3d cluster create newcluster --registry-use k3d-myregistry.localhost:12345</code> (make sure you use the <strong><code>k3d-</code> prefix</strong> here) creates a new cluster set up to use that registry</li>
<li>continue with step 3 and 4 from the last section for testing</li>
</ol>
<!-- Admonition to describe usage of a non-k3d-managed registry -->
@ -1336,7 +1336,7 @@ docker push k3d-registry.localhost:5000/nginx:latest
<div class="md-source-date">
<small>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">September 17, 2021</span>
Last update: <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">October 11, 2021</span>
</small>

Loading…
Cancel
Save