argocd-test/whoami/base/whoami-svc.yaml
2024-09-23 20:30:08 +02:00

39 lines
531 B
YAML

apiVersion: v1
kind: Service
metadata:
name: whoami
spec:
ports:
- name: web
port: 80
targetPort: web
selector:
app: whoami
---
apiVersion: v1
kind: Service
metadata:
name: whoami-traefik
namespace: whoami
spec:
ports:
- name: web
port: 80
targetPort: 80
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