ci: update hello-world app files

This commit is contained in:
Ansible
2026-09-22 16:15:27 +02:00
commit 73b9a2d815
6 changed files with 245 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-world
namespace: hello-world
spec:
replicas: 2
selector:
matchLabels:
app: hello-world
template:
metadata:
labels:
app: hello-world
spec:
imagePullSecrets:
- name: harbor-pull-secret
containers:
- name: hello-world
image: harbor.knapp-world.app.ariki.ai/knapp-world/hello-world:latest
ports:
- containerPort: 80
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 100m
memory: 128Mi
readinessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 5
periodSeconds: 5
+23
View File
@@ -0,0 +1,23 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: hello-world
namespace: hello-world
spec:
ingressClassName: nginx
tls:
- hosts:
- hello-world.knapp-world.app.ariki.ai
secretName: hello-world-tls
rules:
- host: hello-world.knapp-world.app.ariki.ai
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: hello-world
port:
number: 80
+11
View File
@@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: hello-world
namespace: hello-world
spec:
selector:
app: hello-world
ports:
- port: 80
targetPort: 80