+hostnetwork test

Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
This commit is contained in:
Nico Schottelius 2022-09-18 17:55:35 +02:00
parent fa5e3c38ad
commit 324dee6850
3 changed files with 22 additions and 3 deletions

9
generic/hostnetwork.yaml Normal file
View File

@ -0,0 +1,9 @@
apiVersion: v1
kind: Pod
metadata:
name: influxdb
spec:
hostNetwork: true
containers:
- name: influxdb
image: influxdb

View File

@ -38,7 +38,17 @@ metadata:
spec:
ingressClassName: nginx
rules:
- host: 2022-08-01.cdn.hjk.li
- host: big.cdn.hjk.li
http:
paths:
- path: /(images|videos)/.*
pathType: Prefix
backend:
service:
name: nginx-test-service
port:
number: 80
- host: dynamic.cdn.hjk.li
http:
paths:
- path: /
@ -78,7 +88,7 @@ spec:
name: nginx-test-service
port:
number: 80
- host: 2022-08-02.cdnv4.hjk.li
- host: "*.cdnv4.hjk.li"
http:
paths:
- path: /

View File

@ -6,7 +6,7 @@ spec:
selector:
matchLabels:
app: nginx
replicas: 6
replicas: 2
template:
metadata:
labels: