Master node unable to update using "apt update" command AND port 6443 was refused

Im trying setup k8s cluster for the first time with one Master node and three worker nodes using VMs.

apt update

Err:3 Index of /apt// kubernetes-xenial InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY B53DC80D13EDEF05
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
7 packages can be upgraded. Run ‘apt list --upgradable’ to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: Index of /apt// kubernetes-xenial InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY B53DC80D13EDEF05
W: Failed to fetch https://apt.kubernetes.io/dists/kubernetes-xenial/InRelease The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY B53DC80D13EDEF05
W: Some index files failed to download. They have been ignored, or old ones used instead.

kubectl version --short

Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
Client Version: v1.27.1
Kustomize Version: v5.0.1
The connection to the server k8s-master.dcs2.local:6443 was refused - did you specify the right host or port?

Please see this thread: Ubuntu kubernetes-xenial public key is not available: NO_PUBKEY B53DC80D13EDEF05 · Issue #2862 · kubernetes/release · GitHub

Solved the first problem by following gobygo-rgb suggestions. Thanks!

Please see this thread: Ubuntu kubernetes-xenial public key is not available: NO_PUBKEY B53DC80D13EDEF05 · Issue #2862 · kubernetes/release · GitHub

RUN echo “deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://apt.kubernetes.io/ kubernetes-xenial main” | tee /etc/apt/sources.list.d/kubernetes.list

However Im still getting the same issue on the below.

kubectl version --short

Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
Client Version: v1.27.1
Kustomize Version: v5.0.1
The connection to the server k8s-master.dcs2.local:6443 was refused - did you specify the right host or port?

Found another issue where kubelet doesnt start.

systemctl status kubelet

● kubelet.service - kubelet: The Kubernetes Node Agent
Loaded: loaded (/lib/systemd/system/kubelet.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/kubelet.service.d
└─10-kubeadm.conf
Active: activating (auto-restart) (Result: exit-code) since Wed 2023-05-24 12:57:18 UTC; 7s ago
Docs: Kubernetes Documentation | Kubernetes
Process: 111313 ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_EXTRA_ARGS (code=exited, status=1/FAILURE)
Main PID: 111313 (code=exited, status=1/FAILURE)
CPU: 102ms