By default, Kubernetes Cluster will not schedule pods on the control-plane node for security reasons. To be able to schedule pods on the Kubernetes control-plane node, you need to remove a taint on the master nodes. For single node the command to use is:
Month: August 2024
Device Status Checking Commands
display cpu The display cpu command displays the CPU usage of the device. display cpu monitor The display cpu monitor command displays the CPU overloading status. display cpu monitor history The display cpu monitor history command displays the historical CPU overloading records. display cpu threshold The display cpu threshold command displays the CPU usage thresholds on the device. display device The display device command displays […]
Regenerate Kubernetes Join Command to Join Work Node
When we first init a K8S cluster, it will output the join command for us to join work node. But the token, by default, is only valid for 24 hours so we need to generate a new one once it expired or if we did not copy it for later use be expiration. Generate new […]
Format OS Version Number of Huawei Switch Product
This article will explain the format of OS Version Number that Huawei uses within their product. The OS version number format of Huawei products is similar.The product name (or model) is followed by: For example: Here is the explanation about the OS version number format. Vxxx V is referred to as the platform version. Vxxx […]
Installing Prometheus Server with custom Configuration on Ubuntu 22.04
Prerequisites Step 1: Creating Prometheus system user and directory Create a system user for Prometheus sudo useradd –system -M -s /bin/false prometheus Create a directory in which we will be storing our configuration files and libraries: sudo mkdir /etc/prometheussudo mkdir /var/lib/prometheus Set ownership of /var/lib/prometheus directory sudo chown prometheus:prometheus /var/lib/prometheus Step 2: Download the Prometheus […]
Change windows SID in case the windows were built using image on openstack using sysprep
This is needed usually when trying to deploy a windows cluster Steps: 1. Press Windows + R and type on sysprep (It will then show you a folder through sysprep tool)2. Right click on the tools and run as administrator3. Tick on Generalize and change shutdown options to Reboot. (Go through all the steps necessary […]
Install Node Exporter on Ubuntu
This node exporter was installed on Ubuntu 22.04 Creating the User Unpack the package downloaded Install Node Exporter Setup the Node Exporter service Add the following below NOTE: CHANGE “<PORT>” TO ANY PORT NUMBER DESIRED e.g 9xxx Reload Systemd Enable node exporter on startup verify the node exporter is running