apiVersion: apps/v1
kind: Deployment
metadata:
  name: busybox
  namespace: efk
spec:
  replicas: 1
  selector:
    matchLabels:
      app: busybox
  template:
    metadata:
      labels:
        app: busybox
    spec:
      containers:
      - name: busybox
        image: busybox:1.35
        command: ["sh", "-c", "while true; do sleep 3600; done"]
        resources:
          requests:
            memory: "10Mi"
            cpu: "10m"
          limits:
            memory: "50Mi"
            cpu: "50m"
      restartPolicy: Always