<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Kubeclipper – Tutorials</title><link>https://kubeclipper.io/v1.6/en/docs/tutorials/</link><description>Recent content in Tutorials on Kubeclipper</description><generator>Hugo -- gohugo.io</generator><atom:link href="https://kubeclipper.io/v1.6/en/docs/tutorials/index.xml" rel="self" type="application/rss+xml"/><item><title>Docs: Operations and logs</title><link>https://kubeclipper.io/v1.6/en/docs/tutorials/operations/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kubeclipper.io/v1.6/en/docs/tutorials/operations/</guid><description>
&lt;p>1.6 Operations use the older task model and NATS. List operations, then copy the actual ID to inspect details and logs:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>kcctl operation list
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>kcctl operation list -c demo
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#000">OPERATION_ID&lt;/span>&lt;span style="color:#ce5c00;font-weight:bold">=&lt;/span>&lt;span style="color:#4e9a06">&amp;#39;&amp;lt;actual operation ID&amp;gt;&amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>kcctl operation describe &lt;span style="color:#4e9a06">&amp;#34;&lt;/span>&lt;span style="color:#000">$OPERATION_ID&lt;/span>&lt;span style="color:#4e9a06">&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>kcctl operation logs &lt;span style="color:#4e9a06">&amp;#34;&lt;/span>&lt;span style="color:#000">$OPERATION_ID&lt;/span>&lt;span style="color:#4e9a06">&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>kcctl operation logs &lt;span style="color:#4e9a06">&amp;#34;&lt;/span>&lt;span style="color:#000">$OPERATION_ID&lt;/span>&lt;span style="color:#4e9a06">&amp;#34;&lt;/span> --follow
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>kcctl operation logs &lt;span style="color:#4e9a06">&amp;#34;&lt;/span>&lt;span style="color:#000">$OPERATION_ID&lt;/span>&lt;span style="color:#4e9a06">&amp;#34;&lt;/span> --summary
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Open the cluster-wide TUI in an interactive terminal:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>kcctl operation logs --cluster demo
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Preserve failed-step and node logs and resolve the cause before retrying. 1.6 only retries operations in failed status:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>kcctl operation retry &lt;span style="color:#4e9a06">&amp;#34;&lt;/span>&lt;span style="color:#000">$OPERATION_ID&lt;/span>&lt;span style="color:#4e9a06">&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Use &lt;code>terminate&lt;/code> for running operations, rather than the 1.7 &lt;code>cancel&lt;/code> command:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>kcctl operation terminate &lt;span style="color:#4e9a06">&amp;#34;&lt;/span>&lt;span style="color:#000">$OPERATION_ID&lt;/span>&lt;span style="color:#4e9a06">&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>kcctl operation describe &lt;span style="color:#4e9a06">&amp;#34;&lt;/span>&lt;span style="color:#000">$OPERATION_ID&lt;/span>&lt;span style="color:#4e9a06">&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>A termination request does not roll back node changes. Inspect task, cluster, and node state before cleanup. Source: &lt;a href="https://github.com/kubeclipper/kubeclipper/tree/v1.6.0/pkg/cli/operation">v1.6.0 Operation CLI&lt;/a>.&lt;/p></description></item><item><title>Docs: Image registries</title><link>https://kubeclipper.io/v1.6/en/docs/tutorials/registries/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kubeclipper.io/v1.6/en/docs/tutorials/registries/</guid><description>
&lt;p>Registry resources describe Kubernetes image sources or containerd pull settings. Registering a registry does not copy images into it. Offline component packages are prepared separately.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>kcctl create registry --name internal --host registry.example.com:5000 --scheme http
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>kcctl get registry
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>kcctl create registry -h
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>kcctl registry -h
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>This example uses an HTTP registry on a management network. Configure HTTPS, CA trust, and authentication for production. 1.6 also persists node and SSH configuration for &lt;code>kcctl registry&lt;/code>; check existing configuration before subsequent operations.&lt;/p>
&lt;p>During cluster creation, &lt;code>--image-registry internal&lt;/code> selects the Kubernetes image source, and &lt;code>--cri-registry internal&lt;/code> configures containerd pulls. Populate images first and verify node connectivity, certificates, and authentication. Source: &lt;a href="https://github.com/kubeclipper/kubeclipper/blob/v1.6.0/pkg/cli/create/create_registry.go">v1.6.0 Registry CLI&lt;/a>.&lt;/p></description></item><item><title>Docs: Diagnostics and upgrade checks</title><link>https://kubeclipper.io/v1.6/en/docs/tutorials/maintenance/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kubeclipper.io/v1.6/en/docs/tutorials/maintenance/</guid><description>
&lt;p>1.6 does not include the 1.7 &lt;code>kcctl status&lt;/code> and &lt;code>kcctl doctor&lt;/code> commands. Start with versions, API access, node services, and operation logs.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>kcctl version
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>kcctl get node
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>kcctl get cluster
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>kcctl operation list
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>kcctl resource list
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Inspect services according to each Linux node&amp;rsquo;s role. Diagnose NATS, platform etcd, and Server failures separately.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>sudo systemctl status kc-server kc-agent kc-etcd kc-nats --no-pager
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>sudo journalctl -u kc-server -n &lt;span style="color:#0000cf;font-weight:bold">100&lt;/span> --no-pager
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>sudo journalctl -u kc-agent -n &lt;span style="color:#0000cf;font-weight:bold">100&lt;/span> --no-pager
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>sudo journalctl -u kc-nats -n &lt;span style="color:#0000cf;font-weight:bold">100&lt;/span> --no-pager
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Agent nodes may not run Server, etcd, or NATS. External NATS deployments have no local kc-nats service. Check actual roles and deployment configuration.&lt;/p>
&lt;h2 id="before-upgrading-to-17">Before upgrading to 1.7&lt;/h2>
&lt;p>Back up platform etcd, configuration, certificates, authentication keys, and managed-cluster data. Rehearse the upgrade in a recoverable test environment, checking the NATS to Operation v2 transition, active tasks, and old operation records. Consult the &lt;a href="https://kubeclipper.io/v1.7/en/docs/deployment-docs/upgrade/">1.7 upgrade checklist&lt;/a> and verify versions running across all components.&lt;/p>
&lt;p>This page does not guarantee an in-place upgrade for every 1.6 deployment. Preserve errors and follow the recovery steps you rehearsed.&lt;/p></description></item></channel></rss>