From 739e81e575a16fb51e3a913b4f6071cc8b78e126 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Mon, 5 Jun 2023 18:55:26 +0800 Subject: [PATCH] optimze config --- trainer-upgrade/mysql/mysql-axons.yaml | 6 ++++++ trainer-upgrade/mysql/mysql-drill.yaml | 5 +++++ trainer-upgrade/service_group/discover-service.yaml | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/trainer-upgrade/mysql/mysql-axons.yaml b/trainer-upgrade/mysql/mysql-axons.yaml index 4a15d92..4b35438 100644 --- a/trainer-upgrade/mysql/mysql-axons.yaml +++ b/trainer-upgrade/mysql/mysql-axons.yaml @@ -1,3 +1,9 @@ +--- +# configMap +# set global max_connections = 5000 +# set global wait_timeout = 600 + +--- apiVersion: v1 kind: ReplicationController metadata: diff --git a/trainer-upgrade/mysql/mysql-drill.yaml b/trainer-upgrade/mysql/mysql-drill.yaml index fbc7e34..908c007 100644 --- a/trainer-upgrade/mysql/mysql-drill.yaml +++ b/trainer-upgrade/mysql/mysql-drill.yaml @@ -1,3 +1,8 @@ +--- +# configMap +# set global max_connections = 5000 +# set global wait_timeout = 600 +--- apiVersion: v1 kind: ReplicationController metadata: diff --git a/trainer-upgrade/service_group/discover-service.yaml b/trainer-upgrade/service_group/discover-service.yaml index 08a019d..a5b59a8 100644 --- a/trainer-upgrade/service_group/discover-service.yaml +++ b/trainer-upgrade/service_group/discover-service.yaml @@ -97,7 +97,7 @@ spec: image: beaconfireiic/gateway:1.1.0 ports: - name: http - containerPort: 8761 + containerPort: 9090 protocol: TCP env: - name: "LOGGING_LEVEL_ROOT"