apiVersion: v1 kind: Service metadata: name: coal-api spec: selector: app: coal-api ports: - protocol: TCP port: 7456 targetPort: 7456 type: ClusterIP