new: add web-check raw manifests
This commit is contained in:
26
web-check/web-check-deploy.yaml
Normal file
26
web-check/web-check-deploy.yaml
Normal 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
|
||||
20
web-check/web-check-ing.yaml
Normal file
20
web-check/web-check-ing.yaml
Normal 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
|
||||
7
web-check/web-check-ns.yaml
Normal file
7
web-check/web-check-ns.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: web-check
|
||||
labels:
|
||||
name: web-check
|
||||
14
web-check/web-check-svc.yaml
Normal file
14
web-check/web-check-svc.yaml
Normal 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
|
||||
Reference in New Issue
Block a user