update to git
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: silaras
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: silaras
|
||||
readinessProbe:
|
||||
failureThreshold: 3
|
||||
successThreshold: 1
|
||||
initialDelaySeconds: 10
|
||||
timeoutSeconds: 1
|
||||
periodSeconds: 10
|
||||
httpGet:
|
||||
scheme: HTTP
|
||||
port: 80
|
||||
path: /login
|
||||
livenessProbe:
|
||||
failureThreshold: 3
|
||||
successThreshold: 1
|
||||
initialDelaySeconds: 60
|
||||
timeoutSeconds: 1
|
||||
periodSeconds: 60
|
||||
httpGet:
|
||||
scheme: HTTP
|
||||
port: 80
|
||||
path: /login
|
||||
startupProbe:
|
||||
failureThreshold: 6
|
||||
successThreshold: 1
|
||||
initialDelaySeconds: 0
|
||||
timeoutSeconds: 1
|
||||
periodSeconds: 10
|
||||
httpGet:
|
||||
scheme: HTTP
|
||||
port: 80
|
||||
path: /login
|
||||
@@ -0,0 +1,16 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: silaras
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: silaras
|
||||
resources:
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 200Mi
|
||||
@@ -0,0 +1,11 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: silaras
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
volumes:
|
||||
- name: uploads
|
||||
persistentVolumeClaim:
|
||||
claimName: silaras
|
||||
@@ -0,0 +1,29 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: silaras
|
||||
labels:
|
||||
app: silaras
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: silaras
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: silaras
|
||||
spec:
|
||||
containers:
|
||||
- name: silaras
|
||||
image: git.rssa.top/ryan/silaras-rssa:20260810104233-main
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 80
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: silaras-config
|
||||
volumeMounts:
|
||||
- name: uploads
|
||||
mountPath: /var/www/html/writable/uploads
|
||||
@@ -0,0 +1,14 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- deployment.yaml
|
||||
- service.yaml
|
||||
- pvc.yaml
|
||||
patches:
|
||||
- path: deployment-volumes.yaml
|
||||
- path: deployment-resources.yaml
|
||||
- path: deployment-probes.yaml
|
||||
labels:
|
||||
- pairs:
|
||||
app: silaras
|
||||
includeSelectors: true
|
||||
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: silaras
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 8Gi
|
||||
storageClassName: nas-alletra
|
||||
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: silaras
|
||||
spec:
|
||||
selector:
|
||||
app: silaras
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: 80
|
||||
Reference in New Issue
Block a user