The Burstable pod has a priority that is higher than BestEffort but lower than Guaranteed. In order to configure a pod to be a Burstable Pod, you need to set resources.request. resources.limit is optional, but the value of resources.request and resources.limit must not be equal:
- Prepare a pod configuration that has resources.request only:
$ cat burstable.ymlapiVersion: v1kind: Podmetadata: name: burstable-podspec: containers: - name: nginx image: nginx resources: requests: cpu: 0.1 memory: 10Mi limits: cpu: 0.5 memory: 300Mi
- Create the pod:
$ kubectl create -f burstable.yml --namespace=chap8-no-qospod "burstable-pod" created
- Check the QoS class; it is Burstable:
$ kubectl describe pods burstable-pod --namespace=chap8-no-qos ...