apiVersion: v1
kind: Pod
metadata:
  name: "tomcat-pod-inject"
  namespace: test
  labels:
    inject: nginx
spec:
  containers:
  - name: tomcat-pod-inject
    image: "tomcat:jdk8-corretto"
    resources:
      limits:
        cpu: 200m
        memory: 500Mi
      requests:
        cpu: 100m
        memory: 200Mi
    ports:
    - containerPort:  8080
      name:  http