Skip to content

Instantly share code, notes, and snippets.

@marccampbell
Created January 9, 2020 20:56
Show Gist options
  • Save marccampbell/2a234f8eaa8f3000a94e0e37befe9213 to your computer and use it in GitHub Desktop.
Save marccampbell/2a234f8eaa8f3000a94e0e37befe9213 to your computer and use it in GitHub Desktop.
apiVersion: troubleshoot.replicated.com/v1beta1
kind: Preflight
metadata:
name: example-preflight-checks
spec:
analyzers:
- clusterVersion:
outcomes:
- fail:
when: "< 1.13.0"
message: The application requires at Kubernetes 1.13.0 or later, and recommends 1.15.0.
uri: https://www.kubernetes.io
- pass:
message: Your cluster meets the recommended and required versions of Kubernetes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment