Skip to content

Commit

Permalink
Update support diagnostics to 8.5.0
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Rodrigues <[email protected]>
  • Loading branch information
rodrigc committed Oct 18, 2023
1 parent 9d66a5a commit b0f600b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
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.
9 changes: 5 additions & 4 deletions internal/stackdiag.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit b0f600b

Please sign in to comment.