---
# System prepended metadata

title: OpenShift Pod using hostPath as PV

---

# OpenShift Pod using hostPath as PV

## Create PV

## Create PVC

## Create Pod / Deployment

## Modify ServiceAccount (add scc) to allow hostPath

## Ref

https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/