All checks were successful
ci/woodpecker/push/pipeline Pipeline was successful
23 lines
480 B
YAML
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)"]
|