apiVersion: apps/v1 kind: Deployment metadata: name: ubuntu-test spec: replicas: 1 selector: matchLabels: app: ubuntu-test template: metadata: labels: app: ubuntu-test spec: containers: - name: ubuntu-test image: ubuntu:latest command: ["sleep", "infinity"] resources: requests: memory: "512Mi" cpu: "500m" limits: memory: "1024Mi" cpu: "500m"