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

26 lines
350 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-np
namespace: whoami
spec:
type: NodePort
ports:
- nodePort: 30007
port: 80
targetPort: 80
selector:
app: whoami