apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
metadata:
  name: mrds1
spec:
  selector:
    matchLabels:
      app: mrds1
  replicas: 1 # tells deployment to run 2 pods matching the template
  template:
    metadata:
      labels:
        app: mrds1
    spec:
      containers:
      - name: mrds1
        image: gcr.io/fabs-cl-02/mrds1:8
        ports:
        - containerPort: 8800
        env:
        - name: KUBERNETES_SERVICE_HOST
          value: "kubernetes.default.svc.cluster.local"
        - name: KUBERNETES_SERVICE_PORT
          value: "443"
