apiVersion: apps/v1
kind: Deployment
metadata:
  name: krakend-deployment
spec:
  selector:
    matchLabels:
      app: krakend
  replicas: 3
  template:
    metadata:
      labels:
        app: krakend
    spec:
      containers:
      - name: krakend
        image: gcr.io/key-period-229607/krakend:v1
        ports:
        - containerPort: 8080
        command: [ "/usr/bin/krakend" ]
        args: [ "run", "-d", "-c", "/etc/krakend/krakend.json", "-p", "8080" ]