Get resource usage using metrics-server addon

Change-Id: I91e96c2fb222b3b94271f8efaaf078c596fc3f7f
This commit is contained in:
okozachenko 2020-06-02 01:05:48 +03:00 committed by Mohammed Naser
parent d10f7e5e8f
commit 75746a4b22
2 changed files with 6 additions and 1 deletions

View File

@ -18,4 +18,8 @@
roles: roles:
- collect-container-logs - collect-container-logs
- collect-kubernetes-logs - collect-kubernetes-logs
tasks:
- name: Get node resource usage
command: kubectl top nodes
- name: Get pod resource usage
command: kubectl top pods -n openstack

View File

@ -44,6 +44,7 @@
/opt/stack/tempest-horizon /opt/stack/tempest-horizon
docker_use_buildset_registry: true docker_use_buildset_registry: true
minikube_dns_resolvers: [1.1.1.1, 8.8.8.8] minikube_dns_resolvers: [1.1.1.1, 8.8.8.8]
ensure_kubernetes_minikube_addons: [metrics-server]
- project: - project:
check: check: