++ proctmp ephemeral storage
This commit is contained in:
parent
bb7e7eaba0
commit
ee836c60f4
@ -10,7 +10,7 @@ spec:
|
|||||||
backend:
|
backend:
|
||||||
image:
|
image:
|
||||||
name:
|
name:
|
||||||
_default: cr.yandex/crp3ccidau046kdj8g9q/workflows-engine:contour_8a50dd85
|
_default: cr.yandex/crp3ccidau046kdj8g9q/workflows-engine:contour_0b38b80b
|
||||||
deployment:
|
deployment:
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
|||||||
@ -32,12 +32,18 @@ patches:
|
|||||||
- op: add
|
- op: add
|
||||||
path: /spec/values/services/backend/envs/-
|
path: /spec/values/services/backend/envs/-
|
||||||
value:
|
value:
|
||||||
name: JOB_TMP_HOST_PATH
|
name: JOB_TMP_STORAGE_CLASS
|
||||||
value:
|
value:
|
||||||
_default: "/mnt/proctmp"
|
_default: "proctmp"
|
||||||
- op: add
|
- op: add
|
||||||
path: /spec/values/services/backend/envs/-
|
path: /spec/values/services/backend/envs/-
|
||||||
value:
|
value:
|
||||||
name: JOB_TMP_HOST_PATH_IMAGE
|
name: JOB_TMP_IMAGE
|
||||||
value:
|
value:
|
||||||
_default: "e57-to-las"
|
_default: "e57-to-las"
|
||||||
|
- op: add
|
||||||
|
path: /spec/values/services/backend/envs/-
|
||||||
|
value:
|
||||||
|
name: JOB_TMP_STORAGE_SIZE
|
||||||
|
value:
|
||||||
|
_default: "350Gi"
|
||||||
|
|||||||
@ -20,6 +20,7 @@ resources:
|
|||||||
- ../../infrastructure/opentelemetry-collector/uralkal
|
- ../../infrastructure/opentelemetry-collector/uralkal
|
||||||
- ../../infrastructure/security-audit/uralkal
|
- ../../infrastructure/security-audit/uralkal
|
||||||
- ../../infrastructure/vmstack/uralkal
|
- ../../infrastructure/vmstack/uralkal
|
||||||
|
- ../../infrastructure/local-path-provisioner/uralkal
|
||||||
|
|
||||||
- ../../apps/reviews/uralkal
|
- ../../apps/reviews/uralkal
|
||||||
- ../../apps/remarks/uralkal
|
- ../../apps/remarks/uralkal
|
||||||
|
|||||||
@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../base
|
||||||
|
patches:
|
||||||
|
- path: local-path-provisioner.yaml
|
||||||
|
target:
|
||||||
|
kind: HelmRelease
|
||||||
|
name: local-path-provisioner
|
||||||
|
- target:
|
||||||
|
kind: HelmRelease
|
||||||
|
name: local-path-provisioner
|
||||||
|
patch: |-
|
||||||
|
- op: replace
|
||||||
|
path: /metadata/name
|
||||||
|
value: proctmp-provisioner
|
||||||
@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: proctmp-provisioner
|
||||||
|
namespace: local-path-provisioner
|
||||||
|
spec:
|
||||||
|
values:
|
||||||
|
fullnameOverride: proctmp-provisioner
|
||||||
|
storageClass:
|
||||||
|
create: true
|
||||||
|
defaultClass: false
|
||||||
|
name: proctmp
|
||||||
|
provisionerName: cluster.local/proctmp-provisioner
|
||||||
|
reclaimPolicy: Delete
|
||||||
|
nodePathMap:
|
||||||
|
- node: glp-sarex-proc1
|
||||||
|
paths:
|
||||||
|
- /mnt/proctmp
|
||||||
|
- node: glp-sarex-proc2
|
||||||
|
paths:
|
||||||
|
- /mnt/proctmp
|
||||||
|
configmap:
|
||||||
|
name: proctmp-config
|
||||||
|
setup: |-
|
||||||
|
set -eu
|
||||||
|
mkdir -m 0777 -p "$VOL_DIR"
|
||||||
|
teardown: |-
|
||||||
|
set -eu
|
||||||
|
rm -rf "$VOL_DIR"
|
||||||
Loading…
Reference in New Issue
Block a user