20 lines
301 B
YAML
20 lines
301 B
YAML
|
|
apiVersion: v1
|
||
|
|
kind: Service
|
||
|
|
metadata:
|
||
|
|
name: ruoyi-nacos
|
||
|
|
namespace: ruoyi
|
||
|
|
spec:
|
||
|
|
ports:
|
||
|
|
- port: 8848
|
||
|
|
targetPort: 8848
|
||
|
|
name: http
|
||
|
|
- port: 9848
|
||
|
|
targetPort: 9848
|
||
|
|
name: client-rpc
|
||
|
|
- port: 9849
|
||
|
|
targetPort: 9849
|
||
|
|
name: raft-rpc
|
||
|
|
selector:
|
||
|
|
app: nacos
|
||
|
|
clusterIP: None
|