benchmark-service/k8s/service.yml

16 lines
284 B
YAML
Raw Normal View History

2020-10-21 01:35:29 +02:00
apiVersion: v1
kind: Service
metadata:
name: benchmark-service
namespace: birbnetes
labels:
app: benchmark-service
spec:
ports:
- name: benchmark-service
port: 80
targetPort: 8080
protocol: TCP
selector:
app: benchmark-service
type: ClusterIP