mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 18:09:44 +00:00
mysql: set externalTrafficPolicy to Local for external service to track client IPs
This commit is contained in:
parent
ebb958b531
commit
66b942bfd3
1 changed files with 1 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: mariadb
|
app: mariadb
|
||||||
|
externalTrafficPolicy: Local
|
||||||
ports:
|
ports:
|
||||||
- name: mysql
|
- name: mysql
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue