Mount file to Kubernetes Pod Without Deleting the Existing Fileby@imantumorang
28,324 reads
28,324 reads

Mount file to Kubernetes Pod Without Deleting the Existing File

by Iman Tumorang3mJanuary 22nd, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

A few weeks ago, I made a simple tutorial to create Kubenernetes Clusters in Google Cloud Platform (GCP) A Go (Golang) application that builds and containerized in a docker image. When deploying it to Kubernetes, I need to inject the config file so it can run. But, when injecting this config file on the same path, it will delete the existing file. Instead of adding a new file, the KuberNETes mount volume will replace all the file, and it removes the existing.

Company Mentioned

Mention Thumbnail
featured image - Mount file to Kubernetes Pod Without Deleting the Existing File
Iman Tumorang HackerNoon profile picture
Iman Tumorang

Iman Tumorang

@imantumorang

Software Engineer

Learn More
LEARN MORE ABOUT @IMANTUMORANG'S
EXPERTISE AND PLACE ON THE INTERNET.

Share Your Thoughts

About Author

Iman Tumorang HackerNoon profile picture
Iman Tumorang@imantumorang
Software Engineer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
L O A D I N G
. . . comments & more!