apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: podinfo
  name: podinfo
spec:
  replicas: 1
  selector:
    matchLabels:
      app: podinfo
  template:
    metadata:
      labels:
        app: podinfo
    spec:
      containers:
      - name: podinfo
        image: stefanprodan/podinfo
        resources:
          requests:
            cpu: 50m
            memory: 50Mi
        imagePullPolicy: IfNotPresent
        ports:
        - containerPort: 9898
          protocol: TCP
