apiVersion: v1
kind: Pod
metadata:
  name: myapp-pod
  namespace: sample-ns
  labels:
    app: myapp
spec:
  containers:
  - name: nginx
    image: nginx:1.7.9
    resources:
      requests:
        memory: "64Mi"
        cpu: "250m"
      limits:
        memory: "128Mi"
        cpu: "500m"