#amazon-web-services #kubernetes #runtime-error #amazon-iam #kubectl
#amazon-web-services #kubernetes #время выполнения — ошибка #amazon-iam #kubectl
Вопрос:
Я выполняю команду:
kubectl describe -A pvc | grep -E "^Name:.*$|^Namespace:.*$|^Mounted By:.*$" | grep -B 2 "<none>" | grep -E "^Name:.*$|^Namespace:.*$" | cut -f2 -d: | paste -d " " - - | xargs -n2 bash -c 'kubectl -n ${1} delete pvc ${0}'
и когда я ее запускаю .. это дает мне непрерывные ошибки:
constructing many client instances from the same exec auth config can cause performance problems during cert rotation and can exhaust available network connections; clients constructed calling "heptio-authenticator-aws"
constructing many client instances from the same exec auth config can cause performance problems during cert rotation and can exhaust available network connections; clients constructed calling "heptio-authenticator-aws"
constructing many client instances from the same exec auth config can cause performance problems during cert rotation and can exhaust available network connections; clients constructed calling "heptio-authenticator-aws"
constructing many client instances from the same exec auth config can cause performance problems during cert rotation and can exhaust available network connections; clients constructed calling "heptio-authenticator-aws"
constructing many client instances from the same exec auth config can cause performance problems during cert rotation and can exhaust available network connections; clients constructed calling "heptio-authenticator-aws"
constructing many client instances from the same exec auth config can cause performance problems during cert rotation and can exhaust available network connections; clients constructed calling "heptio-authenticator-aws"
constructing many client instances from the same exec auth config can cause performance problems during cert rotation and can exhaust available network connections; clients constructed calling "heptio-authenticator-aws"
- Я использую ее для удаления моих размонтированных ПВХ-файлов kubernetes.. как мне исправить ошибку?
- Он просто выводит эту ошибку, и пвх не удаляется.
Комментарии:
1. вам действительно нужно делать удаления параллельно? вероятно, вам не следует использовать здесь xargs.
2. что значит параллельный? Я просто хочу удалить их .. вы знаете, как исправить проблему? @jordanm
3. Сколько ПВХ необходимо удалить? Это может быть связано с этой проблемой
4. @MariuszK. многие .. около 800 иш
5. Это может вызвать проблему, упомянутую в проблеме github, связанной выше. Можете ли вы попробовать удалить PVCS для каждого пространства имен, например? Чтобы уменьшить количество объектов, подлежащих удалению.