til.duyet.net
blog
Search…
til.duyet.net
🤪
Today I Learned
Data Engineering
☁
AWS
⚒
Tools
💻
Shell
☸
Kubernetes, Helm, Kustomize
Kustomize: omission of resources
K8S: Services and Labels
K8S: PVC stuck in status “Terminating”
K8S: Port Forward
K8S: Pull an Image from a Private Registry
Happy helm
Helm: render manifest locally
Helm: Public Helm chart repository with GitHub Pages
🔄
Apache Airflow
🐳
Docker
Database
Google BigQuery
Apache Hive
AWS Redshift / Postgres
Presto
Programming
🍪
Rust
🐍
Python
👻
Golang
💎
Javascript / Typescript
✨
FE / React
Unix
Git - Pretty git branch graphs
Checking files in Docker build context
Bash get the directory of the current script
Vim
Find and replace
Miscellaneous
[Fig] Single machine and distributed system structure
Deploying Machine Learning Models at Scale
Bypass a Chrome certificate/HSTS error
Articles
Powered By GitBook
K8S: PVC stuck in status “Terminating”
You need to patch the PVC to set the “finalizers” setting to null, this allows the final unmount from the node, and the PVC can be deleted.
1
kubectl patch pvc {PVC_NAME} -p '{"metadata":{"finalizers":null}}'
Copied!
References:
  • ​https://github.com/kubernetes/kubernetes/issues/69697​
  • ​https://veducate.co.uk/kubernetes-pvc-terminating/​
Previous
K8S: Services and Labels
Next
K8S: Port Forward
Last modified 1mo ago
Copy link
Edit on GitHub