Привет! Я пытаюсь развернуть объект VPA для одного из моих развертываний, но при описании условий возникает ошибка с ошибкой
Status:
Conditions:
Last Transition Time: 2020-01-08T13:03:55Z
Message: Fetching history failed: Failed to fetch list of containers. Reason: context deadline exceeded. Last server error: <nil>
Reason: 2020-01-08T13:03:55Z
Status: False
Type: FetchingHistory
Last Transition Time: 2020-01-08T13:03:55Z
Status: False
Type: LowConfidence
Last Transition Time: 2020-01-08T13:03:55Z
Message: No pods match this VPA object
Reason: NoPodsMatched
Status: True
Type: NoPodsMatched
Last Transition Time: 2020-01-08T13:03:55Z
Status: True
Type: RecommendationProvided
Вот мой файл VPA:
apiVersion: autoscaling.k8s.io/v1beta2
kind: VerticalPodAutoscaler
metadata:
name: xtenter-vpa
namespace: mynamespace
spec:
targetRef:
apiVersion: "extensions/v1beta1"
kind: Deployment
name: mydeploy
updatePolicy:
updateMode: "Auto"
Еще один сценарий, который я обнаружил, заключается в том, что при запуске VPA с режимом updatePolicy в состоянии «Выкл» я получаю другую ошибку в состоянии VPA.
Conditions:
Last Transition Time: 2020-01-10T06:53:55Z
Message: Fetching history failed: Failed to fetch list of containers. Reason: Failed to listTimeSerises with retries. Last server error: rpc error: code = InvalidArgument desc = Name must begin with '{resource_container_type}/{resource_container_id}', got: projects/
Reason: 2020-01-10T06:53:55Z
Status: False
Type: FetchingHistory
Last Transition Time: 2020-01-10T06:44:55Z
Status: False
Type: LowConfidence
Last Transition Time: 2020-01-10T06:44:55Z
Message: No pods match this VPA object
Reason: NoPodsMatched
Status: True
Type: NoPodsMatched
Last Transition Time: 2020-01-10T06:44:55Z
Status: True
Type: RecommendationProvided
Сведения о кластере: версия: 1.13.11-gke. 14 Stackdriver Kubernetes Engine Monitoring: Отключено Устаревшее ведение журнала Stackdriver: включено
Не могли бы вы помочь мне понять причину root здесь?