Delete pods on error from k8s node
Delete pod on error: Delete pods on evicted state
Delete pods on error from k8s node Read More »
Delete pod on error: Delete pods on evicted state
Delete pods on error from k8s node Read More »
Edit the microk8s template file. Add the new IP Address, make sure to use a higher number for the IP address. It should look like this. Refresh certificate Check new IP was added Reboot the PC, just to make sure everything is OK You may need to re-join all nodes since we created a new
Add public IP to Microk8s Read More »
Checking the Current Time Zone List time zones Set time zone For example
How to Set or Change the Time Zone in Linux Read More »
First create an executable script (my-script.sh): Add the following code: Edit rc.local file: Add new line to execute the script: If the script includes a loop or it is meant to be executed indefinitely, we might need to add and ampersand at the end of the line: Finally, grant executable privileges to /etc/rc.local file and
Raspberry PI, run script / program on startup Read More »
To enable and use ethernet over USB in Linux, we need to enable it first. First of all we need to know the logical name of the USB device: Output might look like this: We need to check and look to the correct USB Ethernet interface and write down the logical name, in this case:
Enable USB Ethernet device in Linux Read More »
Set Vim as default text editor
Add git credentials to local configuration Read More »
List the nodes in your cluster, along with their labels: Choose one of your nodes, and add a label to it:
Add a label to a Kubernetes node Read More »
First, we have to check that the Bluetooth device is not blocked: We should see something like this: If we want to unblock all, run: We need to enter into the Bluetooth tool to scan devices: sudo bluetoothctl Once we’re in the Bluetooth CLI, we need to run the scan command: We have to identify
Use Bluetooth keyboard or mouse on Linux / server Read More »