remove duplicate
This commit is contained in:
parent
5b3845163f
commit
cb8ecc3245
|
@ -1,71 +0,0 @@
|
||||||
kind: Ingress
|
|
||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
metadata:
|
|
||||||
name: whoami
|
|
||||||
annotations:
|
|
||||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
||||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
||||||
cert-manager.io/cluster-issuer: letsencrypt
|
|
||||||
spec:
|
|
||||||
tls:
|
|
||||||
- hosts:
|
|
||||||
- whoami.steinhobelgruen.de
|
|
||||||
secretName: whoami.steinhobelgruen.de-tls
|
|
||||||
rules:
|
|
||||||
- host: whoami.steinhobelgruen.de
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- backend:
|
|
||||||
service:
|
|
||||||
name: whoami
|
|
||||||
port:
|
|
||||||
number: 80
|
|
||||||
path: /bar
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
- backend:
|
|
||||||
service:
|
|
||||||
name: whoami
|
|
||||||
port:
|
|
||||||
number: 80
|
|
||||||
path: /foo
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: Deployment
|
|
||||||
apiVersion: apps/v1
|
|
||||||
metadata:
|
|
||||||
name: whoami
|
|
||||||
labels:
|
|
||||||
app: containous
|
|
||||||
name: whoami
|
|
||||||
|
|
||||||
spec:
|
|
||||||
replicas: 2
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: containous
|
|
||||||
task: whoami
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: containous
|
|
||||||
task: whoami
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: containouswhoami
|
|
||||||
image: containous/whoami
|
|
||||||
ports:
|
|
||||||
- containerPort: 80
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: whoami
|
|
||||||
|
|
||||||
spec:
|
|
||||||
ports:
|
|
||||||
- name: http
|
|
||||||
port: 80
|
|
||||||
selector:
|
|
||||||
app: containous
|
|
||||||
task: whoami
|
|
Loading…
Reference in a new issue