
apiVersion: v1
kind: Service
metadata:
  name: edfi-admin-app
spec: # defines the behavior of a service
  type: NodePort # determines how the Service is exposed
  selector: # route service traffic to pods with label keys and values matching this selector
    app: edfi-admin-app
  ports:
  - port: 80 # port that will be exposed by this service
    targetPort: 80 # port to access on the pods targeted by the servic
    protocol: TCP
    name: http
