Files
hello-world/deployment.yaml
gitea_admin fdfd1aff04
All checks were successful
ci/woodpecker/push/pipeline Pipeline was successful
Actualiser deployment.yaml
2026-04-01 18:47:46 +00:00

23 lines
480 B
YAML

# deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-k3s
spec:
replicas: 1
selector:
matchLabels:
app: hello-k3s
template:
spec:
imagePullSecrets:
- name: gitea-registry-secret
metadata:
labels:
app: hello-k3s
spec:
containers:
- name: node-app
image: node:18-alpine
command: ["node", "-e", "require('http').createServer((req,res) => res.end('Hello K3s!')).listen(3000)"]