Skip to content

Commit

Permalink
add minikube setup files
Browse files Browse the repository at this point in the history
  • Loading branch information
J1e9n9n1y authored Oct 16, 2023
1 parent b032b83 commit 9611e8d
Show file tree
Hide file tree
Showing 3 changed files with 274 additions and 0 deletions.
11 changes: 11 additions & 0 deletions minikube/minikube-namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: v1
kind: Namespace
metadata:
name: neo4j-namespace

---
apiVersion: v1
kind: Namespace
metadata:
name: neo4j-backup

134 changes: 134 additions & 0 deletions minikube/minikube-persistentVolume.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: neo4j4-neo4j-plugins
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 500Mi
accessModes:
- ReadWriteOnce
hostPath:
path: "/minikube/data/neo4j4-neo4j-plugins"
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: neo4j4-neo4j-data
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 500Mi
accessModes:
- ReadWriteOnce
hostPath:
path: "/minikube/data/neo4j4-neo4j-data"
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: neo4j4-neo4j-backup
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 500Mi
accessModes:
- ReadWriteOnce
hostPath:
path: "/minikube/data/neo4j4-neo4j-backup"
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: neo4j5-neo4j-plugins
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 500Mi
accessModes:
- ReadWriteOnce
hostPath:
path: "/minikube/data/neo4j5-neo4j-plugins"
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: neo4j5-neo4j-data
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 500Mi
accessModes:
- ReadWriteOnce
hostPath:
path: "/minikube/data/neo4j5-neo4j-data"
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: neo4j5-neo4j-backup
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 500Mi
accessModes:
- ReadWriteOnce
hostPath:
path: "/minikube/data/neo4j5-neo4j-backup"
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: neo4j5-backup-neo4j-plugins
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 500Mi
accessModes:
- ReadWriteOnce
hostPath:
path: "/minikube/data/neo4j5-backup-neo4j-plugins"
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: neo4j5-backup-neo4j-data
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 500Mi
accessModes:
- ReadWriteOnce
hostPath:
path: "/minikube/data/neo4j5-backup-neo4j-data"
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: neo4j5-backup-neo4j-backup
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 500Mi
accessModes:
- ReadWriteOnce
hostPath:
path: "/minikube/data/neo4j5-backup-neo4j-backup"
129 changes: 129 additions & 0 deletions minikube/minikube-persistentVolumeClaim.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: neo4j4-neo4j-plugins
namespace: neo4j-namespace
spec:
storageClassName: manual
volumeName: neo4j4-neo4j-plugins
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 500Mi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: neo4j4-neo4j-data
namespace: neo4j-namespace
spec:
storageClassName: manual
volumeName: neo4j4-neo4j-data
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 500Mi

---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: neo4j4-neo4j-backup
namespace: neo4j-namespace
spec:
storageClassName: manual
volumeName: neo4j4-neo4j-backup
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 500Mi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: neo4j5-neo4j-plugins
namespace: neo4j-namespace
spec:
storageClassName: manual
volumeName: neo4j5-neo4j-plugins
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 500Mi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: neo4j5-neo4j-data
namespace: neo4j-namespace
spec:
storageClassName: manual
volumeName: neo4j5-neo4j-data
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 500Mi

---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: neo4j5-neo4j-backup
namespace: neo4j-namespace
spec:
storageClassName: manual
volumeName: neo4j5-neo4j-backup
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 500Mi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: neo4j5-backup-neo4j-plugins
namespace: neo4j-backup
spec:
storageClassName: manual
volumeName: neo4j5-backup-neo4j-plugins
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 500Mi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: neo4j5-backup-neo4j-data
namespace: neo4j-backup
spec:
storageClassName: manual
volumeName: neo4j5-backup-neo4j-data
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 500Mi

---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: neo4j5-backup-neo4j-backup
namespace: neo4j-backup
spec:
storageClassName: manual
volumeName: neo4j5-backup-neo4j-backup
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 500Mi

0 comments on commit 9611e8d

Please sign in to comment.