add rssa apps to git
This commit is contained in:
No files matched your search
@@ -0,0 +1,39 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: qris-jatim
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: qris-jatim
|
||||
readinessProbe:
|
||||
failureThreshold: 3
|
||||
successThreshold: 1
|
||||
initialDelaySeconds: 10
|
||||
timeoutSeconds: 1
|
||||
periodSeconds: 10
|
||||
httpGet:
|
||||
scheme: HTTP
|
||||
port: 3000
|
||||
path: /
|
||||
livenessProbe:
|
||||
failureThreshold: 3
|
||||
successThreshold: 1
|
||||
initialDelaySeconds: 60
|
||||
timeoutSeconds: 1
|
||||
periodSeconds: 60
|
||||
httpGet:
|
||||
scheme: HTTP
|
||||
port: 3000
|
||||
path: /
|
||||
startupProbe:
|
||||
failureThreshold: 6
|
||||
successThreshold: 1
|
||||
initialDelaySeconds: 120 #0
|
||||
timeoutSeconds: 1
|
||||
periodSeconds: 10
|
||||
httpGet:
|
||||
scheme: HTTP
|
||||
port: 3000
|
||||
path: /
|
||||
@@ -0,0 +1,17 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: qris-jatim
|
||||
spec:
|
||||
# replicas: 1
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: qris-jatim
|
||||
resources:
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 200Mi
|
||||
@@ -0,0 +1,13 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: qris-jatim
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
volumes:
|
||||
- name: vol-qris-media
|
||||
nfs:
|
||||
server: nas-rx300.rssa
|
||||
path: /export/qris/media
|
||||
readOnly: false
|
||||
@@ -0,0 +1,28 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: qris-jatim
|
||||
labels:
|
||||
app: qris-jatim
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: qris-jatim
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: qris-jatim
|
||||
spec:
|
||||
containers:
|
||||
- name: qris-jatim
|
||||
image: git.rssa.top/effendy/qris_bank_jatim:20251212093005-main
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: qris-jatim-env
|
||||
volumeMounts:
|
||||
- mountPath: "/app/public/content"
|
||||
name: vol-qris-media
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
# kustomization.yaml
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- deployment.yaml
|
||||
- service.yaml
|
||||
|
||||
patches:
|
||||
- path: deployment-resources.yaml
|
||||
- path: deployment-probes.yaml
|
||||
- path: deployment-volumes.yaml
|
||||
|
||||
commonLabels:
|
||||
app: qris-jatim
|
||||
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: qris-jatim
|
||||
spec:
|
||||
selector:
|
||||
app: qris-jatim
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: 3000
|
||||
Reference in New Issue
Block a user