Interrogates your tiller for deprecated resources
- Setup python3 vend:
python3 -m venv venv
- Activate venv:
. venv/bin/activate
- Install requirements:
pip install -r requirements.txt
- Switch to your favorite kubectl context:
kubectl config use-context mycontext
- Run the tool:
python deprapi.py --namespace mytillernamespace
INFO:deprapi:Release taiga has deprecated apps/v1beta2.Deployment events
INFO:deprapi:Release taiga has deprecated apps/v1beta2.Deployment postgres
INFO:deprapi:Release taiga has deprecated apps/v1beta2.Deployment rabbitmq
INFO:deprapi:Release taiga has deprecated apps/v1beta2.Deployment redis
INFO:deprapi:Release taiga has deprecated apps/v1beta2.Deployment taiga
ERROR:deprapi:Release taiga uses deprecated APIs
This means that you have a release named taiga
in your tiller, which uses
(several) deprecated apps/v1beta2
Deployments
.
Upgrade your releases using charts which carry the right API Versions.
The resources will probably survive a k8s upgrade, but Helm will not be able to manage (ie, upgrade) these resources, as it will try to query for the deprecated API groups, which will fail. You will need to upgrade these resources before upgrading to newer k8s.