Skip to content

Commit

Permalink
Merge pull request #34 from aj-jester/use-v1beta2-support-bundle
Browse files Browse the repository at this point in the history
Use v1beta2 for Support Bundle.
  • Loading branch information
aj-jester authored Oct 30, 2020
2 parents 038239d + 352b699 commit 30aca6e
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 127 deletions.
125 changes: 0 additions & 125 deletions manifests/analyzers.yaml

This file was deleted.

55 changes: 53 additions & 2 deletions manifests/support-bundle.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: troubleshoot.replicated.com/v1beta1
kind: Collector
apiVersion: troubleshoot.sh/v1beta2
kind: SupportBundle
metadata:
name: sentry-enterprise
spec:
Expand All @@ -23,3 +23,54 @@ spec:
collectorName: echo-ip
get:
url: https://api.replicated.com/market/v1/echo/ip
analyzers:
# Fails on preflight page even though registry has been added vendor.replicated.com.
- imagePullSecret:
checkName: Has Access to index.docker.io
registryName: index.docker.io
outcomes:
- fail:
message: Cannot pull from index.docker.io
- pass:
message: Found credentials to pull from index.docker.io
# Fails on preflight page even though Ingress exists.
- ingress:
ingressName: sentry-ingress
outcomes:
- fail:
message: Sentry ingress is not working.
- pass:
message: Sentry ingress is working.
- deploymentStatus:
name: sentry-worker
outcomes:
- fail:
when: "< 1"
message: The Sentry Worker deployment does not have any ready replicas.
- warn:
when: "= 1"
message: The Sentry Worker deployment has only a single ready replica.
- pass:
message: There are multiple replicas of the Sentry Worker deployment ready.
# Is it statefulset or statefulsetStatus?
# Does not even show up in preflights page.
- statefulsetStatus:
name: sentry-redis-master
outcomes:
- fail:
when: "< 1"
message: The API deployment does not have any ready replicas.
- warn:
when: "= 1"
message: The API deployment has only a single ready replica.
- pass:
message: There are multiple replicas of the API deployment ready.
- clusterVersion:
outcomes:
- fail:
when: "< 1.13.0"
message: Sentry requires at Kubernetes 1.13.0 or later, and recommends 1.15.0.
uri: https://www.kubernetes.io
- warn:
when: "< 1.15.0"

0 comments on commit 30aca6e

Please sign in to comment.