cnc-service/k8s/service.yaml

16 lines
260 B
YAML
Raw Normal View History

2020-07-17 16:31:49 +02:00
apiVersion: v1
kind: Service
metadata:
name: cnc-service
namespace: birbnetes
labels:
app: cnc-service
spec:
ports:
- name: cnc-service
port: 80
targetPort: 8080
protocol: TCP
selector:
app: cnc-service
type: ClusterIP