Hello, when i try install first master i have trouble
This is my ansible output
TASK [rke2_server : Start rke2-server] ***************************************************************************************************************************************************************************************************************
ok: [server0.example.com]
TASK [rke2_server : Wait for k8s apiserver] **********************************************************************************************************************************************************************************************************
ok: [server0.example.com]
TASK [rke2_server : Wait for kubelet process to be present on host] **********************************************************************************************************************************************************************************
ok: [server0.example.com]
TASK [rke2_server : Debug kubelet process output] ****************************************************************************************************************************************************************************************************
ok: [server0.example.com] => {
"kubelet_check.stdout": "root 58386 58293 4 205985 92648 0 22:38 ? 00:00:02 kubelet --volume-plugin-dir=/var/lib/kubelet/volumeplugins --file-check-frequency=5s --sync-frequency=30s --address=0.0.0.0 --anonymous-auth=false --authentication-token-webhook=true --authorization-mode=Webhook --cgroup-driver=systemd --client-ca-file=/var/lib/rancher/rke2/agent/client-ca.crt --cloud-provider=external --cluster-dns=10.43.0.10 --cluster-domain=cluster.local --container-runtime-endpoint=unix:///run/k3s/containerd/containerd.sock --containerd=/run/k3s/containerd/containerd.sock --eviction-hard=imagefs.available<5%,nodefs.available<5% --eviction-minimum-reclaim=imagefs.available=10%,nodefs.available=10% --fail-swap-on=false --feature-gates=CloudDualStackNodeIPs=true --healthz-bind-address=127.0.0.1 --hostname-override=k3s-master --kubeconfig=/var/lib/rancher/rke2/agent/kubelet.kubeconfig --node-ip=192.168.0.90 --node-labels=server0Label=true --pod-infra-container-image=index.docker.io/rancher/mirrored-pause:3.6 --pod-manifest-path=/var/lib/rancher/rke2/agent/pod-manifests --read-only-port=0 --resolv-conf=/run/systemd/resolve/resolv.conf --serialize-image-pulls=false --tls-cert-file=/var/lib/rancher/rke2/agent/serving-kubelet.crt --tls-private-key-file=/var/lib/rancher/rke2/agent/serving-kubelet.key"
}
TASK [rke2_server : Extract the hostname-override parameter from the kubelet process] ****************************************************************************************************************************************************************
ok: [server0.example.com]
TASK [rke2_server : Debug final fact] ****************************************************************************************************************************************************************************************************************
ok: [server0.example.com] => {
"kubelet_hostname_override_parameter": [
"k3s-master"
]
}
FAILED - RETRYING: [server0.example.com]: Wait for node to show Ready status (20 retries left).
FAILED - RETRYING: [server0.example.com]: Wait for node to show Ready status (19 retries left).
FAILED - RETRYING: [server0.example.com]: Wait for node to show Ready status (18 retries left).
FAILED - RETRYING: [server0.example.com]: Wait for node to show Ready status (17 retries left).
But whe i see journalctl i dont have some errors, just info, but when i try check node status
root@k3s-master:/etc/rancher/rke2# /var/lib/rancher/rke2/bin/kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml --server https://127.0.0.1:6443 get nodes
NAME STATUS ROLES AGE VERSION
k3s-master NotReady control-plane,etcd,master 18m v1.27.10+rke2r1
Hello, when i try install first master i have trouble This is my ansible output
But whe i see journalctl i dont have some errors, just info, but when i try check node status