Files
Add-API/k8s/deployment.yaml
2025-10-05 21:30:24 +02:00

32 lines
477 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: go-api
labels:
app: go-api
spec:
replicas: 2
selector:
matchLabels:
app: go-api
template:
metadata:
labels:
app: go-api
spec:
imagePullSecrets:
- name: gitea-regcred
containers:
- name: go-api
image: git.petyaserver.uk/zomborip/go-api:latest
imagePullPolicy: Always
ports:
- containerPort: 8080