Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
d1b31071
Commit
d1b31071
authored
4 years ago
by
Björn Vonheiden
Browse files
Options
Downloads
Patches
Plain Diff
add yaml for adding local persistent volume in kubernetes
parent
ca39299d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!59
Further Configuration Options for Kafka Streams
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
execution/infrastructure/kubernetes/volumeCluster.yaml
+42
-0
42 additions, 0 deletions
execution/infrastructure/kubernetes/volumeCluster.yaml
execution/infrastructure/kubernetes/volumeSingle.yaml
+1
-1
1 addition, 1 deletion
execution/infrastructure/kubernetes/volumeSingle.yaml
with
43 additions
and
1 deletion
execution/infrastructure/kubernetes/volumeCluster.yaml
0 → 100644
+
42
−
0
View file @
d1b31071
apiVersion
:
v1
kind
:
PersistentVolume
metadata
:
name
:
theodolite-pv-volume
spec
:
capacity
:
storage
:
1Gi
volumeMode
:
Filesystem
accessModes
:
-
ReadWriteOnce
persistentVolumeReclaimPolicy
:
Delete
storageClassName
:
local-storage
local
:
path
:
</your/path/to/results/folder>
nodeAffinity
:
required
:
nodeSelectorTerms
:
-
matchExpressions
:
-
key
:
kubernetes.io/hostname
operator
:
In
values
:
-
<node-name>
---
# https://kubernetes.io/docs/concepts/storage/storage-classes/#local
apiVersion
:
storage.k8s.io/v1
kind
:
StorageClass
metadata
:
name
:
local-storage
provisioner
:
kubernetes.io/no-provisioner
volumeBindingMode
:
WaitForFirstConsumer
---
apiVersion
:
v1
kind
:
PersistentVolumeClaim
metadata
:
name
:
theodolite-pv-claim
spec
:
storageClassName
:
local-storage
accessModes
:
-
ReadWriteOnce
resources
:
requests
:
storage
:
1Gi
This diff is collapsed.
Click to expand it.
execution/infrastructure/kubernetes/volume.yaml
→
execution/infrastructure/kubernetes/volume
Single
.yaml
+
1
−
1
View file @
d1b31071
...
...
@@ -11,7 +11,7 @@ spec:
accessModes
:
-
ReadWriteOnce
hostPath
:
path
:
"
</your/path/to/results/folder>
"
path
:
</your/path/to/results/folder>
---
apiVersion
:
v1
kind
:
PersistentVolumeClaim
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment