kind: Service
apiVersion: v1
metadata:
  name: python-rest-service
  namespace: staging
  labels:
    app: python-rest-service
    app.kubernetes.io/component: python-rest-service
    app.kubernetes.io/instance: python-rest-service
  annotations:
    openshift.io/generated-by: OpenShiftNewApp
spec:
  ports:
    - name: 8080-tcp
      protocol: TCP
      port: 8080
      targetPort: 8080
  type: ClusterIP
  selector:
    deployment: python-rest-service
