add sysdig, sysdig-cloud
This commit is contained in:
parent
757f993e08
commit
45c4759671
20
templates/sysdig-cloud/0/docker-compose.yml
Normal file
20
templates/sysdig-cloud/0/docker-compose.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
sysdig-agent:
|
||||||
|
container_name: sysdig-agent
|
||||||
|
privileged: true
|
||||||
|
image: sysdig/agent:${VERSION}
|
||||||
|
net: "host"
|
||||||
|
pid: "host"
|
||||||
|
environment:
|
||||||
|
ACCESS_KEY: ${SDC_ACCESS_KEY}
|
||||||
|
TAGS: "${SDC_TAGS}"
|
||||||
|
ADDITIONAL_CONF: "${SDC_ADDITIONAL_CONF}"
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/host/var/run/docker.sock
|
||||||
|
- /dev:/host/dev
|
||||||
|
- /proc:/host/proc:ro
|
||||||
|
- /boot:/host/boot:ro
|
||||||
|
- /lib/modules:/host/lib/modules:ro
|
||||||
|
- /usr:/host/usr:ro
|
||||||
|
labels:
|
||||||
|
io.rancher.scheduler.global: true
|
||||||
|
io.rancher.scheduler.affinity:host_label_ne: ${HOST_EXCLUDE_LABEL}
|
32
templates/sysdig-cloud/0/rancher-compose.yml
Normal file
32
templates/sysdig-cloud/0/rancher-compose.yml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
.catalog:
|
||||||
|
name: "Sysdig Cloud"
|
||||||
|
version: "v0"
|
||||||
|
description: "Container-Native Application and Infrastructure Monitoring"
|
||||||
|
questions:
|
||||||
|
- variable: "SDC_ACCESS_KEY"
|
||||||
|
label: "Sysdig Cloud access key"
|
||||||
|
description: "Your unique Sysdig Cloud access key - register for a Sysdig Cloud account at www.sysdig.com to receive a key."
|
||||||
|
type: "string"
|
||||||
|
required: true
|
||||||
|
- variable: "SDC_TAGS"
|
||||||
|
label: "Sysdig Cloud tags"
|
||||||
|
description: "Tags to be applied to all hosts on which the Sysdig Cloud container is deployed - these will surface in the Sysdig Cloud app. Should be a comma-separated list in the form of TAG_NAME:TAG_VALUE. For example: role:webserver,location:europe."
|
||||||
|
type: "string"
|
||||||
|
required: false
|
||||||
|
- variable: "VERSION"
|
||||||
|
label: "Sysdig Cloud version"
|
||||||
|
description: "Specify a version of the Sysdig Cloud container to pull (default will pull latest stable version)."
|
||||||
|
type: "string"
|
||||||
|
default: "latest"
|
||||||
|
required: true
|
||||||
|
- variable: "HOST_EXCLUDE_LABEL"
|
||||||
|
label: "Host exclude label"
|
||||||
|
description: "Specify a Rancher host label here that can be used to exclude deployment of the Sysdig Cloud container on any given host. Eg: sysdig.exclude_sysdigcloud=true (you could then add the label 'sysdig.exclude_sysdigcloud=true' to any Rancher host to exclude Sysdig Cloud from that host). To filter on any of multiple labels, use a comma-separated list."
|
||||||
|
type: "string"
|
||||||
|
default: sysdig.exclude_sysdigcloud=true
|
||||||
|
required: true
|
||||||
|
- variable: "SDC_ADDITIONAL_CONF"
|
||||||
|
label: "Additional Configuration"
|
||||||
|
description: "Content must be valid yaml code, use the escape \n parameter for new lines and adhere to proper indent requirements."
|
||||||
|
type: "string"
|
||||||
|
required: false
|
14
templates/sysdig-cloud/catalogIcon-sysdig-cloud.svg
Normal file
14
templates/sysdig-cloud/catalogIcon-sysdig-cloud.svg
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||||
|
width="99.915px" height="61.508px" viewBox="0 0 99.915 61.508" enable-background="new 0 0 99.915 61.508" xml:space="preserve">
|
||||||
|
<path fill="#1D8B90" d="M83.477,29.018c-0.152,0-0.298,0.018-0.449,0.022c0.112-0.97,0.174-1.95,0.174-2.948
|
||||||
|
c0-14.138-11.458-25.596-25.597-25.596c-11.017,0-20.404,6.959-24.013,16.721c-1.986-2.377-4.97-3.89-8.308-3.89
|
||||||
|
c-5.979,0-10.824,4.844-10.824,10.82c0,0.865,0.111,1.702,0.304,2.509c-8.134,1.421-14.322,8.5-14.322,17.041
|
||||||
|
c0,9.564,7.754,17.314,17.317,17.314h1.667c5.4-5.402,12.013-12.016,12.479-12.482c0.796-0.793,2.914-0.793,2.914-0.793
|
||||||
|
s2.064-2.061,4.184-4.184c2.121-2.121-1.532-5.773-1.532-5.773l-5.098-5.098c19.611-19.62,34.103-13.716,34.103-13.716
|
||||||
|
s5.907,14.493-13.704,34.11l-5.1-5.098c0,0-3.65-3.652-5.77-1.531c-2.124,2.123-4.186,4.186-4.186,4.186s0.003,2.121-0.795,2.916
|
||||||
|
c-0.325,0.326-3.646,3.648-7.46,7.463H84.86v-0.068c8.185-0.701,14.612-7.561,14.612-15.928
|
||||||
|
C99.473,36.18,92.311,29.018,83.477,29.018z"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.3 KiB |
5
templates/sysdig-cloud/config.yml
Normal file
5
templates/sysdig-cloud/config.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
name: Sysdig Cloud
|
||||||
|
description: |
|
||||||
|
Container-Native Application and Infrastructure Monitoring
|
||||||
|
version: v0
|
||||||
|
category: Monitoring
|
16
templates/sysdig/0/docker-compose.yml
Normal file
16
templates/sysdig/0/docker-compose.yml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
sysdig:
|
||||||
|
container_name: sysdig
|
||||||
|
privileged: true
|
||||||
|
stdin_open: true
|
||||||
|
tty: true
|
||||||
|
image: sysdig/sysdig:${VERSION}
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/host/var/run/docker.sock
|
||||||
|
- /dev:/host/dev
|
||||||
|
- /proc:/host/proc:ro
|
||||||
|
- /boot:/host/boot:ro
|
||||||
|
- /lib/modules:/host/lib/modules:ro
|
||||||
|
- /usr:/host/usr:ro
|
||||||
|
labels:
|
||||||
|
io.rancher.scheduler.global: true
|
||||||
|
io.rancher.scheduler.affinity:host_label_ne: ${HOST_EXCLUDE_LABEL}
|
17
templates/sysdig/0/rancher-compose.yml
Normal file
17
templates/sysdig/0/rancher-compose.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
.catalog:
|
||||||
|
name: "Sysdig"
|
||||||
|
version: "v0"
|
||||||
|
description: "Container-Native System Visibility and Troubleshooting"
|
||||||
|
questions:
|
||||||
|
- variable: "VERSION"
|
||||||
|
label: "Sysdig version"
|
||||||
|
description: "Specify a version of the sysdig container to pull (default will pull latest stable version)."
|
||||||
|
type: "string"
|
||||||
|
default: "latest"
|
||||||
|
required: true
|
||||||
|
- variable: "HOST_EXCLUDE_LABEL"
|
||||||
|
label: "Host exclude label"
|
||||||
|
description: "Specify a host label here that can be used to exclude deployment of the sysdig container on any given host. Eg: sysdig.exclude_sysdig=true (you could then add the label 'sysdig.exclude_sysdig=true' to any host to exclude sysdig from that host)."
|
||||||
|
type: "string"
|
||||||
|
default: "sysdig.exclude_sysdig=true"
|
||||||
|
required: true
|
13
templates/sysdig/catalogIcon-sysdig.svg
Normal file
13
templates/sysdig/catalogIcon-sysdig.svg
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||||
|
width="410px" height="410px" viewBox="0 0 410 410" enable-background="new 0 0 410 410" xml:space="preserve">
|
||||||
|
<ellipse fill="#FFFFFF" cx="205" cy="204.762" rx="204.544" ry="204.787"/>
|
||||||
|
<path fill="#EE5B4C" d="M206.69,0.458C93.732-0.48,1.389,90.346,0.457,203.31c-0.397,47.524,15.5,91.345,42.397,126.291
|
||||||
|
c10.523-10.354,17.777-17.489,18.982-18.671c5.413-5.311,19.711-5.193,19.711-5.193s14.036-13.793,28.456-28
|
||||||
|
c14.426-14.199-10.008-39.028-10.008-39.028l-34.119-34.683c133.417-131.28,230.865-90.636,230.865-90.636
|
||||||
|
s39.039,98.107-94.369,229.38l-34.125-34.689c0,0-24.428-24.828-38.848-10.648c-14.443,14.214-28.473,28.006-28.473,28.006
|
||||||
|
s-0.092,14.306-5.518,19.631c-1.208,1.188-8.524,8.389-19.124,18.82c34.722,28.171,78.829,45.261,127.022,45.653
|
||||||
|
c112.974,0.939,205.3-89.881,206.235-202.851C410.477,93.728,319.67,1.391,206.69,0.458z"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.2 KiB |
5
templates/sysdig/config.yml
Normal file
5
templates/sysdig/config.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
name: Sysdig
|
||||||
|
description: |
|
||||||
|
Container-Native System Visibility and Troubleshooting
|
||||||
|
version: v0
|
||||||
|
category: Monitoring
|
Loading…
x
Reference in New Issue
Block a user