Skip to content

Commit

Permalink
DEV-49511 [collectorset-controller] Allow user to select existing Col…
Browse files Browse the repository at this point in the history
…lector Groups for K8s Monitoring
  • Loading branch information
jeremy committed Mar 4, 2019
1 parent f4d036d commit 8382dde
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions argus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ $ helm upgrade \
--set imageTag="$IMAGE_TAG" \
--set collector.replicas="$COLLECTOR_REPLICAS" \
--set collector.size="$COLLECTOR_SIZE" \
--set collector.groupID="$COLLECTOR_GROUP_ID" \
--set collector.escalationChainID="$COLLECTOR_ESCALATION_CHAIN_ID" \
--set collector.version="$COLLECTOR_VERSION" \
--set collector.useEA="$COLLECTOR_USE_EA" \
Expand Down Expand Up @@ -44,6 +45,7 @@ Optional Values:
- **imagePullPolicy (default: `"Always"`):**
- **imageRepository (default: `"logicmonitor/argus"`):** The respository to use for the Argus docker image.
- **imageTag:** The argus container image tag to use.
- **collector.groupID:** The ID of the group of the collectors.
- **collector.escalationChainID:** The ID of the escalation chain of the collectors.
- **collector.version:** The version of the collectors.
- **collector.useEA:** On a collector downloading event, either download the latest EA version or the latest GD version.
5 changes: 4 additions & 1 deletion argus/templates/collectorset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ spec:
orchestrator: Kubernetes
replicas: {{ required "A valid .Values.collector.replicas entry is required!" .Values.collector.replicas }}
size: {{ required "A valid .Values.collector.size entry is required!" .Values.collector.size }}
groupName: {{ required "A valid .Values.clusterName entry is required!" .Values.clusterName }}
clusterName: {{ required "A valid .Values.clusterName entry is required!" .Values.clusterName }}
{{- if .Values.collector.groupID }}
groupID: {{ .Values.collector.groupID }}
{{- end }}
{{- if .Values.collector.escalationChainID }}
escalationChainID: {{ .Values.collector.escalationChainID }}
{{- end }}
Expand Down

0 comments on commit 8382dde

Please sign in to comment.