new: add web-check raw manifests

This commit is contained in:
2024-08-15 15:19:42 +00:00
parent 36e720bf4a
commit ac2dee8d06
4 changed files with 67 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: web-check
namespace: web-check
labels:
name: web-check
spec:
selector:
matchLabels:
app: web-check
template:
metadata:
labels:
app: web-check
spec:
containers:
- name: web-check
image: lissy93/web-check:1.0.0
resources:
limits:
memory: "256Mi"
cpu: "0.5"
ports:
- containerPort: 3000

View File

@@ -0,0 +1,20 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: web-check
namespace: web-check
labels:
name: web-check
spec:
rules:
- host: web-check.k8s.morthimer.fr
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: web-check
port:
number: 80

View File

@@ -0,0 +1,7 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: web-check
labels:
name: web-check

View File

@@ -0,0 +1,14 @@
---
apiVersion: v1
kind: Service
metadata:
name: web-check
namespace: web-check
labels:
name: web-check
spec:
selector:
app: web-check
ports:
- port: 80
targetPort: 3000