Installation

STOR2RRD deploy in Kubernetes and OpenShift

You can run STOR2RRD easily with docker image on Kubernetes / OpenShift.
No missing modules, library version conflicts or dependency hell.
It's based on the latest official Alpine Linux with all necessary dependencies installed.

Volumes

It is necessary to create volume for data.
We recommend 100 GB for data as persistentVolumeClaim with ClaimName stor2rrd
This volume will be mounted on /home/stor2rrd
Change TIMEZONE as is needed

Deployment pattern stor2rrd:
apiVersion: v1
kind: Pod
metadata:
  name: stor2rrd
  namespace: <your_namespace>
  labels:
    app: stor2rrd
spec:
  containers:
  - name: stor2rrd
    image: xorux/stor2rrd
    env:
    - name: TIMEZONE
      value: "Europe/London"
    volumeMounts:
    - mountPath: /home/stor2rrd
      name: stor2rrd
    ports:
    - containerPort: 80
  volumes:
    - name: stor2rrd
      persistentVolumeClaim:
        claimName: stor2rrd
After deployment go to the web UI, use admin/admin as username/password
You can connect via SSH on port 22 (exposed), username stor2rrd, password xorux4you - please change it ASAP.

XorMon integration

If you intend to integrate STOR2RRD into XorMon then add into deployment script this parameter:
  env:
  - name: XORMON
    value: "1"

Troubleshooting

The first step in debugging a Pod is taking a look at it. Check the current state of the Pod and recent events with the following command:
$ kubectl describe pods stor2rrd (for Kubernetes)
$ oc describe pods stor2rrd (for OpenShift)
General Kubernetes debug