Add Kubernetes and Argo CD deployment manifests

This commit is contained in:
Georgi Manchev
2026-09-29 02:02:14 +03:00
parent 9eee55162d
commit 81772adc59
6 changed files with 141 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: hiyv
namespace: hiyv
labels:
app.kubernetes.io/name: hiyv
spec:
replicas: 2
selector:
matchLabels:
app.kubernetes.io/name: hiyv
template:
metadata:
labels:
app.kubernetes.io/name: hiyv
spec:
containers:
- name: hiyv
image: git.mancheff.com/hiyv-demo/hiyv-nginx:1.0.3
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 80
protocol: TCP
readinessProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 2
periodSeconds: 10
livenessProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 5
periodSeconds: 30
resources:
requests:
cpu: 25m
memory: 32Mi
limits:
cpu: 250m
memory: 128Mi