Skip to content

Commit c3e3eb3

Browse files
committed
Add example for docs
1 parent df4edcb commit c3e3eb3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
apiVersion: troubleshoot.replicated.com/v1beta1
2+
kind: Preflight
3+
metadata:
4+
name: check-kubernetes-version
5+
spec:
6+
analyzers:
7+
- clusterVersion:
8+
outcomes:
9+
- fail:
10+
when: "< 1.14.0"
11+
message: The application requires at Kubernetes 1.14.0 or later, and recommends 1.15.0.
12+
uri: https://www.kubernetes.io
13+
- warn:
14+
when: "< 1.15.0"
15+
message: Your cluster meets the minimum version of Kubernetes, but we recommend you update to 1.15.0 or later.
16+
uri: https://kubernetes.io
17+
- pass:
18+
message: Your cluster meets the recommended and required versions of Kubernetes.

0 commit comments

Comments
 (0)