Some tips and common pitfalls for the CKAD exam.
Note: I am currently not sure if this would be allowed in the exam, as this is an external ressource.
# curl -s https://gist.github.com/6e3acd88f2f88394ad88e2dff1d8e530 | sh
alias k=kubectl
alias kn='k config set-context --current --namespace'
alias kall='k get all -o wide --show-labels'
alias kc='k config get-contexts'
export do='--dry-run=client -o yaml'
export now='--force --grace-period 0'
This is a WIP guide on how to setup a proxmox virtual machine with windows 10 or 11 to be used as backblaze backup client.
Notes
# [cheatsheet] networking/ports troubleshooting | |
```bash | |
apt install net-tools | |
netstat -tulpn | |
``` | |
## Sources | |
[cyberciti.biz](https://www.cyberciti.biz/faq/what-process-has-open-linux-port/) |
According to https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1946368, this is a known bug on some Ubuntu kernel versions. Commonly, this issue happens when using high resolution screens (higher than 1920×1080@60Hz). Some users report this issue also playing high resolution videos and/or dragging applications to the sidebar. However, I found this problem happening in my Raspberry PI 4 model B even if simply browsing simple pages…
The issue comes from the default KMS, which appears to be unstable on Raspberry PI hardware. The workaround is enabling a “fake” KMS version, which limits the number of functions available for video output but avoids freezing.
Another problem that gets Ubuntu Desktop freezing on Raspberry PI comes with the USB power management module from recent kernels. It is a best practice to suspend devices (or part of them) when they are not used (idle mode). But with Raspberry PI and Ubuntu sometimes happens that, pluggi
Cheatsheet how to setup a erasure coding pool, add it to a ceph filesystem and configure files/directories to use the ec pool.
root@ceph:~$ ceph osd erasure-code-profile set ec-62-profile k=6 m=2 crush-failure-domain=osd crush-device-class=hdd
root@ceph:~$ ceph osd pool create glacier_data_ec-62 erasure ec-62-profile
root@ceph:~$ ceph osd pool set glacier_data_ec-62 allow_ec_overwrites true
root@ceph:~$ ceph osd pool application enable glacier_data_ec-62 cephfs
root@ceph:~$ ceph fs add_data_pool glacier glacier_data_ec-62
#!/bin/bash | |
# insert/update hosts entry | |
ip_address="192.168.x.x" | |
host_name="my.hostname.example.com" | |
# find existing instances in the host file and save the line numbers | |
matches_in_hosts="$(grep -n $host_name /etc/hosts | cut -f1 -d:)" | |
host_entry="${ip_address} ${host_name}" | |
echo "Please enter your password if requested." |