Explain how to see QoS class for a Pod

pull/39308/head
Tim Bannister 2023-02-06 23:46:56 +00:00
parent d5039e8c67
commit 7d0542fd53
No known key found for this signature in database
GPG Key ID: 468B7071483F639F
1 changed files with 10 additions and 3 deletions

View File

@ -231,12 +231,19 @@ status:
qosClass: Burstable
```
Delete your Pod:
## Retrieve the QoS class for a Pod
```shell
kubectl delete pod qos-demo-4 --namespace=qos-example
Rather than see all the fields, you can view just the field you need:
```bash
kubectl --namespace=qos-example get pod qos-demo-4 -o jsonpath='{ .status.qosClass}{"\n"}'
```
```none
Burstable
```
## Clean up
Delete your namespace: