Skip to content

Commit

Permalink
Add configcenter config
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzhiguo committed Jan 15, 2025
1 parent 4cc5855 commit e550122
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
13 changes: 13 additions & 0 deletions deploy/all-cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,8 @@ data:
enabled: ${CONFIG_FLOW_CONTROL_ENABLED:false}
localhost: ${CONFIG_LOCALHOST_ENABLED:false}
virtual: ${CONFIG_VIRTUAL_ENABLED:false}
configcenter:
enabled: ${CONFIG_CENTER_ENABLED:false}
protect:
enabled: ${CONFIG_PROTECT_ENABLED:false}
mariadb: true
Expand Down Expand Up @@ -337,6 +339,8 @@ data:
phevos:
groupExpression: ${unit}-${cell}-${group}
transmission:
type: ${CONFIG_TRANSMISSION_TYPE:live}
autoDetect: ${CONFIG_TRANSMISSION_AUTO_DETECT:NONE}
keys:
- x-live-space-id
- x-live-rule-id
Expand Down Expand Up @@ -416,6 +420,15 @@ data:
- com.alibaba.nacos.common.utils.ThreadFactoryBuilder$$Lambda$
- org.apache.catalina.core.ContainerBase$
- org.apache.catalina.core.StandardServer$$Lambda$
configcenter:
type: nacos
address: ${CONFIG_CENTER_ADDRESS:${NACOS_CONFIG_EXTERNAL_ADDRESS}:${NACOS_CONFIG_EXTERNAL_HTTP_PORT}}
username: ${CONFIG_CENTER_USERNAME:${NACOS_CONFIG_USERNAME:nacos}}
password: ${CONFIG_CENTER_PASSWORD:${NACOS_CONFIG_PASSWORD:nacos}}
name:
namespace: ${CONFIG_CENTER_NAMESPACE:public}
name: ${CONFIG_CENTER_NAME:${APPLICATION_NAME}}
profile: ${CONFIG_CENTER_PROFILE:DEFAULT_GROUP}
counter:
gateway: true
service: true
Expand Down
11 changes: 11 additions & 0 deletions deploy/joylive-injector/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ agent:
enabled: ${CONFIG_FLOW_CONTROL_ENABLED:{{ .Values.agent.switch.flowcontrol }}}
localhost: ${CONFIG_LOCALHOST_ENABLED:false}
virtual: ${CONFIG_VIRTUAL_ENABLED:false}
configcenter:
enabled: ${CONFIG_CENTER_ENABLED:{{ .Values.agent.switch.configcenter }}}
protect:
enabled: ${CONFIG_PROTECT_ENABLED:false}
mariadb: true
Expand Down Expand Up @@ -288,6 +290,15 @@ agent:
- com.alibaba.nacos.common.utils.ThreadFactoryBuilder$$Lambda$
- org.apache.catalina.core.ContainerBase$
- org.apache.catalina.core.StandardServer$$Lambda$
configcenter:
type: nacos
address: ${CONFIG_CENTER_ADDRESS:${NACOS_CONFIG_EXTERNAL_ADDRESS}:${NACOS_CONFIG_EXTERNAL_HTTP_PORT}}
username: ${CONFIG_CENTER_USERNAME:${NACOS_CONFIG_USERNAME:nacos}}
password: ${CONFIG_CENTER_PASSWORD:${NACOS_CONFIG_PASSWORD:nacos}}
name:
namespace: ${CONFIG_CENTER_NAMESPACE:public}
name: ${CONFIG_CENTER_NAME:${APPLICATION_NAME}}
profile: ${CONFIG_CENTER_PROFILE:DEFAULT_GROUP}
counter:
gateway: true
service: true
Expand Down
1 change: 1 addition & 0 deletions deploy/joylive-injector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ agent:
live: false
lane: false
flowcontrol: false
configcenter: false

otel:
replicas: 2
Expand Down
Binary file modified deploy/packages/joylive-injector-1.3.6.tgz
Binary file not shown.

0 comments on commit e550122

Please sign in to comment.