apiVersion: v1
kind: ReplicationController
metadata:
  name: sinusbot-v0.9.8
  namespace: default
  labels:
    version: v0.9.8
    app: sinusbot
spec:
  replicas: 1
  selector:
    version: v0.9.8
    app: sinusbot
  template:
    metadata:
      labels:
        app: sinusbot
        version: v0.9.8
    spec:
      containers:
        - image: galexrt/sinusbot:latest
          name: sinusbot
          resources:
            limits:
              cpu: 350m
              memory: 768Mi
          ports:
            - containerPort: 8087
              hostPort: 8087
              protocol: TCP
          volumeMounts:
          - name: sinusbot-persistent-storage
            mountPath: /sinusbot/data
            readOnly: false
      volumes:
      - name: sinusbot-persistent-storage
        hostPath:
          path: /container-data/sinusbot-data
