ci: shared PersistentVolumeClaim on /a (#7283)
* ci: shared PersistentVolumeClaim on /a * ci: Increase storage request, add comment
This commit is contained in:
parent
8872e31e30
commit
46e521ea9a
|
@ -1,5 +1,19 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: "datatracker-shared-volume-claim"
|
||||||
|
# Note: This is the /a shared volume. The spec should be adjusted to ensure it always
|
||||||
|
# matches the correct EBS volume in production. For the moment, it just requests a
|
||||||
|
# large volume.
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany # or ReadWriteOnce and force datatracker/celery/beat to a single node
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 600Gi # adjust to something satisfied by the /a PersistentVolume
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: "rabbitmq-data-claim"
|
name: "rabbitmq-data-claim"
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -129,12 +129,16 @@ datatracker:
|
||||||
- name: settings-local-volume
|
- name: settings-local-volume
|
||||||
configMap:
|
configMap:
|
||||||
name: django-configmap
|
name: django-configmap
|
||||||
- name: cache-volume
|
- name: datatracker-shared-volume
|
||||||
emptyDir:
|
persistentVolumeClaim:
|
||||||
sizeLimit: 1Gi
|
claimName: "datatracker-shared-volume-claim"
|
||||||
- name: staging-volume
|
# cache-volume and staging-volume are a hack to create paths for debugging without a /a volume
|
||||||
emptyDir:
|
# - name: cache-volume
|
||||||
sizeLimit: 1Gi
|
# emptyDir:
|
||||||
|
# sizeLimit: 1Gi
|
||||||
|
# - name: staging-volume
|
||||||
|
# emptyDir:
|
||||||
|
# sizeLimit: 1Gi
|
||||||
# - name: foo
|
# - name: foo
|
||||||
# secret:
|
# secret:
|
||||||
# secretName: mysecret
|
# secretName: mysecret
|
||||||
|
@ -146,10 +150,13 @@ datatracker:
|
||||||
mountPath: /workspace/ietf/settings_local.py
|
mountPath: /workspace/ietf/settings_local.py
|
||||||
subPath: settings_local.py
|
subPath: settings_local.py
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: cache-volume
|
- name: datatracker-shared-volume
|
||||||
mountPath: "/a/cache"
|
mountPath: /a
|
||||||
- name: staging-volume
|
# cache-volume and staging-volume are a hack to create paths for debugging without a /a volume
|
||||||
mountPath: "/test/staging"
|
# - name: cache-volume
|
||||||
|
# mountPath: "/a/cache"
|
||||||
|
# - name: staging-volume
|
||||||
|
# mountPath: "/test/staging"
|
||||||
# - name: foo
|
# - name: foo
|
||||||
# mountPath: "/etc/foo"
|
# mountPath: "/etc/foo"
|
||||||
# readOnly: true
|
# readOnly: true
|
||||||
|
@ -240,12 +247,16 @@ celery:
|
||||||
- name: settings-local-volume
|
- name: settings-local-volume
|
||||||
configMap:
|
configMap:
|
||||||
name: django-configmap
|
name: django-configmap
|
||||||
- name: cache-volume
|
- name: datatracker-shared-volume
|
||||||
emptyDir:
|
persistentVolumeClaim:
|
||||||
sizeLimit: 1Gi
|
claimName: "datatracker-shared-volume-claim"
|
||||||
- name: staging-volume
|
# cache-volume and staging-volume are a hack to create paths for debugging without a /a volume
|
||||||
emptyDir:
|
# - name: cache-volume
|
||||||
sizeLimit: 1Gi
|
# emptyDir:
|
||||||
|
# sizeLimit: 1Gi
|
||||||
|
# - name: staging-volume
|
||||||
|
# emptyDir:
|
||||||
|
# sizeLimit: 1Gi
|
||||||
# - name: foo
|
# - name: foo
|
||||||
# secret:
|
# secret:
|
||||||
# secretName: mysecret
|
# secretName: mysecret
|
||||||
|
@ -257,10 +268,13 @@ celery:
|
||||||
mountPath: /workspace/ietf/settings_local.py
|
mountPath: /workspace/ietf/settings_local.py
|
||||||
subPath: settings_local.py
|
subPath: settings_local.py
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: cache-volume
|
- name: datatracker-shared-volume
|
||||||
mountPath: "/a/cache"
|
mountPath: /a
|
||||||
- name: staging-volume
|
# cache-volume and staging-volume are a hack to create paths for debugging without a /a volume
|
||||||
mountPath: "/test/staging"
|
# - name: cache-volume
|
||||||
|
# mountPath: "/a/cache"
|
||||||
|
# - name: staging-volume
|
||||||
|
# mountPath: "/test/staging"
|
||||||
# - name: foo
|
# - name: foo
|
||||||
# mountPath: "/etc/foo"
|
# mountPath: "/etc/foo"
|
||||||
# readOnly: true
|
# readOnly: true
|
||||||
|
@ -351,12 +365,16 @@ beat:
|
||||||
- name: settings-local-volume
|
- name: settings-local-volume
|
||||||
configMap:
|
configMap:
|
||||||
name: django-configmap
|
name: django-configmap
|
||||||
- name: cache-volume
|
- name: datatracker-shared-volume
|
||||||
emptyDir:
|
persistentVolumeClaim:
|
||||||
sizeLimit: 1Gi
|
claimName: "datatracker-shared-volume-claim"
|
||||||
- name: staging-volume
|
# cache-volume and staging-volume are a hack to create paths for debugging without a /a volume
|
||||||
emptyDir:
|
# - name: cache-volume
|
||||||
sizeLimit: 1Gi
|
# emptyDir:
|
||||||
|
# sizeLimit: 1Gi
|
||||||
|
# - name: staging-volume
|
||||||
|
# emptyDir:
|
||||||
|
# sizeLimit: 1Gi
|
||||||
# - name: foo
|
# - name: foo
|
||||||
# secret:
|
# secret:
|
||||||
# secretName: mysecret
|
# secretName: mysecret
|
||||||
|
@ -368,10 +386,13 @@ beat:
|
||||||
mountPath: /workspace/ietf/settings_local.py
|
mountPath: /workspace/ietf/settings_local.py
|
||||||
subPath: settings_local.py
|
subPath: settings_local.py
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: cache-volume
|
- name: datatracker-shared-volume
|
||||||
mountPath: "/a/cache"
|
mountPath: /a
|
||||||
- name: staging-volume
|
# cache-volume and staging-volume are a hack to create paths for debugging without a /a volume
|
||||||
mountPath: "/test/staging"
|
# - name: cache-volume
|
||||||
|
# mountPath: "/a/cache"
|
||||||
|
# - name: staging-volume
|
||||||
|
# mountPath: "/test/staging"
|
||||||
# - name: foo
|
# - name: foo
|
||||||
# mountPath: "/etc/foo"
|
# mountPath: "/etc/foo"
|
||||||
# readOnly: true
|
# readOnly: true
|
||||||
|
|
Loading…
Reference in a new issue