new catalog item: cowcheck
This commit is contained in:
parent
052ed326bf
commit
729906f15d
17
templates/cowcheck/0/docker-compose.yml
Normal file
17
templates/cowcheck/0/docker-compose.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
version: '2'
|
||||||
|
services:
|
||||||
|
cowcheck:
|
||||||
|
image: wjimenez5271/cowcheck:0.2.0
|
||||||
|
environment:
|
||||||
|
LOG_LEVEL: ${LOG_LEVEL}
|
||||||
|
DOCKER_API_VERSION: ${DOCKER_API_VERSION}
|
||||||
|
DATA_SPACE_THRESHOLD: ${DATA_SPACE_THRESHOLD}
|
||||||
|
METADATA_SPACE_THRESHOLD: ${METADATA_SPACE_THRESHOLD}
|
||||||
|
POLL_INTERVAL: ${POLL_INTERVAL}
|
||||||
|
stdin_open: true
|
||||||
|
tty: true
|
||||||
|
ports:
|
||||||
|
- 5050:5050/tcp
|
||||||
|
labels:
|
||||||
|
io.rancher.container.pull_image: always
|
||||||
|
io.rancher.scheduler.global: 'true'
|
35
templates/cowcheck/0/rancher-compose.yml
Normal file
35
templates/cowcheck/0/rancher-compose.yml
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
version: '2'
|
||||||
|
catalog:
|
||||||
|
name: cowcheck
|
||||||
|
version: 0.2.0
|
||||||
|
description: A microservice for checking the health of a Rancher node
|
||||||
|
minimum_rancher_version: v.1.6.0
|
||||||
|
questions:
|
||||||
|
- variable: POLL_INTERVAL
|
||||||
|
label: POLL_INTERVAL
|
||||||
|
description: | Frequency in seconds to run checks
|
||||||
|
type: string
|
||||||
|
default: 1.24
|
||||||
|
- variable: ENABLE_STORAGE_CHECK
|
||||||
|
label: ENABLE_STORAGE_CHECK
|
||||||
|
description: | Enable storage check
|
||||||
|
type: bool
|
||||||
|
default: false
|
||||||
|
- variable: DATA_SPACE_THRESHOLD
|
||||||
|
label: DATA_SPACE_THRESHOLD
|
||||||
|
description: | Minimum amount of free Docker Data Storage space in bytes
|
||||||
|
type: string
|
||||||
|
default: 1.24
|
||||||
|
- variable: METADATA_SPACE_THRESHOLD
|
||||||
|
label: METADATA_SPACE_THRESHOLD
|
||||||
|
description: | Minimum amount of free Docker Data Storage space in bytes
|
||||||
|
type: string
|
||||||
|
default: 1.24
|
||||||
|
- variable: DOCKER_API_VERSION
|
||||||
|
label: DOCKER_API_VERSION
|
||||||
|
description: | Version of the Docker API to use (storage checks only)
|
||||||
|
type: string
|
||||||
|
default: 1.24
|
||||||
|
services:
|
||||||
|
cowcheck:
|
||||||
|
start_on_create: true
|
8
templates/cowcheck/config.yml
Normal file
8
templates/cowcheck/config.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
name: Cowcheck
|
||||||
|
description: |
|
||||||
|
A microservice for checking the health of a Rancher node
|
||||||
|
version: 0.2.0
|
||||||
|
category: Monitoring
|
||||||
|
maintainer: "William Jimenez <william@rancher.com>"
|
||||||
|
license: Apache 2.0
|
||||||
|
projectURL: https://github.com/wjimenez5271/cowcheck
|
Loading…
x
Reference in New Issue
Block a user