I tried all the versions of pip between 18.1 and 20.0.2 all of which encountered errors. 20.0.2 is the same version of pip installed by default in focal. It should be ok to use this version of pip in a virtualenv for kubernetes-control-plane since layer-basic performs an upgrade on pip in the event it doesn't downgrade the current series installation of pip.
i was able to work around the install issue by using pip==20.0.2
this workaround can be applied with:
$ juju ssh kubernetes- control- plane/< unit> juju/agents/ unit-kubernetes -control- plane-* /charm/ wheelhouse/ pip-18. 1.tar.gz /files. pythonhosted. org/packages/ 8e/76/66066b7bc 71817238924c7e4 b448abdb17eb0c9 2d645769c223f9a ce478f/ pip-20. 0.2.tar. gz juju/agents/ unit-kubernetes -control- plane-* /charm/ wheelhouse/
$ sudo su -
$ rm /var/lib/
$ PIP_PKG=https:/
$ wget $PIP_PKG -P /var/lib/
I tried all the versions of pip between 18.1 and 20.0.2 all of which encountered errors. 20.0.2 is the same version of pip installed by default in focal. It should be ok to use this version of pip in a virtualenv for kubernetes- control- plane since layer-basic performs an upgrade on pip in the event it doesn't downgrade the current series installation of pip.