|
1 | 1 | apiVersion: troubleshoot.replicated.com/v1beta1 |
2 | 2 | kind: Preflight |
3 | 3 | metadata: |
4 | | - name: sample-app |
| 4 | + name: shiny-new-ai |
5 | 5 | spec: |
6 | 6 | analyzers: |
7 | 7 | - clusterVersion: |
8 | 8 | outcomes: |
9 | 9 | - fail: |
10 | | - when: "< 1.14.0" |
11 | | - message: Sorry, this application requires at least Kubernetes 1.14.0. Please update your Kubernetes cluster before installing. |
12 | | - uri: https://help.replicated.com/kubernetes-version |
| 10 | + when: "< 1.13.0" |
| 11 | + message: Sorry, ShinyNew.ai requires at least Kubernetes 1.14.0. Please update your Kubernetes cluster before installing. |
| 12 | + uri: https://enterprise.shinynew.ai/install/requirements/kubernetes |
13 | 13 | - warn: |
14 | 14 | when: "< 1.15.0" |
15 | | - message: You have barely enough kubernetes |
16 | | - uri: https://help.replicated.com/kubernetes-version |
| 15 | + message: The version of Kubernetes you are running meets the minimum requirements to run ShineyNew.ai. It's recommended to run Kubernetes 1.15.0 or later. |
| 16 | + uri: https://enterprise.shinynew.ai/install/requirements/kubernetes |
17 | 17 | - pass: |
18 | | - message: Good job keeping k8s current |
| 18 | + message: The version of Kubernetes you have installed meets the required and recommended versions. |
19 | 19 | - storageClass: |
20 | 20 | checkName: Required storage classes |
21 | 21 | storageClassName: "microk8s-hostpath" |
22 | 22 | outcomes: |
23 | 23 | - fail: |
24 | | - message: The micr0k8s storage class thing was not found |
| 24 | + message: The required storage class was not found in the cluster. |
25 | 25 | - pass: |
26 | 26 | message: The required storage class was found in the cluster. |
27 | | - - secret: |
28 | | - checkName: PG URI |
29 | | - secretName: postgres |
30 | | - namespace: default |
31 | | - key: uri |
32 | | - outcomes: |
33 | | - - fail: |
34 | | - message: You don't have a pg uri secret |
35 | | - - pass: |
36 | | - message: Probably a green light connecting to pg |
37 | | - |
38 | | - # - manifests: |
39 | | - # - secret: |
40 | | - # namespace: default |
41 | | - # name: shhh |
42 | | - # key: top-secret |
43 | | - # fail: |
44 | | - # message: The top secret secret is missing |
45 | | - # pass: |
46 | | - # message: You know the secret |
47 | 27 | - ingress: |
48 | 28 | namespace: default |
49 | | - ingressName: connect-to-me |
| 29 | + ingressName: my-app-ingress |
50 | 30 | outcomes: |
51 | 31 | - fail: |
52 | | - message: The ingress isn't ingressing |
| 32 | + message: Expected to find an ingress named "my-app-ingress". |
53 | 33 | - pass: |
54 | | - message: All systems ok on ingress |
55 | | - # - imagePullSecret: |
56 | | - # name: replicated |
57 | | - # namespace: my-app |
58 | | - # fail: |
59 | | - # message: Can't pull the images |
60 | | - # pass: |
61 | | - # message: Connected to docker registry |
62 | | - - customResourceDefinition: |
| 34 | + message: Expected ingress was found. |
63 | 35 | customResourceDefinitionName: rook |
64 | 36 | outcomes: |
65 | 37 | - fail: |
66 | | - message: You don't have rook installed |
| 38 | + message: Rook is required for ShinyNew.ai. Rook was not found in the cluster. |
67 | 39 | - pass: |
68 | | - message: Found rook! |
| 40 | + message: Found a supported version of Rook installed and running in the cluster. |
0 commit comments