Some checks failed
CD - Deploy Infrastructure / Terraform Validation (push) Successful in 17s
CD - Deploy Infrastructure / Deploy on pve1 (push) Successful in 2m12s
CD - Deploy Infrastructure / Deploy on pve2 (push) Successful in 2m11s
CD - Deploy Infrastructure / Deploy on pve3 (push) Successful in 2m28s
CD - Deploy Infrastructure / Validate K3s Cluster (push) Successful in 5m3s
CD - Deploy Infrastructure / Deployment Notification (push) Failing after 1s
- Passage stockage local-nvme pour acemagician et elitedesk (40G) - Token K3S partagé via cloud-init pour cluster HA - Configuration FluxCD avec GitRepository Forgejo - Déploiement Hello World via FluxCD - Manifestes Kubernetes pour application demo
37 lines
788 B
YAML
37 lines
788 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: hello-world
|
|
namespace: demo
|
|
spec:
|
|
replicas: 3
|
|
selector:
|
|
matchLabels:
|
|
app: hello-world
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: hello-world
|
|
spec:
|
|
containers:
|
|
- name: hello-world
|
|
image: bashofmann/rancher-demo:1.0.0
|
|
imagePullPolicy: Always
|
|
resources:
|
|
requests:
|
|
memory: "12Mi"
|
|
cpu: "2m"
|
|
ports:
|
|
- containerPort: 8080
|
|
name: web
|
|
env:
|
|
- name: COW_COLOR
|
|
value: purple
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: web
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: web
|