LPAR2RRD deploy in Kubernetes and OpenShift
                
You can run LPAR2RRD 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 lpar2rrd
This volume will be mounted on /home/lpar2rrd
Change TIMEZONE as is needed
Deployment pattern lpar2rrd:
apiVersion: v1
kind: Pod
metadata:
  name: lpar2rrd
  namespace: <your_namespace>
  labels:
    app: lpar2rrd
spec:
  containers:
  - name: lpar2rrd
    image: xorux/lpar2rrd
    env:
    - name: TIMEZONE
      value: "Europe/London"
    volumeMounts:
    - mountPath: /home/lpar2rrd
      name: lpar2rrd
    ports:
    - containerPort: 80
  volumes:
    - name: lpar2rrd
      persistentVolumeClaim:
        claimName: lpar2rrd
After deployment go to the web UI, use admin/admin as username/password
You can connect via SSH on port 22 (exposed), username lpar2rrd, password xorux4you - please change it ASAP.
XorMon integration
If you intend to integrate LPAR2RRD 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 lpar2rrd (for Kubernetes)
$ oc describe pods lpar2rrd (for OpenShift)
General Kubernetes debug