Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzhiguo committed Oct 22, 2024
1 parent c725497 commit 4f72a28
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 15 deletions.
2 changes: 2 additions & 0 deletions deploy/all-cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ data:
governance:
initializeTimeout: ${CONFIG_POLICY_INITIALIZE_TIMEOUT:10000}
service:
serviceGroups: ${CONFIG_SERVICE_GROUPS:}
serviceGroupOpen: ${CONFIG_SERVICE_GROUP_OPEN:true}
warmups: ${CONFIG_WARMUP_SERVICES:}
systemPaths: ${CONFIG_SYSTEM_HTTP_PATHS}
concurrencyLimiter:
Expand Down
2 changes: 1 addition & 1 deletion deploy/joylive-injector/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.3.1
version: 1.3.2

keywords:
- joylive
Expand Down
1 change: 1 addition & 0 deletions deploy/joylive-injector/README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
因证书签名已按照命名空间为`joylive`预生成,所以须指定安装到对应命名空间。 执行命令:
```bash
helm repo add joylive https://jd-opensource.github.io/joylive-helm-charts
helm repo update
kubectl create namespace joylive
helm install joylive-injector joylive/joylive-injector -n joylive
```
1 change: 1 addition & 0 deletions deploy/joylive-injector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ This program monitors the `CREATE`, `UPDATE`, `DELETE` events for `deployments`
Since the certificate signature has been pre-generated according to the namespace `joylive`, it is necessary to specify installation to the corresponding namespace. Execute the command:
```bash
helm repo add joylive https://jd-opensource.github.io/joylive-helm-charts
helm repo update
kubectl create namespace joylive
helm install joylive-injector joylive/joylive-injector -n joylive
```
10 changes: 6 additions & 4 deletions deploy/joylive-injector/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ agent:
profile: null
sync:
liveSpace:
type: ${CONFIG_LIVE_SPACE_API_TYPE:{{ .Values.sync.liveSpace.type }}} # [file,multilive]
url: ${CONFIG_LIVE_SPACE_API_URL:{{ .Values.sync.liveSpace.url }}}
type: ${CONFIG_LIVE_SPACE_API_TYPE:{{ .Values.agent.sync.liveSpace.type }}} # [file,multilive]
url: ${CONFIG_LIVE_SPACE_API_URL:{{ .Values.agent.sync.liveSpace.url }}}
#spacesUrl: ${CONFIG_LIVE_SPACE_API_URL}/workspaces
#spaceUrl: ${CONFIG_LIVE_SPACE_API_URL}/workspaces/${space_id}/version/${space_version}
#serviceUrl: ${CONFIG_LIVE_SPACE_API_URL}/services/${service_name}/version/${service_version}
Expand All @@ -71,8 +71,8 @@ agent:
laneSpace:
type: file
microservice:
type: ${CONFIG_SERVICE_API_TYPE:{{ .Values.sync.microservice.type }}}
url: ${CONFIG_SERVICE_API_URL:{{ .Values.sync.microservice.url }}}
type: ${CONFIG_SERVICE_API_TYPE:{{ .Values.agent.sync.microservice.type }}}
url: ${CONFIG_SERVICE_API_URL:{{ .Values.agent.sync.microservice.url }}}
headers: ${CONFIG_SERVICE_API_HEADERS}
interval: 5000
timeout: 3000
Expand Down Expand Up @@ -118,6 +118,8 @@ agent:
governance:
initializeTimeout: ${CONFIG_POLICY_INITIALIZE_TIMEOUT:10000}
service:
serviceGroups: ${CONFIG_SERVICE_GROUPS:}
serviceGroupOpen: ${CONFIG_SERVICE_GROUP_OPEN:true}
warmups: ${CONFIG_WARMUP_SERVICES:}
systemPaths: ${CONFIG_SYSTEM_HTTP_PATHS}
concurrencyLimiter:
Expand Down
4 changes: 2 additions & 2 deletions deploy/joylive-injector/config/injector.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Define the version, environment variables, and other information of joylive-injector injecting joylive-agent
agent:
image: ghcr.m.daocloud.io/jd-opensource/joylive-agent
version: v1.3.3
image: {{ .Values.agent.image.repository }}
version: {{ .Values.agent.image.tag }}
env:
JAVA_TOOL_OPTIONS: -javaagent:/joylive/live.jar
20 changes: 12 additions & 8 deletions deploy/joylive-injector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,18 @@ serviceAccount:
create: true
name: joylive-injector

sync:
liveSpace:
type: file
url: http://api.live.local:9090/v1
headers: ${CONFIG_LIVE_SPACE_API_HEADERS}
microservice:
type: file
url: http://api.jmsf.local:8080/v1
agent:
image:
repository: ghcr.m.daocloud.io/jd-opensource/joylive-agent
tag: v1.3.3
sync:
liveSpace:
type: file
url: http://api.live.local:9090/v1
headers: ${CONFIG_LIVE_SPACE_API_HEADERS}
microservice:
type: file
url: http://api.jmsf.local:8080/v1

#caBundle: $ {CA_BUNDLE}
caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUdKRENDQkF5Z0F3SUJBZ0lVU3VsRVQxWGhqSk5jeDJBdFVCa3ZtSlBBNDRJd0RRWUpLb1pJaHZjTkFRRU4KQlFBd2dha3hDekFKQmdOVkJBWVRBa05PTVJBd0RnWURWUVFJRXdkQ1pXbHFhVzVuTVJBd0RnWURWUVFIRXdkQwpaV2xxYVc1bk1TSXdJQVlEVlFRS0V4bEVlVzVoYldsaklFRmtiV2x6YzJsdmJpQkRiMjUwY205c01Tc3dLUVlEClZRUUxFeUpFZVc1aGJXbGpJRUZrYldsemMybHZiaUJEYjI1MGNtOXNJRk5sWTNWeWFYUjVNU1V3SXdZRFZRUUQKRXh4RWVXNWhiV2xqSUVGa2JXbHpjMmx2YmlCRGIyNTBjbTlzSUVOQk1CNFhEVEkwTURZeE1qQTRNekV3TUZvWApEVE0wTURZeE1EQTRNekV3TUZvd2dha3hDekFKQmdOVkJBWVRBa05PTVJBd0RnWURWUVFJRXdkQ1pXbHFhVzVuCk1SQXdEZ1lEVlFRSEV3ZENaV2xxYVc1bk1TSXdJQVlEVlFRS0V4bEVlVzVoYldsaklFRmtiV2x6YzJ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bUdyQWFNU1ZhWnYvL3dzVzBFanJsdFVPcXI5NkJkNXllOFFXRmdlV21EUlVvUgpWMlZZZWhRelVOT1NaN0VZeU5NckxlWXJXcXBSeXgxaDRNV2kzem5XNVBqNEZjTGhaTWd0blE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
Expand Down
Binary file added deploy/packages/joylive-injector-1.3.2.tgz
Binary file not shown.

0 comments on commit 4f72a28

Please sign in to comment.