apiVersion: apps/v1
kind: Deployment
metadata:
  name: ingress-404
spec:
  replicas: 1
  selector:
    matchLabels:
      app: ingress-404
  template:
    metadata:
      labels:
        app: ingress-404
    spec:
      containers:
      - name: http-echo
        image: hashicorp/http-echo:1.0.0
        args:
        - "-text=404 Not Found"
        - "-status-code=404"
        - "-listen=:8080"
        ports:
        - containerPort: 8080
        resources:
          limits:
            cpu: 100m
            memory: 100Mi
          requests:
            cpu: 100m
            memory: 10Mi