seed: devroadmap-demo — self-hosted CI loop
Some checks failed
build-and-deploy / build-deploy (push) Failing after 49s
Some checks failed
build-and-deploy / build-deploy (push) Failing after 49s
This commit is contained in:
commit
04461a10e5
7 changed files with 213 additions and 0 deletions
34
deploy/deployment.yaml
Normal file
34
deploy/deployment.yaml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: devroadmap-demo
|
||||
spec:
|
||||
replicas: 1
|
||||
template:
|
||||
spec:
|
||||
nodeSelector:
|
||||
kubernetes.io/arch: arm64 # image built native arm64 on the runner
|
||||
containers:
|
||||
- name: web
|
||||
image: harbor.devroadmap.ru/homelab/devroadmap-demo:bootstrap
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 80
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
initialDelaySeconds: 3
|
||||
periodSeconds: 10
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: http
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 20
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 16Mi
|
||||
limits:
|
||||
memory: 64Mi
|
||||
Loading…
Add table
Add a link
Reference in a new issue