Table des matières
- 2026:
- 2025:
1 billet(s) pour avril 2026
| Notes ping ICMP | 2026/04/03 23:01 | Jean-Baptiste |
Notes - Kubernetes - K8S
Voir :
Tuto
crd Custom Ressource
Service Ingress (prochainement remplacé par les GatewayApi)
- nginx
- treafik
- haproxy
API Server (server de kubectl) Scheduler
kubelet (reçoie les infos du scheduler)
etcd
Backup Restoration à chaud
Controlleur Manager (boucle de controle)
Cloud Controller
Bonnes pratiques
Évitez les Pods orphelins (“Naked” Pods) les pods dits “orphelins” sont ceux qui ne sont pas liés à un contrôleur de plus haut niveau (ReplicaSets, Deployments, …). Comme ils ne sont pas managés, ils ne seront pas relancés en cas d'erreur ou d'échec du nœud.
Spécifiez le namespace par défaut
kubectl config set-context --current --namespace=working-namespace
Ou utiliser kubectx / kubens
Storage
Notes - Docker - proxy
Registry
https://docs.docker.com/engine/admin/systemd/
mkdir /etc/systemd/system/docker.service.d
/etc/systemd/system/docker.service.d/http-proxy.conf
[Service] Environment="HTTP_PROXY=http://192.168.56.1:3128/" "HTTPS_PROXY=http://192.168.56.1:3128/" "NO_PROXY=localhost,127.0.0.0/8"
systemctl daemon-reload
systemctl show --property=Environment docker
systemctl restart docker
Notes - Chromebook
Install GNU/Linux
Voir :
Code source de ChromiumOS https://chromium.googlesource.com/chromiumos
NayuOS n'est plus mis à jour https://nayuos.nexedi.com/ Ni GalliumOS
Les codes claviers des ChromeBooks https://chromium.googlesource.com/chromiumos/docs/+/master/debug_buttons.md
Chrome OS Factory Shim https://chromium.googlesource.com/chromiumos/platform/factory_installer/+/HEAD/README.md
Chrome OS RMA shim https://chromium.googlesource.com/chromiumos/platform/factory/+/HEAD/setup/RMA_SHIM.md
Easy Ways to Enable USB Booting on Chromebook https://www.wikihow.com/Enable-USB-Booting-on-Chromebook
Télécharger ChromeOS officiel signé https://cros.tech/t
Fixing audio & keyboard
Autres
Chrome OS Recovery - Does not detect image https://groups.google.com/a/chromium.org/g/chromium-os-discuss/c/OcB4zaIWwok
chronos # login user sudo -i crossystem dev_boot_usb=1 dev_boot_legacy=1 dev_boot_signed_only=0 crossystem dev_boot_altfw=1
Autres
mkdir -p /boot/EFI/EFI/BOOT cp /boot/EFI/EFI/mageia/grubx64.efi /boot/EFI/EFI/BOOT/BOOTX64.efi
https://forums.mageia.org/en/viewtopic.php?f=7&t=12523
sudo -i dev_install
ChromeOS Device Firmware Utility Script [2024-03-09] (c) Mr Chromebox <mrchromebox@gmail.com> ********************************************************* ** Device: ASUS Chromebook CX34 (MARASOV-UERT) ** Platform: Intel AlderLake/RaptorLake-U/P ** Fw Type: Stock ChromeOS w/RW_LEGACY ** Fw Ver: Google_Marasov.14505.633.0 (10/27/2023) ** Fw WP: Disabled ********************************************************* ** 1) Install/Update RW_LEGACY Firmware ** [WP] 2) Install/Update UEFI (Full ROM) Firmware ** [WP] 3) Set Boot Options (GBB flags) ** [WP] 4) Set Hardware ID (HWID) ********************************************************* Select a numeric menu option or R to reboot P to poweroff Q to quit
[root@sysrescue ~]# /tmp/flashrom -p internal --wp-disable flashrom 1.4.0-devel on Linux 6.6.14-1-lts (x86_64) flashrom is free software, get the source code at https://flashrom.org Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns). Opened /dev/mtd0 successfully Found Programmer flash chip "Opaque flash chip" (32768 kB, Programmer-specific) on internal. Disabled hardware protection SUCCESS [root@sysrescue ~]# /tmp/flashrom -p internal -r -i GBB:/tmp/gbb.temp flashrom 1.4.0-devel on Linux 6.6.14-1-lts (x86_64) flashrom is free software, get the source code at https://flashrom.org Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns). Opened /dev/mtd0 successfully Found Programmer flash chip "Opaque flash chip" (32768 kB, Programmer-specific) on internal. Using region: "GBB":"/tmp/gbb.temp". Reading flash... done. SUCCESS [root@sysrescue ~]# /tmp/gbb_utility --set --flags=0x4A8 /tmp/gbb.temp successfully saved new image to: /tmp/gbb.temp [root@sysrescue ~]# /tmp/flashrom -p internal -w -i GBB:/tmp/gbb.temp flashrom 1.4.0-devel on Linux 6.6.14-1-lts (x86_64) flashrom is free software, get the source code at https://flashrom.org Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns). Opened /dev/mtd0 successfully Found Programmer flash chip "Opaque flash chip" (32768 kB, Programmer-specific) on internal. Using region: "GBB":"/tmp/gbb.temp". disable_power_management: Failed to open /run/lock/power_override/flashrom.lock for writing: No such file or directory Reading old flash chip contents... done. Erasing and writing flash chip... FAILED at 0x01805000! Expected=0xff, Found=0x24, failed byte count from 0x01805000-0x01805fff: 0xffe ERASE_FAILED FAILED! Uh oh. Erase/write failed. Checking if anything has changed. Reading current flash chip contents... done. Good, writing to the flash chip apparently didn't do anything. This means we have to add special support for your board, programmer or flash chip. Please report this to the mailing list at flashrom@flashrom.org or on IRC (see https://www.flashrom.org/Contact for details), thanks! ------------------------------------------------------------------------------- You may now reboot or simply leave the machine running. FAILED
/tmp/flashrom -p internal --ifd -i bios -r /tmp/bios.bin
Pb
Disque pas détecté
Il faut le module ufshcd_pci
Pour booter sur le disque
A tester
recompiler le Kernel avec les options
CONFIG_SCSI_UFSHCD=y CONFIG_SCSI_UFSHCD_PLATFORM=y CONFIG_SCSI_UFS_HISI=y
Notepad++ pour GNU/Linux
Voir aussi :
- notepadqq
Notepad++ est un Logiciel Libre. Il peut être installé facilement avec PlayOnLinux.
http://nliautaud.fr/wiki/articles/notepadpp/linux
apt-get install winetricks
$ winetricks --gui WINE is wine, which is neither on the path nor an executable file
ln -s /usr/bin/wine32 /usr/bin/wine
