apiVersion: apps/v1
kind: Deployment
metadata:
  name: app
spec:
  replicas: 2
  selector:
    matchLabels:
      name: app
  template:
    metadata:
      labels:
        name: app
    spec:
      containers:
      - name: app
        image: tomwilkie/app
        imagePullPolicy: IfNotPresent
        args:
          - -echo=http://echo.default.svc.cluster.local/
          - -qotd=qotd.default.svc.cluster.local
          - -redis=redis.default.svc.cluster.local
          - -search=http://search.default.svc.cluster.local/
        ports:
        - containerPort: 80
