kubernetes service name revision
This commit is contained in:
@@ -5,19 +5,19 @@ metadata:
|
||||
|
||||
|
||||
---
|
||||
|
||||
# dns: whisper.wyoming.svc.cluster.local
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: wyoming-whisper
|
||||
name: whisper
|
||||
namespace: wyoming
|
||||
labels:
|
||||
app: wyoming-piper
|
||||
app: wyoming-whisper
|
||||
spec:
|
||||
selector:
|
||||
app: wyoming-piper
|
||||
app: wyoming-whisper
|
||||
ports:
|
||||
- name: tcp-piper
|
||||
- name: tcp-whisper
|
||||
protocol: TCP
|
||||
port: 10300
|
||||
targetPort: 10300
|
||||
@@ -60,7 +60,8 @@ spec:
|
||||
- "4"
|
||||
- --debug
|
||||
ports:
|
||||
- containerPort: 10300
|
||||
- name: tcp-whisper
|
||||
containerPort: 10300
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
@@ -81,10 +82,11 @@ spec:
|
||||
storage: 8Gi
|
||||
---
|
||||
|
||||
# dns: piper.wyoming.svc.cluster.local
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: wyoming-piper
|
||||
name: piper
|
||||
namespace: wyoming
|
||||
labels:
|
||||
app: wyoming-piper
|
||||
|
||||
Reference in New Issue
Block a user