Hello everybody, i updated with rke kubernetes ...
# general
g
Hello everybody, i updated with rke kubernetes to version 1.24. when i run rke up to update i get this error`:`
Copy code
INFO[0070] Finding container [service-sidekick] on host [10.155.10.113], try #1
INFO[0070] [sidekick] Sidekick container already created on host [10.155.10.113]
INFO[0070] [healthcheck] Start Healthcheck on service [kubelet] on host [10.155.10.113]
ERRO[0121] Failed to upgrade worker components on NotReady hosts, error: [Failed to verify healthcheck: Failed to check <http://localhost:10248/healthz> for service [kubelet] on host [10.155.10.113]: Get "<http://localhost:10248/healthz>": Unable to access the service on localhost:10248. The service might be still starting up. Error: ssh: rejected: connect failed (Connection refused), log: I1216 09:55:52.876292 1131786 docker_service.go:359] "Docker cri received runtime config" runtimeConfig="&RuntimeConfig{NetworkConfig:&NetworkConfig{PodCidr:,},}"]
INFO[0121] [controlplane] Now checking status of node 10.155.10.113, try #1
INFO[0126] [controlplane] Now checking status of node 10.155.10.113, try #2
INFO[0131] [controlplane] Now checking status of node 10.155.10.113, try #3
INFO[0136] [controlplane] Now checking status of node 10.155.10.113, try #4
INFO[0141] [controlplane] Now checking status of node 10.155.10.113, try #5
ERRO[0146] Host 10.155.10.113 failed to report Ready status with error: host 10.155.10.113 not ready
INFO[0146] [controlplane] Processing controlplane hosts for upgrade 1 at a time
INFO[0146] Processing controlplane host 10.155.10.113
INFO[0146] [controlplane] Now checking status of node 10.155.10.113, try #1
INFO[0151] [controlplane] Now checking status of node 10.155.10.113, try #2
INFO[0156] [controlplane] Now checking status of node 10.155.10.113, try #3
INFO[0161] [controlplane] Now checking status of node 10.155.10.113, try #4
INFO[0166] [controlplane] Now checking status of node 10.155.10.113, try #5
ERRO[0171] Failed to upgrade hosts: 10.155.10.113 with error [host 10.155.10.113 not ready]
FATA[0171] [controlPlane] Failed to upgrade Control Plane: [[host 10.155.10.113 not ready]]
On master1 I checked the kubelet docker container log
Copy code
[root@vit81-ldevsa00a ~]# docker logs kubelet --follow  --tail 10
      --tls-private-key-file string                              File containing x509 private key matching --tls-cert-file. (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See <https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/> for more information.)
      --topology-manager-policy string                           Topology Manager policy to use. Possible values: 'none', 'best-effort', 'restricted', 'single-numa-node'. (default "none") (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See <https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/> for more information.)
      --topology-manager-scope string                            Scope to which topology hints applied. Topology Manager collects hints from Hint Providers and applies them to defined scope to ensure the pod admission. Possible values: 'container', 'pod'. (default "container") (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See <https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/> for more information.)
  -v, --v Level                                                  number for the log level verbosity (default 0)
      --version version[=true]                                   Print version information and quit
      --vmodule pattern=N,...                                    comma-separated list of pattern=N settings for file-filtered logging (only works for text log format)
      --volume-plugin-dir string                                 The full path of the directory in which to search for additional third party volume plugins (default "/usr/libexec/kubernetes/kubelet-plugins/volume/exec/") (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See <https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/> for more information.)
      --volume-stats-agg-period duration                         Specifies interval for kubelet to calculate and cache the volume disk usage for all pods and volumes.  To disable volume calculations, set to a negative number. (default 1m0s) (DEPRECATED: This parameter should be set via the config file specified by the Kubelet's --config flag. See <https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/> for more information.)

Error: failed to run Kubelet: unable to determine runtime API version: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial unix: missing address"
[root@vit81-ldevsa00a ~]#
I'm using rke version 1 1.3.10
Copy code
[root@vit81-ldevsa00a ~]# rke --version
rke version v1.3.10
in the cluster.yaml file I added this line:
Copy code
authorization:
  mode: rbac
  options: {}
ignore_docker_version: null
#enable_cri_dockerd: null
enable_cri_dockerd: false
#kubernetes_version: "v1.23.14-rancher1-1"
kubernetes_version: "v1.24.8-rancher1-1" <<<----- THIS LINE ADDED
private_registries: []
ingress:
  provider: ""
  options: {}