apiVersion: v1
kind: Service
metadata:
  name: platformsnpservice-srv
  namespace: microservice-practice
spec:
  type: NodePort
  selector:
    app: platformservice
  ports:
    - name: platformservice
      protocol: TCP
      port: 80
      targetPort: 80