argocd-test/whoami/base/whoami-svc.yaml

54 lines
758 B
YAML
Raw Permalink Normal View History

2024-09-19 17:59:02 +00:00
apiVersion: v1
kind: Service
metadata:
2024-09-22 11:12:27 +00:00
name: whoami
2024-09-19 17:59:02 +00:00
spec:
ports:
2024-09-22 11:37:14 +00:00
- name: web
port: 80
targetPort: web
2024-09-19 17:59:02 +00:00
selector:
app: whoami
2024-10-13 15:28:23 +00:00
---
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