diff --git a/README.md b/README.md index f5d5882..8ab7bbb 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Usage: eck-diagnostics [flags] Flags: - --diagnostic-image string Diagnostic image to be used for stack diagnostics, see run-stack-diagnostics (default "docker.elastic.co/eck-dev/support-diagnostics:8.4.3") + --diagnostic-image string Diagnostic image to be used for stack diagnostics, see run-stack-diagnostics (default "docker.elastic.co/eck-dev/support-diagnostics:8.5.0") --eck-version string ECK version in use, will try to autodetect if not specified -f, --filters strings Comma-separated list of filters in format "type=name". ex: elasticsearch=my-cluster (Supported types [agent apm beat elasticsearch enterprisesearch kibana maps]) -h, --help help for eck-diagnostics @@ -125,4 +125,4 @@ The following resources are returned unfiltered: ### Using custom ECK installation methods -If you are using your own installation manifests or Helm chart make sure the metadata on the Pods running the operator matches the metadata used by Elastic's official installation manifests. Specifically ensure that you have a `control-plane: elastic-operator` label on the ECK operator StatefulSet or Deployment and its Pods. This ensures that eck-diagnostics can successfully extract logs and version information from those Pods. \ No newline at end of file +If you are using your own installation manifests or Helm chart make sure the metadata on the Pods running the operator matches the metadata used by Elastic's official installation manifests. Specifically ensure that you have a `control-plane: elastic-operator` label on the ECK operator StatefulSet or Deployment and its Pods. This ensures that eck-diagnostics can successfully extract logs and version information from those Pods. diff --git a/internal/stackdiag.go b/internal/stackdiag.go index 93fd01a..81c11de 100644 --- a/internal/stackdiag.go +++ b/internal/stackdiag.go @@ -15,9 +15,6 @@ import ( "text/template" "time" - "github.com/elastic/eck-diagnostics/internal/archive" - "github.com/elastic/eck-diagnostics/internal/extraction" - internal_filters "github.com/elastic/eck-diagnostics/internal/filters" "github.com/ghodss/yaml" "golang.org/x/text/cases" "golang.org/x/text/language" @@ -33,10 +30,14 @@ import ( "k8s.io/client-go/tools/cache" "k8s.io/kubectl/pkg/util/podutils" "k8s.io/utils/ptr" + + "github.com/elastic/eck-diagnostics/internal/archive" + "github.com/elastic/eck-diagnostics/internal/extraction" + internal_filters "github.com/elastic/eck-diagnostics/internal/filters" ) const ( - DiagnosticImage = "docker.elastic.co/eck-dev/support-diagnostics:8.4.3" + DiagnosticImage = "docker.elastic.co/eck-dev/support-diagnostics:8.5.0" podOutputDir = "/diagnostic-output" podMainContainerName = "stack-diagnostics"