Agregando cambios al deployment.
This commit is contained in:
13
clusters/cluster/vscode-tunnel-kustomization.yaml
Normal file
13
clusters/cluster/vscode-tunnel-kustomization.yaml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: vscode-tunnel
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 1m0s
|
||||||
|
path: ./infrastructure
|
||||||
|
prune: true
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: flux-system
|
@ -44,22 +44,22 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
cpu: 1
|
cpu: '1'
|
||||||
limits:
|
limits:
|
||||||
memory: 4Gi
|
memory: 4Gi
|
||||||
cpu: 2
|
cpu: '2'
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: nfs-vol
|
- name: nfs-vol
|
||||||
mountPath: /home/aleleba/projects
|
mountPath: /home/aleleba/projects
|
||||||
- name: nvm-script
|
# - name: nvm-script
|
||||||
mountPath: /usr/bin/custom-scripts/01-nvm.sh
|
# mountPath: /usr/bin/custom-scripts/01-nvm.sh
|
||||||
subPath: 01-nvm.sh
|
# subPath: 01-nvm.sh
|
||||||
readOnly: true
|
# readOnly: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: nfs-vol
|
- name: nfs-vol
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: pvc-nfs-synology
|
claimName: pvc-nfs-synology
|
||||||
- name: nvm-script
|
# - name: nvm-script
|
||||||
configMap:
|
# configMap:
|
||||||
name: nvm-install-script
|
# name: nvm-install-script
|
||||||
defaultMode: 0555
|
# defaultMode: 0555
|
||||||
|
Reference in New Issue
Block a user