test traefik nodeport
This commit is contained in:
parent
64f117878b
commit
33d3feda03
@ -9,3 +9,45 @@ spec:
|
||||
targetPort: web
|
||||
selector:
|
||||
app: whoami
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: whoami-np
|
||||
namespace: whoami
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
- nodePort: 30007
|
||||
port: 80
|
||||
targetPort: 80
|
||||
selector:
|
||||
app: whoami
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: traefik-np
|
||||
namespace: traefik
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
- nodePort: 30010
|
||||
port: 80
|
||||
targetPort: 80
|
||||
selector:
|
||||
app: traefik
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: traefik-npssl
|
||||
namespace: whoami
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
- nodePort: 30011
|
||||
port: 443
|
||||
targetPort: 443
|
||||
selector:
|
||||
app: traefik
|
||||
|
Loading…
Reference in New Issue
Block a user