Skip to content

Commit 7d0542f

Browse files
author
Tim Bannister
committed
Explain how to see QoS class for a Pod
1 parent d5039e8 commit 7d0542f

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

content/en/docs/tasks/configure-pod-container/quality-service-pod.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,12 +231,19 @@ status:
231231
qosClass: Burstable
232232
```
233233
234-
Delete your Pod:
234+
## Retrieve the QoS class for a Pod
235235
236-
```shell
237-
kubectl delete pod qos-demo-4 --namespace=qos-example
236+
Rather than see all the fields, you can view just the field you need:
237+
238+
```bash
239+
kubectl --namespace=qos-example get pod qos-demo-4 -o jsonpath='{ .status.qosClass}{"\n"}'
238240
```
239241

242+
```none
243+
Burstable
244+
```
245+
246+
240247
## Clean up
241248

242249
Delete your namespace:

0 commit comments

Comments
 (0)