LogDNA with Red Hat OpenShift on IBM Cloud — Additional Configuration

Ong Khai Wei
1 min readNov 10, 2019

--

Red Hat Openshift on IBM Cloud provides seamless experience to quick provision a cluster of Red Hat Openshift on IBM Cloud and removing the hassle of maintaining Master and its underlying infrastructure such as network, Operating System, storage and so on. I was deploying IBM Blockchain Platform into Red Hat Openshift cluster for testing. Logging becomes essential. Therefore IBM Cloud Logging with LogDNA naturally becomes my first choice to quickly observe the logging of software.

I started to notice something strange, I couldn’t see any log from my project at all! I triple checked the documentation, yaml file, IBM website, LogDNA website and nothing makes me move forward.

Thanks for Tim spent his time over the weekend to solve this mystery. He noticed there is a missing mounting of path in logdna agent deployment file. And mystery just solved.

- hostPath:
path: /var/data/kubeletlogs
type: ""
name: vardatakubeletlogs

Full yaml file is available at https://github.com/ongkhaiwei/logdna-agent/blob/master/logdna-agent-ds-os.yaml

--

--

Ong Khai Wei
Ong Khai Wei

Written by Ong Khai Wei

Blockchain, Kubernetes, DevOps and Coffee

No responses yet