apiVersion: apps/v1
kind: Deployment
metadata:
  name: ow-offloadserver
spec:
  selector:
    matchLabels:
      app: offloadserver
  replicas: 2
  minReadySeconds: 1
  revisionHistoryLimit: 5
  template:
    metadata:
      labels:
        app: offloadserver
    spec:
      containers:
      - name: offloadserver
        image: docker5gmedia/ow-offload-server:c056640
        imagePullPolicy: Always
        ports:
        - containerPort: 8080
        env:
        - name: OW_OFFLOAD_IMAGE
          value: docker5gmedia/ow-offload-server:c056640
        livenessProbe:
          httpGet:
              path: /hello
              port: 8080
          initialDelaySeconds: 3
          periodSeconds: 10
