Solved: Failed to configure agent: Node password rejected, duplicate hostname or contents RKE2/K3S

If you recreate server with the same name that has been already joined in your cluster, you will end up with this error message.WARN[0000] not running in CIS mode INFO[0000] Starting rke2 agent v1.21.3+rke2r1 (2ed0b0d1b6924af4414393cd1796c174a1ff5352) INFO[0000] Running load balancer 127.0.0.1:6444 -> [10.0.0.2:9345] WARN[0000] Cluster CA certificate is not trusted by the host CA bundle, but the token does not include a CA hash. Use the full token from the server s node-token file to enable Cluster CA validation. INFO[0000] Running load balancer 127.0.0.1:6443 -> [10.0.0.2:6443] ERRO[0000] Failed to configure agent: Node password rejected, duplicate hostname or contents of /etc/rancher/node/password may not match server node-passwd entry, try enabling a unique node name with the --with-node-id flag Problem is described here: Removing node doesn t remove node password Issue #802 k3s-io/k3s (github.com)So do not remove node via kubectl delete node <nodeId> command and use official uninstall script.Solution:kubectl -n kube-system delete secrets <agent-node-name>.node-password.rke2 or kubectl -n kube-system delete secrets <agent-node-name>.node-password.k3s

projít na článek

SOLVED: rke2-agent-3 systemd[1]: Failed to start Rancher Kubernetes Engine v2 (agent) invalid kernel parameter

root@:/etc/rancher/rke2# sudo systemctl status rke2-agent rke2-agent.service - Rancher Kubernetes Engine v2 (agent) Loaded: loaded (/usr/local/lib/systemd/system/rke2-agent.service; enabled; vendor preset: enabled) Active: activating (auto-rest

projít na článek

Helm install OpenSearch Cluster with persistence to local disk + Hunspell

local-storage Boundkubectl apply -f values.yaml values.yaml # Only create this for K8s 1.9+ apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: local-storage provisioner: kubernetes.io/no-provisioner volumeBindingMode: WaitForFirstConsumer

projít na článek

RKE2 - enable nginx proxy protocol by default

After RKE2 upgrade you will lost your rke2-ingress-nginx-controller config values.Define this HelmChartConfig and your setup will be used every time, when you upgrade RKE2. More info about config in official documentation.apiVersion: helm.cattle.io/v1 kin

projít na článek

Solved: Nuxt.js App takes too long to start inside Docker - too slow

I have spend lots of time to investigate what the problem is and I found it!Take a look inside your docker-compose.yml and double check, that you are not propagating .git folder inside the docker container! Now your app will be faster than before node:

projít na článek

Configure Nextcloud in Turris Omnia for large files upload

Buy mSata SSD disk and plug into your Turris and configure it via Reforris as /srv mount Apend this lines into /etc/php8-fpm.d/www.conf and create /srv/tmp/ folder with write all permissionsphp_admin_value[error_log] = /var/log/fpm-php.www.log php_admin_f

projít na článek