mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 09:59:43 +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:
|
||||
selector:
|
||||
app: mariadb
|
||||
externalTrafficPolicy: Local
|
||||
ports:
|
||||
- name: mysql
|
||||
protocol: TCP
|
||||
|
|
|
|||
Loading…
Reference in a new issue