making fixes per rawmind0's suggestions
This commit is contained in:
parent
729906f15d
commit
3b07fe5a1b
@ -11,7 +11,6 @@ services:
|
|||||||
stdin_open: true
|
stdin_open: true
|
||||||
tty: true
|
tty: true
|
||||||
ports:
|
ports:
|
||||||
- 5050:5050/tcp
|
- ${PUBLISH_PORT}:5050/tcp
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
|
||||||
io.rancher.scheduler.global: 'true'
|
io.rancher.scheduler.global: 'true'
|
||||||
|
@ -5,31 +5,36 @@ catalog:
|
|||||||
description: A microservice for checking the health of a Rancher node
|
description: A microservice for checking the health of a Rancher node
|
||||||
minimum_rancher_version: v.1.6.0
|
minimum_rancher_version: v.1.6.0
|
||||||
questions:
|
questions:
|
||||||
- variable: POLL_INTERVAL
|
- variable: POLL_INTERVAL
|
||||||
label: POLL_INTERVAL
|
label: POLL_INTERVAL
|
||||||
description: | Frequency in seconds to run checks
|
description: | Frequency in seconds to run checks
|
||||||
type: string
|
type: string
|
||||||
default: 1.24
|
default: 1.24
|
||||||
- variable: ENABLE_STORAGE_CHECK
|
- variable: ENABLE_STORAGE_CHECK
|
||||||
label: ENABLE_STORAGE_CHECK
|
label: ENABLE_STORAGE_CHECK
|
||||||
description: | Enable storage check
|
description: | Enable storage check
|
||||||
type: bool
|
type: bool
|
||||||
default: false
|
default: false
|
||||||
- variable: DATA_SPACE_THRESHOLD
|
- variable: DATA_SPACE_THRESHOLD
|
||||||
label: DATA_SPACE_THRESHOLD
|
label: DATA_SPACE_THRESHOLD
|
||||||
description: | Minimum amount of free Docker Data Storage space in bytes
|
description: | Minimum amount of free Docker Data Storage space in bytes
|
||||||
type: string
|
type: string
|
||||||
default: 1.24
|
default: 1.24
|
||||||
- variable: METADATA_SPACE_THRESHOLD
|
- variable: METADATA_SPACE_THRESHOLD
|
||||||
label: METADATA_SPACE_THRESHOLD
|
label: METADATA_SPACE_THRESHOLD
|
||||||
description: | Minimum amount of free Docker Data Storage space in bytes
|
description: | Minimum amount of free Docker Data Storage space in bytes
|
||||||
type: string
|
type: string
|
||||||
default: 1.24
|
default: 1.24
|
||||||
- variable: DOCKER_API_VERSION
|
- variable: DOCKER_API_VERSION
|
||||||
label: DOCKER_API_VERSION
|
label: DOCKER_API_VERSION
|
||||||
description: | Version of the Docker API to use (storage checks only)
|
description: | Version of the Docker API to use (storage checks only)
|
||||||
type: string
|
type: string
|
||||||
default: 1.24
|
default: 1.24
|
||||||
|
- variable: PUBLISH_PORT
|
||||||
|
label: PUBLISH_PORT
|
||||||
|
description: | Port to publish the service.
|
||||||
|
type: int
|
||||||
|
default: 5050
|
||||||
services:
|
services:
|
||||||
cowcheck:
|
cowcheck:
|
||||||
start_on_create: true
|
start_on_create: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user