diff --git a/docs/argus/index.html b/docs/argus/index.html index 870002024..67b6803e5 100644 --- a/docs/argus/index.html +++ b/docs/argus/index.html @@ -142,7 +142,7 @@
- Argus 0.2.0-alpha.0 + Argus 0.2.0-alpha.1
logicmonitor/k8s-argus diff --git a/docs/docs/configuration/index.html b/docs/docs/configuration/index.html index 9c0677e56..82e8a0df4 100644 --- a/docs/docs/configuration/index.html +++ b/docs/docs/configuration/index.html @@ -142,7 +142,7 @@
- Argus 0.2.0-alpha.0 + Argus 0.2.0-alpha.1
logicmonitor/k8s-argus @@ -387,7 +387,7 @@

Configuring Argus Manually

- Argus 0.2.0-alpha.0 + Argus 0.2.0-alpha.1
logicmonitor/k8s-argus @@ -341,7 +341,7 @@

Device Groups

  • Services: Services running in the cluster.
  • -

    For namespaced resources (Pods, Services), a device group will be created for each namespace and placed inside the respective resource device group. +

    Underneath the Nodes group, sub-groups will be created for each node role and an additional sub-group will be created that includes all nodes. For namespaced resources (Pods, Services), sub-groups will be created for each namespace. For clusters that use an external etcd cluster, an Etcd device group will be created in the cluster’s root device group.

    Devices

    diff --git a/docs/docs/how-it-works/index.html b/docs/docs/how-it-works/index.html index ec15f6d8b..233f429a0 100644 --- a/docs/docs/how-it-works/index.html +++ b/docs/docs/how-it-works/index.html @@ -142,7 +142,7 @@
    - Argus 0.2.0-alpha.0 + Argus 0.2.0-alpha.1
    logicmonitor/k8s-argus diff --git a/docs/docs/index.html b/docs/docs/index.html index ae833f9e4..28e3b93fb 100644 --- a/docs/docs/index.html +++ b/docs/docs/index.html @@ -142,7 +142,7 @@
    - Argus 0.2.0-alpha.0 + Argus 0.2.0-alpha.1
    logicmonitor/k8s-argus diff --git a/docs/getting-started/index.html b/docs/getting-started/index.html index e34d9ec22..cffc466eb 100644 --- a/docs/getting-started/index.html +++ b/docs/getting-started/index.html @@ -142,7 +142,7 @@
    - Argus 0.2.0-alpha.0 + Argus 0.2.0-alpha.1
    logicmonitor/k8s-argus diff --git a/docs/index.html b/docs/index.html index fe63a78d4..624dd13c7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -145,7 +145,7 @@
    - Argus 0.2.0-alpha.0 + Argus 0.2.0-alpha.1
    logicmonitor/k8s-argus diff --git a/docs/roadmap/index.html b/docs/roadmap/index.html index 4f4260434..746d14c0e 100644 --- a/docs/roadmap/index.html +++ b/docs/roadmap/index.html @@ -142,7 +142,7 @@
    - Argus 0.2.0-alpha.0 + Argus 0.2.0-alpha.1
    logicmonitor/k8s-argus diff --git a/pkg/utilities/utilities.go b/pkg/utilities/utilities.go index 4135dff59..383da4b4f 100644 --- a/pkg/utilities/utilities.go +++ b/pkg/utilities/utilities.go @@ -22,7 +22,10 @@ func BuildSystemCategoriesFromLabels(categories string, labels map[string]string // GetLabelByPrefix takes a list of labels returns the first label matching the specified prefix func GetLabelByPrefix(prefix string, labels map[string]string) (string, string) { for k, v := range labels { - if match, _ := regexp.MatchString("^"+prefix, k); match { + if match, err := regexp.MatchString("^"+prefix, k); match { + if err != nil { + continue + } return k, v } }