apps/snips/resources/service.yaml

17 lines
270 B
YAML
Raw Permalink Normal View History

2024-03-06 21:11:07 +00:00
---
apiVersion: v1
kind: Service
metadata:
name: snips
spec:
selector:
app.kubernetes.io/name: snips
ports:
- name: http
protocol: TCP
port: 8080
targetPort: 8080
- name: ssh
protocol: TCP
port: 2222
targetPort: 2222