Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release argus 2.0.0 rc #113

Merged
merged 66 commits into from
Mar 22, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
22d5f51
feat(update-github-urls): Updated github URLs to use latest.
lmshubhashri Apr 16, 2021
5d62d59
feat(argus metrics): expose Argus metrics endpoint
pranay-lonkar-logicmonitor Apr 19, 2021
4e22aa4
DEV-70950: Adding helm-chart for lmotel
khyatigandhi0612 Apr 19, 2021
411bbcb
DEV-70950: Review comments changes
khyatigandhi0612 Apr 19, 2021
dba3457
DEV-70950: Generated lmotel chart
khyatigandhi0612 Apr 21, 2021
e78d7da
DEV-70950: Adding all charts and index.yaml
khyatigandhi0612 Apr 21, 2021
ea346c5
Merge pull request #77 in DEV/k8s-helm-charts from DEV-70950-kubernet…
khyatigandhi0612 Apr 22, 2021
390e3a4
feat(device-group-props): change the name for events log collection p…
Apr 27, 2021
56154d0
Merge pull request #81 in DEV/k8s-helm-charts from DEV-75709-lmotel-i…
anubhavsingh101 Apr 29, 2021
88010cd
feat(rbac): rbac apiVersion template
pranay-lonkar-logicmonitor Apr 30, 2021
2c3854c
Change selector label for lmotel service.
anubhavsingh101 May 5, 2021
18337f4
Change docker repository for lmotel image
anubhavsingh101 May 5, 2021
9d7ec80
feat(lmotel): release lmotel 1.0.0
lmvaibhavk May 10, 2021
bf78b69
feat(release 5.1.1): Updated helm charts for Argus 5.1.1 release
lmshubhashri May 12, 2021
5b9999b
feat(clusterrole): resources permission for collector
pranay-lonkar-logicmonitor May 25, 2021
5201544
feat(argus): argus performance improvement changes
lmvaibhavk May 26, 2021
5978f58
fix(argus metrics): null pointer fix in argus helm chart
pranay-lonkar-logicmonitor Jun 7, 2021
582572f
Added ingress for lmotel
lm-akshay-modi Jun 23, 2021
624c8d2
Added annotations key
lm-akshay-modi Jun 23, 2021
77e1661
feat(argus): add new config parameters to modify by users
lmvaibhavk Jul 2, 2021
ed24b12
Refactored code for ingress resource
lm-akshay-modi Jul 6, 2021
bec2df7
feat(argus): parallel runner hidden params in config map
lmvaibhavk Jul 7, 2021
bb3b3b7
Merge pull request #91 in DEV/k8s-helm-charts from TECHOPS-42906-trac…
lm-akshay-modi Jul 7, 2021
7c501e5
fix(argus): remove configmap volumes
lmvaibhavk Jul 22, 2021
451c95e
feat(argus): release v6 beta version
lmvaibhavk Jul 28, 2021
adc5050
feat(lm-logs/mem config): tune buffer memory for fluentd
Jul 30, 2021
ddbd00c
feat(statefulset): change deployment to statefulset for reconciliation
anubhavsingh101 Aug 2, 2021
c74d375
feat(statefulset): change deployment to statefulset for reconciliation
anubhavsingh101 Aug 3, 2021
ece4f24
feat(lmlogs): mark version devel
lmvaibhavk Aug 5, 2021
84e059d
Pull request #101: Separate ingress for http and grpc
lm-akshay-modi Aug 16, 2021
d887f91
fix(init-rg): set disable alerting as provided by user
lmvaibhavk Aug 17, 2021
c41cd79
fix(argus): quote telemetry job cron string
lmvaibhavk Aug 18, 2021
49f0ff7
fix(lmotel): DEV-82087 External configuration via Helm
anubhavsingh101 Aug 23, 2021
80fa3ff
feature(lmotel): Fix DEV-81197 Version info as input for container mo…
anubhavsingh101 Aug 24, 2021
0723db0
fix(new-resource-monitoring): disable new resources till we don't cer…
lmvaibhavk Aug 26, 2021
6acd552
Pull request #106: ingress apiverion change
lm-akshay-modi Aug 26, 2021
7ee318c
fix(argus): change case and remove duplicate entry
lmvaibhavk Aug 30, 2021
9a2b518
feat(argus): externalise pod resource limits
lmvaibhavk Sep 6, 2021
61bb0b3
feat(argus): argus beta3 & reverse sync github repo
lmvaibhavk Sep 7, 2021
6839612
feat(argus): release 1.0.0 for v6
lmvaibhavk Sep 14, 2021
b3d2ee4
feat(version-update)- Collectorset object version update to v1alpha2
lmshubhashri Sep 16, 2021
1b00f08
feature(lmotel): Simplify external config helm command
anubhavsingh101 Sep 28, 2021
2768a6a
feat(discovery): disabled discovery for newly added resources
rohitphataklm Sep 29, 2021
3c59ff2
feat: update new ports
khyatigandhi0612 Oct 4, 2021
5363225
feat(rbac): added permissions in rbac
rohitphataklm Oct 11, 2021
d29b0a3
DEV-86578 changes
gagansingh355 Oct 27, 2021
d26d52e
Pull request #118: DEV-86578 changes
gagansingh355 Oct 28, 2021
95918ef
feat(argus): delete argus infra pods after param
lmvaibhavk Nov 1, 2021
4676a7e
feat(permission): removed permission for new resources
rohitphataklm Nov 12, 2021
82bb7ea
fix(release-6-1-0): Charts for argus release 6-1-0
lmshubhashri Nov 23, 2021
031bfe5
fix(permissions): removed resources from disabledresourcemonitoring
rohitphataklm Nov 30, 2021
fe68735
feat(ksm): added ksm in argus helm chart
rohitphataklm Jan 18, 2022
ae3f1e1
feat: add new resources in discovery filtering configuration
lmshubhashri Feb 2, 2022
d8387c6
Release argus charts 1.2.0
lmshubhashri Feb 2, 2022
7c49b42
feat: release argus 1.2.0 charts
lmshubhashri Feb 7, 2022
fab499c
Merge branch 'develop' into release/release-1.2.0
lmshubhashri Feb 8, 2022
a0e2c88
Corrected filters config
lmshubhashri Feb 8, 2022
e1a45b8
Pull request #127: Corrected filters config
lmshubhashri Feb 17, 2022
fea953b
perf(csc-rl): accept explicit resource limits for csc pod if any
lmvaibhavk Feb 28, 2022
cfd8fdb
feat(csc): accept explicit resource limits on csc pod
lmvaibhavk Mar 2, 2022
e10c0fd
fix(repo): sync repo
lmvaibhavk Mar 3, 2022
4ee567a
fix(repo): sync repo
lmvaibhavk Mar 3, 2022
8faf7f3
feat(new-tree): enable-new-resource-tree
lmshubhashri Mar 10, 2022
2872e2b
feat: removed enableNewResourceTree param in configuration file
lmshubhashri Mar 16, 2022
be5dd2a
feat: removed reference for 1.3.0-devel charts
lmshubhashri Mar 21, 2022
17bfead
Merge remote-tracking branch 'stash/develop' into release-argus-2.0.0-rc
lmshubhashri Mar 22, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(argus): add new config parameters to modify by users
enable preview mode for new resource group tree
generic filter to exclude resource using lm.monitor=disable label

Squashed commit of the following:

commit d734fdd222387c963f50886917d5f90bf8fd5a4e
Author: Vaibhav Kumbhar <vaibhav.kumbhar@logicmonitor.com>
Date:   Tue Jun 29 15:06:46 2021 +0530

    dev-vk: rebuilt

commit 161e1d0699685ff8700638825a1e291e787408a5
Author: Vaibhav Kumbhar <vaibhav.kumbhar@logicmonitor.com>
Date:   Tue Jun 29 12:17:23 2021 +0530

    dev-vk: something

commit 491d25ba924c1d3987e778b0ed27cf6a77dd32ff
Author: Vaibhav Kumbhar <vaibhav.kumbhar@logicmonitor.com>
Date:   Thu Jun 24 21:57:54 2021 +0530

    dev-vk: cache sync to 1h

commit 778e40a790d48f3ba6a596075f4798e551cddb84
Author: Vaibhav Kumbhar <vaibhav.kumbhar@logicmonitor.com>
Date:   Thu Jun 24 21:19:50 2021 +0530

    dev-vk: something

commit fed7e7e4355f9b8dd3c5be900d13319915d54785
Author: Vaibhav Kumbhar <vaibhav.kumbhar@logicmonitor.com>
Date:   Wed Jun 23 15:48:47 2021 +0530

    dev-vk: something

commit 5e287b114376416164dd13ff36e2d5fb1d609bdd
Author: Vaibhav Kumbhar <vaibhav.kumbhar@logicmonitor.com>
Date:   Wed Jun 23 15:48:26 2021 +0530

    dev-vk: something
  • Loading branch information
lmvaibhavk committed Jul 2, 2021
commit 77e16612fa403d21fc9c5d2b7401a52ea17b3451
16 changes: 8 additions & 8 deletions argus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ Required Values:
- **accessID (default: `""`):** The LogicMonitor API key ID.
- **accessKey (default: `""`):** The LogicMonitor API key.
- **account (default: `""`):** The LogicMonitor account name.
- **clusterName (default: `""`):** A unique name given to the cluster's device group.
- **clusterName (default: `""`):** A unique name given to the cluster's resource group.
- **debug (default: `false`):** To enable verbose logging at debug level.
- **deleteDevices (default: `true`):** On a delete event, either delete from LogicMonitor or move the device to the `_deleted` device group.
- **deleteDevices (default: `true`):** On a delete event, either delete from LogicMonitor or move the resource to the `_deleted` resource group.
- **disableAlerting (default: `false`):** Disables LogicMonitor alerting for all the cluster resources.
- **collector.replicas (default: `1`):** The number of collectors to create and use with Argus.
- **collector.size (default: `""`):** The collector size to install. Can be nano, small, medium, or large.
Expand All @@ -42,8 +42,8 @@ Required Values:
Optional Values:

- **enableRBAC (default: `true`):** Enable RBAC. If your cluster does not have RBAC enabled, this value should be set to false.
- **clusterGroupID (default: `0`):** A parent group id of the cluster's device group.
- **etcdDiscoveryToken (default: `""`):** The public etcd discovery token used to add etcd hosts to the cluster device group.
- **clusterGroupID (default: `0`):** A parent group id of the cluster's resource group.
- **etcdDiscoveryToken (default: `""`):** The public etcd discovery token used to add etcd hosts to the cluster resource group.
- **imagePullPolicy (default: `"Always"`):** The image pull policy of the Argus container.
- **imageRepository (default: `"logicmonitor/argus"`):** The image respository of the [Argus](https://hub.docker.com/r/logicmonitor/argus) container.
- **imageTag:** The image tag of the [Argus](https://hub.docker.com/r/logicmonitor/argus/tags) container.
Expand All @@ -54,10 +54,10 @@ Optional Values:
- **affinity (default: `{}`):** It allows you to constrain which nodes your pod is eligible to be scheduled on.
- **priorityClassName (default: `""`):** The priority class name for Pod priority. If this parameter is set then user must have PriorityClass resource created otherwise Pod will be rejected.
- **tolerations (default: `[]`):** Tolerations are applied to pods, and allow the pods to schedule onto nodes with matching taints.
- **filters.pod (default: `""`):** The filtered expression for Pod device type. Based on this parameter, Pods would be added/deleted for discovery on LM.
- **filters.service (default: `""`):** The filtered expression for Service device type. Based on this parameter, Services would be added/deleted for discovery on LM.
- **filters.node (default: `""`):** The filtered expression for Node device type. Based on this parameter, Nodes would be added/deleted for discovery on LM.
- **filters.deployment (default: `""`):** The filtered expression for Deployment device type. Based on this parameter, Deployments would be added/deleted for discovery on LM.
- **filters.pod (default: `""`):** The filtered expression for Pod resource type. Based on this parameter, Pods would be added/deleted for discovery on LM.
- **filters.service (default: `""`):** The filtered expression for Service resource type. Based on this parameter, Services would be added/deleted for discovery on LM.
- **filters.node (default: `""`):** The filtered expression for Node resource type. Based on this parameter, Nodes would be added/deleted for discovery on LM.
- **filters.deployment (default: `""`):** The filtered expression for Deployment resource type. Based on this parameter, Deployments would be added/deleted for discovery on LM.
- **collector.groupID (default: `0`):** The ID of the group of the collectors.
- **collector.escalationChainID (default: `0`):** The ID of the escalation chain of the collectors.
- **collector.collectorVersion (default: `0`):** The version of the collectors.
Expand Down
26 changes: 20 additions & 6 deletions argus/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,29 @@ data:
address: collectorset-controller:50000
cluster_name: {{ required "A valid .Values.clusterName entry is required!" .Values.clusterName }}
log_level: {{ .Values.logLevel }}
delete_devices: {{ required "A valid .Values.deleteDevices entry is required!" .Values.deleteDevices }}
delete_resources: {{ required "A valid .Values.deleteDevices entry is required!" .Values.deleteDevices }}
disable_alerting: {{ required "A valid .Values.disableAlerting entry is required!" .Values.disableAlerting }}
etcd_discovery_token: {{ .Values.etcdDiscoveryToken }}
cluster_group_id: {{ .Values.clusterGroupID }}
resource_group_id: {{ .Values.resourceGroupID }}
{{- if .Values.telemetryCronString}}
telemetry_cron_string: {{ .Values.telemetryCronString}}
{{- end }}
{{- if .Values.enableNewResourceTree }}
enable_new_resource_tree: {{ .Values.enableNewResourceTree }}
{{- end }}
{{- if .Values.telemetryCronString}}
telemetry_cron_string: {{ .Values.telemetryCronString}}
{{- end }}
{{- if .Values.registerGenericFilter}}
register_generic_filter: {{ .Values.registerGenericFilter}}
{{- end }}
{{- if .Values.enableNamespacesDeletedGroups}}
enable_namespaces_deleted_groups: {{ .Values.enableNamespacesDeletedGroups}}
{{- end }}
{{- if .Values.numberOfWorkers}}
number_of_workers: {{ .Values.numberOfWorkers}}
{{- end }}
{{- if .Values.proxyURL }}
proxy_url: {{ .Values.proxyURL }}
{{- end }}
Expand All @@ -37,7 +55,7 @@ data:
periodic_sync_min_interval: 10m
periodic_delete_min_interval: 10m
cache_sync_min_interval: 5m
device_group_props:
resource_group_props:
{{ toYaml .Values.device_group_props | indent 6}}
{{- if .Values.openmetrics }}
openmetrics:
Expand All @@ -46,10 +64,6 @@ data:
disable_resource_monitoring:
{{- if .Values.disable_resource_monitoring}}
{{ toYaml .Values.disable_resource_monitoring | indent 4}}
{{- end }}
rl-policy.yaml: |
{{- if .Values.rlpolicy }}
{{ toYaml .Values.rlpolicy | indent 4}}
{{- end }}
filters-config.yaml: |
filters:
Expand Down
2 changes: 0 additions & 2 deletions argus/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ spec:
items:
- key: config.yaml
path: config.yaml
- key: rl-policy.yaml
path: rl-policy.yaml
- key: filters-config.yaml
path: filters-config.yaml

76 changes: 28 additions & 48 deletions argus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ accessID: ""
accessKey: ""
# The LogicMonitor account name.
account: ""
# A unique name given to the cluster's device group.
# A unique name given to the cluster's resource group.
clusterName: ""
# Set Argus Log Level
logLevel: "info"
# On a delete event, either delete from LogicMonitor or move the device to the `_delted` device group.
# On a delete event, either delete from LogicMonitor or move the resource to the `_deleted` resource group.
deleteDevices: true
# Disables LogicMonitor alerting for all the cluster resources.
disableAlerting: false
Expand All @@ -19,11 +19,11 @@ disableAlerting: false

# Enable RBAC. If your cluster does not have RBAC enabled, this value should be set to false.
enableRBAC: true
# A parent group id of the cluster's device group.
# A parent group id of the cluster's resource group.
clusterGroupID: 0
# A parent group id that will hold all cluster resources under it. This is useful when Argus is installed with non-admin user's token.
resourceGroupID: 1
# The public etcd discovery token used to add etcd hosts to the cluster device group.
# The public etcd discovery token used to add etcd hosts to the cluster resource group.
etcdDiscoveryToken: ""
# The image respository of the [Argus](https://hub.docker.com/r/logicmonitor/argus) container.
imageRepository: logicmonitor/argus
Expand All @@ -45,21 +45,34 @@ affinity: {}
priorityClassName: ""
# Tolerations are applied to pods, and allow the pods to schedule onto nodes with matching taints.
tolerations: []
# This parameter is used to specify if displayName should include namespace or not.
fullDisplayNameIncludeNamespace: false
# This parameter is used to specify if displayName should include both namespace and clusterName or not.
fullDisplayNameIncludeClusterName: false
# Labels to apply on all objects created by Argus
labels: {}
# Annotations to apply on all objects created by Argus
annotations: {}
# Set flag to ignore ssl/tls validation
ignore_ssl: false

# Flag to enable new resource tree to put all resources of a namespace in a single resource group
enableNewResourceTree: false

# Flag is used when #enableNewResourceTree is true - to create _deleted group in its individual namespace groups when scheduled delete is enabled
enableNamespacesDeletedGroups: false

# Flag to register generic filter based on resource label => "logicmonitor/monitoring": "disable"
registerGenericFilter: false

# To disable resource monitoring
# for ex:
# disableResourceMonitoring:
# - deployments
# - services
disableResourceMonitoring: []

# appIntervals defines time intervals for periodic sync, periodic delete and in memory cache resync operations.
app_intervals:
periodic_sync_interval: "30m"
periodic_delete_interval: "30m"
cache_sync_interval: "5m"
periodic_delete_interval: "10m"
cache_sync_interval: "1h"
# Device group properties
device_group_props:
cluster:
Expand All @@ -81,15 +94,15 @@ device_group_props:
hpas: []

filters:
# The filtered expression for Pod device type. Based on this parameter, Pods would be added/deleted for discovery on LM.
# The filtered expression for Pod resource type. Based on this parameter, Pods would be added/deleted for discovery on LM.
pod: []
# The filtered expression for Service device type. Based on this parameter, Services would be added/deleted for discovery on LM.
# The filtered expression for Service resource resource type. Based on this parameter, Services would be added/deleted for discovery on LM.
service: []
# The filtered expression for Node device type. Based on this parameter, Nodes would be added/deleted for discovery on LM.
# The filtered expression for Node resource type. Based on this parameter, Nodes would be added/deleted for discovery on LM.
node: []
# The filtered expression for Deployment device type. Based on this parameter, Deployments would be added/deleted for discovery on LM.
# The filtered expression for Deployment resource type. Based on this parameter, Deployments would be added/deleted for discovery on LM.
deployment: []
# The filtered expression for HorizontalPodAutoscaler device type. Based on this parameter, HorizontalPodAutoscalers would be added/deleted for discovery on LM.
# The filtered expression for HorizontalPodAutoscaler resource type. Based on this parameter, HorizontalPodAutoscalers would be added/deleted for discovery on LM.
hpa: []

# openmetrics config for Argus metrics collection
Expand Down Expand Up @@ -143,39 +156,6 @@ collector:
# The priority class name for Pod priority of the collector. If this parameter is set then user must have PriorityClass resource created otherwise Pod will be rejected.
priorityClassName: ""

# rlpolicy defines the rate at which argus will send requests to Logicmonitor portal in order to avoid rate limit thresholds
rlpolicy:
device:
get:
pod: 60
dep: 10
svc: 10
node: 10
hpa: 10
post:
pod: 60
dep: 10
svc: 10
node: 10
hpa: 10
put:
pod: 60
dep: 10
svc: 10
node: 10
hpa: 10
patch:
pod: 60
dep: 10
svc: 10
node: 10
hpa: 10
delete:
pod: 60
dep: 10
svc: 10
node: 10
hpa: 10
# List of resources to disable monitoring
# for ex:
# disable_resource_monitoring:
Expand Down
Binary file modified docs/argus-0.19.0-devel.tgz
Binary file not shown.
Binary file added docs/argus-0.19.0-devel2.tgz
Binary file not shown.
Binary file modified docs/collectorset-controller-0.12.0-devel.tgz
Binary file not shown.
Loading