This commit is contained in:
Nico Schottelius 2022-08-16 06:56:52 +02:00
parent 65749d5ddc
commit 7366060170
2 changed files with 3 additions and 33 deletions

View file

@ -58,33 +58,3 @@ spec:
name: nginx-test-service name: nginx-test-service
port: port:
number: 80 number: 80
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: example-ingress2
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
ingressClassName: nginx
rules:
- host: nicht.ge.nau.so
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: nginx-test-service
port:
number: 80
- host: 2022-07-18-2.cdn.hjk.li
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: nginx-test-service
port:
number: 80

View file

@ -1,10 +1,10 @@
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
name: ungleich-hardware-server117 name: ungleich-hardware-server119-2
spec: spec:
containers: containers:
- name: ungleich-hardware-server117 - name: ungleich-hardware-server119
image: ungleich/ungleich-hardware:0.0.5 image: ungleich/ungleich-hardware:0.0.5
args: args:
- sleep - sleep
@ -15,7 +15,7 @@ spec:
securityContext: securityContext:
privileged: true privileged: true
nodeSelector: nodeSelector:
kubernetes.io/hostname: "server117" kubernetes.io/hostname: "server119"
volumes: volumes:
- name: dev - name: dev