Upgrading Kubernetes Cluster To v1.21 Fails With Error "/usr/bin/rm: No such file or directory"

Problem

  • Upgrading a containerd based cluster v1.21 fails with below error:
Javascript
Copy

Environment

  • Platform9 Managed Kubernetes - v5.4 and above
  • pf9-kube-v1.21

Cause

  • Issue has been identified and the fix has been backported to v1.22.

Workaround

  • As a workaround the issue can fixed by running below command on the master and worker nodes:
Command
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard