Skip to content

Commit

Permalink
update deepflow-agent configmap
Browse files Browse the repository at this point in the history
**Phenomenon and reproduction steps**

update deepflow-agent configmap

**Root cause and solution**

**Impactions**

**Test method**

**Affected branch(es)**

* main

**Checklist**

- [ ] Dependencies update required
- [ ] Common bug (similar problem in other repo)
  • Loading branch information
宋 建昌 committed Aug 17, 2022
1 parent 8c5ae70 commit 0a7fa07
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/deepflow-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: An automated observability platform for cloud-native developers.
name: deepflow-agent
engine: gotpl
type: application
version: 0.1.012
version: 0.1.013
appVersion: "6.1.1"
kubeVersion: ">=1.16.0-0"
sources:
Expand Down
12 changes: 7 additions & 5 deletions charts/deepflow-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,20 @@ service:

deepflowServerNodeIPS:
- deepflow-server
deepflowK8sClusterID:
deepflowK8sClusterID:
agentGroupID:
controllerPort:
## This command takes effect when agent-group-config external_agent_http_proxy_enabled=1 is configured using deepflow-ctl
## Set the port to the agent-group-config port
externalAgentHttpProxyPort: 38086

deepflowAgentConfig:
deepflow-agent.yaml: |
controller-ips:
{{- tpl (toYaml $.Values.deepflowServerNodeIPS ) .| nindent 4 }}
{{ if .Values.agentGroupID }}vtap-group-id-request: {{ .Values.agentGroupID }}{{ end }}
{{ if .Values.deepflowK8sClusterID }}kubernetes-cluster-id: {{ .Values.deepflowK8sClusterID }}{{ end }}
{{- nindent 4 "controller-ips:" -}}
{{- tpl (toYaml $.Values.deepflowServerNodeIPS ) .| nindent 4 -}}
{{- if .Values.agentGroupID }}{{ nindent 4 "vtap-group-id-request:" }} {{ .Values.agentGroupID }}{{ end -}}
{{- if .Values.deepflowK8sClusterID }}{{ nindent 4 "kubernetes-cluster-id:" }} {{ .Values.deepflowK8sClusterID }}{{ end -}}
{{- if .Values.controllerPort }}{{ nindent 4 "controller-port:" }} {{ .Values.controllerPort }}{{ end -}}
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
Expand Down
2 changes: 1 addition & 1 deletion charts/deepflow/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: An automated observability platform for cloud-native developers.
name: deepflow
engine: gotpl
type: application
version: 0.1.012
version: 0.1.013
appVersion: "6.1.1"
kubeVersion: ">=1.16.0-0"
sources:
Expand Down

0 comments on commit 0a7fa07

Please sign in to comment.