<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Minikube%3A_Persistent_Volume</id>
	<title>Minikube: Persistent Volume - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Minikube%3A_Persistent_Volume"/>
	<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=Minikube:_Persistent_Volume&amp;action=history"/>
	<updated>2026-04-07T14:08:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.4</generator>
	<entry>
		<id>https://onnocenter.or.id/wiki/index.php?title=Minikube:_Persistent_Volume&amp;diff=68690&amp;oldid=prev</id>
		<title>Onnowpurbo: Created page with &quot;Sumber: https://minikube.sigs.k8s.io/docs/handbook/persistent_volumes/  Persistent Volumes About persistent volumes (hostPath) minikube supports PersistentVolumes of type host...&quot;</title>
		<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=Minikube:_Persistent_Volume&amp;diff=68690&amp;oldid=prev"/>
		<updated>2023-05-07T10:06:45Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Sumber: https://minikube.sigs.k8s.io/docs/handbook/persistent_volumes/  Persistent Volumes About persistent volumes (hostPath) minikube supports PersistentVolumes of type host...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Sumber: https://minikube.sigs.k8s.io/docs/handbook/persistent_volumes/&lt;br /&gt;
&lt;br /&gt;
Persistent Volumes&lt;br /&gt;
About persistent volumes (hostPath)&lt;br /&gt;
minikube supports PersistentVolumes of type hostPath out of the box. These PersistentVolumes are mapped to a directory inside the running minikube instance (usually a VM, unless you use --driver=none, --driver=docker, or --driver=podman). For more information on how this works, read the Dynamic Provisioning section below.&lt;br /&gt;
&lt;br /&gt;
A note on mounts, persistence, and minikube hosts&lt;br /&gt;
minikube is configured to persist files stored under the following directories, which are made in the Minikube VM (or on your localhost if running on bare metal). You may lose data from other directories on reboots.&lt;br /&gt;
&lt;br /&gt;
/data*&lt;br /&gt;
/var/lib/minikube&lt;br /&gt;
/var/lib/docker&lt;br /&gt;
/var/lib/containerd&lt;br /&gt;
/var/lib/buildkit&lt;br /&gt;
/var/lib/containers&lt;br /&gt;
/tmp/hostpath_pv*&lt;br /&gt;
/tmp/hostpath-provisioner*&lt;br /&gt;
* mount point for another directory, stored under /var or on a separate data disk&lt;br /&gt;
&lt;br /&gt;
Here is an example PersistentVolume config to persist data in the ‘/data’ directory:&lt;br /&gt;
&lt;br /&gt;
apiVersion: v1&lt;br /&gt;
kind: PersistentVolume&lt;br /&gt;
metadata:&lt;br /&gt;
  name: pv0001&lt;br /&gt;
spec:&lt;br /&gt;
  accessModes:&lt;br /&gt;
    - ReadWriteOnce&lt;br /&gt;
  capacity:&lt;br /&gt;
    storage: 5Gi&lt;br /&gt;
  hostPath:&lt;br /&gt;
    path: /data/pv0001/&lt;br /&gt;
You can also achieve persistence by creating a PV in a mounted host folder.&lt;br /&gt;
&lt;br /&gt;
Dynamic provisioning and CSI&lt;br /&gt;
In addition, minikube implements a very simple, canonical implementation of dynamic storage controller that runs alongside its deployment. This manages provisioning of hostPath volumes (rather then via the previous, in-tree hostPath provider).&lt;br /&gt;
&lt;br /&gt;
The default Storage Provisioner Controller is managed internally, in the minikube codebase, demonstrating how easy it is to plug a custom storage controller into kubernetes as a storage component of the system, and provides pods with dynamically, to test your pod’s behaviour when persistent storage is mapped to it.&lt;br /&gt;
&lt;br /&gt;
Note that this is not a CSI based storage provider, rather, it simply declares a PersistentVolume object of type hostpath dynamically when the controller see’s that there is an outstanding storage request.&lt;br /&gt;
&lt;br /&gt;
There is also CSI Hostpath Driver addon that enables dynamic provisioning and supports multi-node clusters as well as snapshots.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Referensi==&lt;br /&gt;
&lt;br /&gt;
* https://minikube.sigs.k8s.io/docs/handbook/persistent_volumes/&lt;br /&gt;
&lt;br /&gt;
==Pranala Menarik==&lt;br /&gt;
&lt;br /&gt;
* [[minikube]]&lt;/div&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
</feed>