aria: scaffold k8s/deployment.yml
This commit is contained in:
parent
bcb2b07a52
commit
07f2d02405
46
k8s/deployment.yml
Normal file
46
k8s/deployment.yml
Normal file
@ -0,0 +1,46 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: dolphinsite
|
||||
namespace: aria-projects
|
||||
labels:
|
||||
app: dolphinsite
|
||||
managed-by: aria
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: dolphinsite
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: dolphinsite
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: gitea-registry
|
||||
containers:
|
||||
- name: dolphinsite
|
||||
image: git.arthurbarre.fr/ordinarthur/dolphinsite:latest
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 80
|
||||
name: http
|
||||
resources:
|
||||
requests:
|
||||
cpu: "10m"
|
||||
memory: "16Mi"
|
||||
limits:
|
||||
cpu: "100m"
|
||||
memory: "64Mi"
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 80
|
||||
initialDelaySeconds: 2
|
||||
periodSeconds: 5
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 80
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 15
|
||||
Loading…
x
Reference in New Issue
Block a user