1
This commit is contained in:
parent
333ac06b0f
commit
5246c4f088
@ -3,7 +3,7 @@ kind: Service
|
|||||||
metadata:
|
metadata:
|
||||||
name: mysql-service-lb
|
name: mysql-service-lb
|
||||||
spec:
|
spec:
|
||||||
type: NodePort
|
type: LoadBalancer
|
||||||
ports:
|
ports:
|
||||||
- port: 53306
|
- port: 53306
|
||||||
targetPort: 3306
|
targetPort: 3306
|
||||||
|
|||||||
@ -3,7 +3,7 @@ kind: Service
|
|||||||
metadata:
|
metadata:
|
||||||
name: redis-service-lb
|
name: redis-service-lb
|
||||||
spec:
|
spec:
|
||||||
type: NodePort # 或者 NodePort
|
type: LoadBalancer # LoadBalancer 或者 NodePort
|
||||||
ports:
|
ports:
|
||||||
- port: 56379
|
- port: 56379
|
||||||
targetPort: 6379
|
targetPort: 6379
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user