configure longhorn for pvc
All checks were successful
Mirror to GitHub / mirror (push) Successful in 8s
All checks were successful
Mirror to GitHub / mirror (push) Successful in 8s
This commit is contained in:
@@ -4,7 +4,7 @@ metadata:
|
|||||||
name: ptp-chat
|
name: ptp-chat
|
||||||
namespace: ptp-chat
|
namespace: ptp-chat
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: ptp-chat
|
||||||
source:
|
source:
|
||||||
repoURL: https://gitea.controller.bittehackmichnicht.de/argocd/kubernetes-config.git
|
repoURL: https://gitea.controller.bittehackmichnicht.de/argocd/kubernetes-config.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: ptp-chat-backend
|
- name: ptp-chat-backend
|
||||||
image: gitea.controller.bittehackmichnicht.de/apps/ptpchat-frontend/ptp-chat-backend:latest
|
image: gitea.controller.bittehackmichnicht.de/apps/ptpchat-backend/ptp-chat-backend:latest
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
|
|||||||
@@ -7,10 +7,10 @@ metadata:
|
|||||||
namespace: ptp-chat
|
namespace: ptp-chat
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteMany
|
- ReadWriteOnce
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 2Gi
|
storage: 1Gi
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
|
|||||||
@@ -41,28 +41,3 @@ spec:
|
|||||||
target:
|
target:
|
||||||
type: Utilization
|
type: Utilization
|
||||||
averageUtilization: 70
|
averageUtilization: 70
|
||||||
---
|
|
||||||
apiVersion: autoscaling/v2
|
|
||||||
kind: HorizontalPodAutoscaler
|
|
||||||
metadata:
|
|
||||||
name: ptp-chat-db-hpa
|
|
||||||
spec:
|
|
||||||
scaleTargetRef:
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
name: ptp-chat-db
|
|
||||||
minReplicas: 1
|
|
||||||
maxReplicas: 5
|
|
||||||
metrics:
|
|
||||||
- type: Resource
|
|
||||||
resource:
|
|
||||||
name: cpu
|
|
||||||
target:
|
|
||||||
type: Utilization
|
|
||||||
averageUtilization: 70
|
|
||||||
- type: Resource
|
|
||||||
resource:
|
|
||||||
name: memory
|
|
||||||
target:
|
|
||||||
type: Utilization
|
|
||||||
averageUtilization: 70
|
|
||||||
Reference in New Issue
Block a user