Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
Streaming Server
Commits
505500cb
Unverified
Commit
505500cb
authored
Jul 21, 2020
by
Sebastian Schüpbach
Browse files
change name of persistent volume
parent
e3ae9ed3
Pipeline
#11833
passed with stages
in 4 minutes and 20 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
k8s-manifests/helper-deployment.yml
0 → 100644
View file @
505500cb
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
image-helper-deployment
namespace
:
memobase
labels
:
app
:
imageserver-app
spec
:
selector
:
matchLabels
:
app
:
imageserver-app
replicas
:
1
template
:
metadata
:
labels
:
app
:
imageserver-app
tier
:
web
spec
:
containers
:
-
name
:
image-helper-container
image
:
nginx
imagePullPolicy
:
Always
volumeMounts
:
-
name
:
av-volume
mountPath
:
/data/
volumes
:
-
name
:
av-volume
persistentVolumeClaim
:
claimName
:
av-volume-claim
k8s-manifests/a
v
-volume-claim.yml
→
k8s-manifests/
medi
a-volume-claim.yml
View file @
505500cb
...
...
@@ -2,7 +2,7 @@ apiVersion: v1
kind
:
PersistentVolumeClaim
metadata
:
namespace
:
memobase
name
:
a
v
-volume-claim
name
:
medi
a-volume-claim
labels
:
app
:
mediaserver-app
spec
:
...
...
@@ -10,6 +10,6 @@ spec:
-
ReadWriteMany
resources
:
requests
:
storage
:
20
Gi
storage
:
1024
Gi
storageClassName
:
csi-cephfs
volumeMode
:
Filesystem
k8s-manifests/mediaserver-deployment.yml
View file @
505500cb
...
...
@@ -31,16 +31,16 @@ spec:
protocol
:
TCP
imagePullPolicy
:
Always
volumeMounts
:
-
name
:
a
v
-volume
-
name
:
medi
a-volume
mountPath
:
/data
-
name
:
config
mountPath
:
/app/configs
command
:
[
"
/app/app"
,
"
-cfg"
,
"
/app/configs/memostream.toml"
]
restartPolicy
:
Always
volumes
:
-
name
:
a
v
-volume
-
name
:
medi
a-volume
persistentVolumeClaim
:
claimName
:
a
v
-volume-claim
claimName
:
medi
a-volume-claim
-
name
:
config
configMap
:
name
:
mediaserver-config
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment