Skip to main content

4 posts tagged with "OpenShift"

View All Tags

Shrinking a PersistentVolumeClaim in Kubernetes

· 2 min read
Jennings Zhang
Research Developer @ Boston Children's Hospital

To shrink a PersistentVolumeClaim (PVC) in OpenShift or Kubernetes, we need to:

  1. pause our deployments
  2. copy its data to a smaller, temporary PVC
  3. delete the original PVC
  4. create a new PVC with the original name
  5. copy the data from the temporary PVC to the new PVC
  6. restart our deployments

Hitchhiking on OpenShift's Observability using Custom Grafana Dashboards

· 5 min read
Jennings Zhang
Research Developer @ Boston Children's Hospital

OpenShift provides some observability features out-of-the-box, but which features are available depends on what your cluster admin has working and what you have access to. On the NERC, we are able to see container metrics in OpenShift Developer's built-in dashboard. To enable custom visualizations, metrics analysis, and alerting, we need to connect this data to an instance of Grafana which we control.

Migration of data from a OpenStack Swift on a VM to NooBaa on OpenShift

· 4 min read
Jennings Zhang
Research Developer @ Boston Children's Hospital

Currently, https://cube.chrisproject.org is being powered by a VM called fnndsc.childrens.harvard.edu in the Boston Children Hospital network's DMZ. It's been working well for us through the years, however its 480GB disk frequently runs out of space. For more storage, easier deployments, and stability, we want to try migrating this instance of the ChRIS backend to the NERC's OpenShift cluster.