c0e29c622c
update yaml to current deployment manifest defaults and try for more pairity between kube-deploy.yml and k8s-specifications
17 lines
239 B
YAML
17 lines
239 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels:
|
|
app: result
|
|
name: result
|
|
namespace: vote
|
|
spec:
|
|
type: NodePort
|
|
ports:
|
|
- name: "result-service"
|
|
port: 5001
|
|
targetPort: 80
|
|
nodePort: 31001
|
|
selector:
|
|
app: result
|