37 lines
817 B
YAML
37 lines
817 B
YAML
|
---
|
||
|
kind: Deployment
|
||
|
apiVersion: apps/v1
|
||
|
metadata:
|
||
|
name: skooner
|
||
|
namespace: kube-system
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app.kubernetes.io/name: skooner
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app.kubernetes.io/name: skooner
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: skooner
|
||
|
image: ghcr.io/skooner-k8s/skooner:stable
|
||
|
ports:
|
||
|
- containerPort: 4654
|
||
|
livenessProbe:
|
||
|
httpGet:
|
||
|
scheme: HTTP
|
||
|
path: /
|
||
|
port: 4654
|
||
|
initialDelaySeconds: 30
|
||
|
timeoutSeconds: 30
|
||
|
resources:
|
||
|
requests:
|
||
|
cpu: 50m
|
||
|
memory: 50Mi
|
||
|
limits:
|
||
|
cpu: 100m
|
||
|
memory: 150Mi
|
||
|
nodeSelector:
|
||
|
kubernetes.io/arch: amd64
|