apiVersion: apps/v1
kind: Deployment
metadata:
  name: tfm-config-server
  labels:
    app: tfm-config-server
spec:
  replicas: 1
  selector:
    matchLabels:
      app: tfm-config-server     
  template:
    metadata:
      labels:
        app: tfm-config-server
    spec:
      containers:
      - name: spring-petclinic-config-server
        image: nespasec/spring-petclinic-config-server:2.2.3
        ports:
        - containerPort: 8888
        resources:
          limits:
            memory: 512Mi
          requests:
            memory: 128Mi