initial commit
Change-Id: Ia748646eaf5c18f44eb5b147ff577d0d5ee844e8
This commit is contained in:
16
k8s-specifications/vote-service.yaml
Normal file
16
k8s-specifications/vote-service.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: vote
|
||||
name: vote
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
- name: "vote-service"
|
||||
port: 8080
|
||||
targetPort: 80
|
||||
nodePort: 31000
|
||||
selector:
|
||||
app: vote
|
||||
|
||||
Reference in New Issue
Block a user