apiVersion: apps/v1
kind: Deployment
metadata:
  name: inefficient-app
  namespace: demo-app
  labels:
    app: inefficient-app
spec:
  replicas: 2
  selector:
    matchLabels:
      app: inefficient-app
  template:
    metadata:
      labels:
        app: inefficient-app
    spec:
      containers:
      - name: nginx
        image: nginx:1.25
        ports:
        - containerPort: 80
        resources:
          requests:
            cpu: 500m    # Deliberately high request
            memory: 512Mi
          limits:
            cpu: 2000m   # Very high limit
            memory: 1Gi
        # Add a minimal workload to show low actual usage
        command: ["/bin/sh", "-c"]
        args:
          - |
            nginx -g "daemon off;" & \
            while true; do sleep 30; done 