Merge pull request 'deploy whoami test server' (#47) from orion/auto/deploy-whoami-test-server-1779024941578 into main

Reviewed-on: #47
This commit was merged in pull request #47.
This commit is contained in:
2026-05-17 13:37:04 +00:00
3 changed files with 60 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: whoami
namespace: apps
labels:
app: whoami
spec:
replicas: 1
selector:
matchLabels:
app: whoami
template:
metadata:
labels:
app: whoami
spec:
containers:
- name: whoami
image: traefik/whoami:latest
ports:
- containerPort: 80
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 200m
memory: 128Mi
+18
View File
@@ -0,0 +1,18 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: whoami
namespace: apps
spec:
ingressClassName: traefik
rules:
- host: whoami.khalisio.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: whoami
port:
name: http
+13
View File
@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: whoami
namespace: apps
spec:
selector:
app: whoami
ports:
- name: http
port: 80
targetPort: 80
type: ClusterIP