Agregando cambios de la configuracion de Flux.

This commit is contained in:
2025-06-05 23:26:58 +00:00
parent 9165db12dd
commit 3a35a7f691
2 changed files with 23 additions and 12 deletions

View File

@ -27,6 +27,11 @@ spec:
selector:
matchLabels:
app: vscode
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 1
maxSurge: 0
template:
metadata:
labels:
@ -44,22 +49,22 @@ spec:
resources:
requests:
memory: 2Gi
cpu: 1
cpu: '1'
limits:
memory: 4Gi
cpu: 2
cpu: '2'
volumeMounts:
- name: nfs-vol
mountPath: /home/aleleba/projects
- name: nvm-script
mountPath: /usr/bin/custom-scripts/01-nvm.sh
subPath: 01-nvm.sh
readOnly: true
# - name: nvm-script
# mountPath: /usr/bin/custom-scripts/01-nvm.sh
# subPath: 01-nvm.sh
# readOnly: true
volumes:
- name: nfs-vol
persistentVolumeClaim:
claimName: pvc-nfs-synology
- name: nvm-script
configMap:
name: nvm-install-script
defaultMode: 0555
# - name: nvm-script
# configMap:
# name: nvm-install-script
# defaultMode: 0555