# Kubernetes Manifest file to create a Hyperledger core-vm-endpoint service
# Date : 28-10-2016
# Version 0.3
# Author : James Buckett (james.buckett@au1.ibm.com)
# Commissioned by ANZ Bank under direction of Ben Smillie (Ben.Smillie@anz.com)

apiVersion: v1
kind: Service
# A Kubernetes Service is an abstraction which defines a logical set of Pods and a policy by which to access them - sometimes called a micro-service.

metadata:
  # Hyperledger Validating Peer Service Definition 
  name: svc-core-vm-endpoint
  namespace: hyperledger-06

spec:

  ports:
    # 2375: Docker Listening Port
    - name : docker-port
      port: 2375
      targetPort: 2375
      protocol: TCP
