argocd-test/whoami/whoami-svc.yaml

40 lines
563 B
YAML
Raw Normal View History

2024-09-19 17:59:02 +00:00
apiVersion: v1
kind: Service
metadata:
name: whoami-nodeport
namespace: whoami
2024-09-19 17:59:02 +00:00
spec:
type: NodePort
ports:
- port: 80
targetPort: 80
nodePort: 31338
selector:
app: whoami
---
apiVersion: v1
kind: Service
metadata:
name: whoami-loadbalancer
namespace: whoami
spec:
type: LoadBalancer
ports:
- port: 80
targetPort: 80
selector:
app: whoami
2024-09-22 09:52:27 +00:00
---
apiVersion: v1
kind: Service
metadata:
name: whoami-traefik
namespace: whoami
spec:
ports:
- name: web
port: 80
targetPort: 80
selector:
app: whoami