<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Common O&amp;M Operations on Huawei</title><link>https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/</link><description>Recent content in Common O&amp;M Operations on Huawei</description><generator>Hugo</generator><language>en</language><copyright>Copyright © 2025 Huawei Technologies Co., Ltd. All rights reserved.</copyright><atom:link href="https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/index.xml" rel="self" type="application/rss+xml"/><item><title>Installing Helm 3</title><link>https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/installing-helm-3/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/installing-helm-3/</guid><description>&lt;p>This section describes how to install Helm 3.&lt;/p>
&lt;p>For details, see 
&lt;a href="https://helm.sh/docs/intro/install/" target="_blank">https://helm.sh/docs/intro/install/&lt;/a>
.&lt;/p>
&lt;h2 id="en-us_topic_0000001274250896_section19453102010152">Prerequisites&lt;/h2>
&lt;p>Ensure that the master node in the Kubernetes cluster can access the Internet.&lt;/p>
&lt;h2 id="section164291640172317">Procedure&lt;/h2>
&lt;ol>
&lt;li>
&lt;p>Run the following command to download the Helm 3 installation script.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#4c4f69;background-color:#eff1f5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/li>
&lt;li>
&lt;p>Run the following command to modify the permission on the Helm 3 installation script.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#4c4f69;background-color:#eff1f5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>chmod 700 get_helm.sh
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/li>
&lt;li>
&lt;p>Determine the Helm version to be installed based on the version mapping between Helm and Kubernetes. For details about the version mapping, see 
&lt;a href="https://helm.sh/docs/topics/version_skew/#supported-version-skew" target="_blank">Helm Version Support Policy&lt;/a>
. Then run the following command to change the &lt;strong>DESIRED_VERSION&lt;/strong> environment variable to the Helm version to be installed and run the installation command.&lt;/p></description></item><item><title>Downloading a Container Image</title><link>https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/downloading-a-container-image/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/downloading-a-container-image/</guid><description>&lt;h2 id="section15713611153419">Downloading a Container Image Using containerd&lt;/h2>
&lt;ol>
&lt;li>
&lt;p>Run the following command to download an image to a local path. In the command, &lt;em>image:tag&lt;/em> indicates the image to be pulled and its tag.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#4c4f69;background-color:#eff1f5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>ctr image pull &amp;lt;image&amp;gt;:&amp;lt;tag&amp;gt;
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/li>
&lt;li>
&lt;p>Run the following command to export the image to a file. In the command, &lt;em>image:tag&lt;/em> indicates the image to be exported, and &lt;em>file&lt;/em> indicates the name of the exported image file.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#4c4f69;background-color:#eff1f5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-gdscript3" data-lang="gdscript3">&lt;span style="display:flex;">&lt;span>ctr image &lt;span style="color:#8839ef">export&lt;/span> &lt;span style="color:#04a5e5;font-weight:bold">&amp;lt;&lt;/span>file&lt;span style="color:#04a5e5;font-weight:bold">&amp;gt;.&lt;/span>tar &lt;span style="color:#04a5e5;font-weight:bold">&amp;lt;&lt;/span>image&lt;span style="color:#04a5e5;font-weight:bold">&amp;gt;&lt;/span>:&lt;span style="color:#04a5e5;font-weight:bold">&amp;lt;&lt;/span>tag&lt;span style="color:#04a5e5;font-weight:bold">&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/li>
&lt;/ol>
&lt;h2 id="section5466193511236">Downloading a Container Image Using Docker&lt;/h2>
&lt;ol>
&lt;li>
&lt;p>Run the following command to download an image to a local path. In the command, &lt;em>image:tag&lt;/em> indicates the image to be pulled.&lt;/p></description></item><item><title>Updating the huawei-csi-controller or huawei-csi-node Service</title><link>https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/updating-the-huawei-csi-controller-or-huawei-csi-node-service/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/updating-the-huawei-csi-controller-or-huawei-csi-node-service/</guid><description>&lt;p>Perform this operation when you need to update the huawei-csi-controller or huawei-csi-node service, for example, changing the number of copies for the huawei-csi-controller service.&lt;/p>
&lt;h2 id="section1452416823017">Procedure&lt;/h2>
&lt;ol>
&lt;li>
&lt;p>Use a remote access tool, such as PuTTY, to log in to any master node in the Kubernetes cluster through the management IP address.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;a name="li1037712113474">&lt;/a>Go to the &lt;strong>/helm/esdk&lt;/strong> directory and run the following command to obtain the original service configuration file. &lt;strong>helm-huawei-csi&lt;/strong> indicates the Helm chart name specified during the installation of the earlier version, and &lt;strong>huawei-csi&lt;/strong> indicates the Helm chart namespace specified during the installation of the earlier version. For details about the component package path, see 
&lt;a href="https://huawei.github.io/css-docs/css-docs/en/docs/installation-and-deployment/csi/installation-preparations/downloading-the-huawei-csi-software-package/#en-us_topic_0150885197_table17200162435412">Table 1&lt;/a>
.&lt;/p></description></item><item><title>Modifying the Log Output Mode</title><link>https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/modifying-the-log-output-mode/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/modifying-the-log-output-mode/</guid><description>&lt;p>huawei-csi supports two log output modes: &lt;strong>file&lt;/strong> and &lt;strong>console&lt;/strong>. &lt;strong>file&lt;/strong> indicates that logs are output to the fixed directory (&lt;strong>/var/log/huawei&lt;/strong>), and &lt;strong>console&lt;/strong> indicates that logs are output to the standard directory of the container. You can set the log output mode as required. The default mode is &lt;strong>file&lt;/strong>.&lt;/p>
&lt;h2 id="section130112319346">Procedure&lt;/h2>
&lt;ol>
&lt;li>
&lt;p>Use a remote access tool, such as PuTTY, to log in to any master node in the Kubernetes cluster through the management IP address.&lt;/p></description></item><item><title>Enabling the ReadWriteOncePod Feature Gate</title><link>https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/enabling-the-readwriteoncepod-feature-gate/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/enabling-the-readwriteoncepod-feature-gate/</guid><description>&lt;p>The ReadWriteOnce access mode is the fourth access mode introduced by Kubernetes v1.22 for PVs and PVCs. If you create a Pod using a PVC in ReadWriteOncePod access mode, Kubernetes ensures that the Pod is the only Pod in the cluster that can read or write the PVC.&lt;/p>
&lt;p>If the Kubernetes version is earlier than v1.29, you need to enable the ReadWriteOncePod feature in feature-gates of kube-apiserver, kube-scheduler, and kubelet.&lt;/p></description></item><item><title>Configuring Access to the Kubernetes Cluster as a Non-root User</title><link>https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/configuring-access-to-the-kubernetes-cluster-as-a-non-root-user/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/configuring-access-to-the-kubernetes-cluster-as-a-non-root-user/</guid><description>&lt;h2 id="en-us_topic_0000001283708426_section11147613122310">Procedure&lt;/h2>
&lt;ol>
&lt;li>
&lt;p>Copy the authentication file of the Kubernetes cluster and modify &lt;strong>/etc/kubernetes/admin.conf&lt;/strong> to be the actual authentication file.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#4c4f69;background-color:#eff1f5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>mkdir -p $HOME/.kube
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/li>
&lt;li>
&lt;p>Change the user and user group of the authentication file.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#4c4f69;background-color:#eff1f5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>sudo chown $(id -u):$(id -g) $HOME/.kube/config
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/li>
&lt;li>
&lt;p>Configure the &lt;strong>KUBECONFIG&lt;/strong> environment variable of the current user. The following uses Ubuntu 20.04 as an example.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#4c4f69;background-color:#eff1f5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-gdscript3" data-lang="gdscript3">&lt;span style="display:flex;">&lt;span>echo &lt;span style="color:#40a02b">&amp;#34;export KUBECONFIG=$HOME/.kube/config&amp;#34;&lt;/span> &lt;span style="color:#04a5e5;font-weight:bold">&amp;gt;&amp;gt;&lt;/span> &lt;span style="color:#04a5e5;font-weight:bold">~/.&lt;/span>bashrc
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>source &lt;span style="color:#04a5e5;font-weight:bold">~/.&lt;/span>bashrc
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/li>
&lt;/ol></description></item><item><title>Configuring Storage Topology Awareness</title><link>https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/configuring-storage-topology-awareness/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/configuring-storage-topology-awareness/</guid><description>&lt;p>In the Kubernetes cluster, resources can be scheduled and provisioned based on the topology labels of nodes and the topology capabilities supported by storage backends.&lt;/p>
&lt;h2 id="en-us_topic_0000001200451233_section12171124814413">Prerequisites&lt;/h2>
&lt;p>You need to configure topology labels on worker nodes in the cluster. The method is as follows:&lt;/p>
&lt;ol>
&lt;li>
&lt;p>Use a remote access tool, such as PuTTY, to log in to any master node in the Kubernetes cluster through the management IP address.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Run the following command to view information about worker nodes in the current cluster.&lt;/p></description></item></channel></rss>