apiVersion: apps/v1
kind: Deployment
metadata:
  creationTimestamp: "2020-09-21T12:56:35Z"
  name: qos-demo
  labels:
    test: qos
spec:
  replicas: 1
  selector:
    matchLabels:
      app: nginx
  template:
    metadata:
      creationTimestamp: "2020-09-21T12:56:35Z"
      labels:
        app: nginx
    spec:
      containers:
      - name: nginx
        image: nginx:latest
        resources:
          limits:
            cpu: "50m"
