Enhance/fix k8s install for Ubuntu 38/4938/1
authortrevor tao <trevor.tao@arm.com>
Mon, 11 Jul 2022 13:26:11 +0000 (21:26 +0800)
committertrevor tao <trevor.tao@arm.com>
Mon, 11 Jul 2022 13:26:11 +0000 (21:26 +0800)
commitcbeadd595b2d5a16038fb9269a8f11739facad01
tree1bdec26beef80b58e7cacd5ea88dd311f77c4c94
parentade6a97f96c7914222f9af9451d6bb9ffc1d79f7
Enhance/fix k8s install for Ubuntu

1. Rename the apt package from python-pip to python3-pip
2. Remove the old K8s components before apt install:
kubeadm, kubelet, kubectl, kubernetes-cni

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: I309f12f410cb705d71208adb09db4cfc6a406be2
src/foundation/scripts/k8s_common.sh