adding sysdig cloud (#318)
* adding sysdig cloud * minor fixes * quotes on version not desc * access key pw not add con
This commit is contained in:
parent
0c0561c5f1
commit
ed8a87ad7b
12
kubernetes-templates/sysdig-cloud/0/README.md
Normal file
12
kubernetes-templates/sysdig-cloud/0/README.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Installing Sysdig in k8s with Rancher<br>
|
||||||
|
|
||||||
|
The following kernel headers are necessary before deploying the agent using the Rancher catalog.<br>
|
||||||
|
|
||||||
|
<b>DOCKER</b><br>
|
||||||
|
$ sudo ros service enable kernel-headers<br>
|
||||||
|
$ sudo ros service up -d kernel-headers<br>
|
||||||
|
|
||||||
|
|
||||||
|
<b>SYSTEM DOCKER</b><br>
|
||||||
|
$ sudo ros service enable kernel-headers-system-docker<br>
|
||||||
|
$ sudo ros service up -d kernel-headers-system-docker<br>
|
26
kubernetes-templates/sysdig-cloud/0/rancher-compose.yml
Normal file
26
kubernetes-templates/sysdig-cloud/0/rancher-compose.yml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
.catalog:
|
||||||
|
name: "Sysdig Cloud"
|
||||||
|
version: "0.1"
|
||||||
|
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: "password"
|
||||||
|
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: "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
|
72
kubernetes-templates/sysdig-cloud/0/sysdig-daemonset.yaml
Normal file
72
kubernetes-templates/sysdig-cloud/0/sysdig-daemonset.yaml
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
#Use this sysdig.yaml when Daemon Sets are enabled on Kubernetes (minimum version 1.1.1). Otherwise use the RC method.
|
||||||
|
|
||||||
|
apiVersion: extensions/v1beta1
|
||||||
|
kind: DaemonSet
|
||||||
|
metadata:
|
||||||
|
name: sysdig-agent
|
||||||
|
labels:
|
||||||
|
app: sysdig-agent
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
name: sysdig-agent
|
||||||
|
spec:
|
||||||
|
volumes:
|
||||||
|
- name: docker-sock
|
||||||
|
hostPath:
|
||||||
|
path: /var/run/docker.sock
|
||||||
|
- name: dev-vol
|
||||||
|
hostPath:
|
||||||
|
path: /dev
|
||||||
|
- name: proc-vol
|
||||||
|
hostPath:
|
||||||
|
path: /proc
|
||||||
|
- name: boot-vol
|
||||||
|
hostPath:
|
||||||
|
path: /boot
|
||||||
|
- name: modules-vol
|
||||||
|
hostPath:
|
||||||
|
path: /lib/modules
|
||||||
|
- name: usr-vol
|
||||||
|
hostPath:
|
||||||
|
path: /usr
|
||||||
|
hostNetwork: true
|
||||||
|
hostPID: true
|
||||||
|
containers:
|
||||||
|
- name: sysdig-agent
|
||||||
|
image: sysdig/agent
|
||||||
|
securityContext:
|
||||||
|
privileged: true
|
||||||
|
env:
|
||||||
|
- name: ACCESS_KEY #REQUIRED - replace with your Sysdig Cloud access key
|
||||||
|
value: "${SDC_ACCESS_KEY}" # 8312341g-5678-abcd-4a2b2c-33bcsd655
|
||||||
|
- name: TAGS #OPTIONAL
|
||||||
|
value: "${SDC_TAGS}" # linux:ubuntu,dept:dev,local:nyc
|
||||||
|
# - name: COLLECTOR #OPTIONAL - on-prem install only
|
||||||
|
# value: 192.168.183.200
|
||||||
|
# - name: SECURE #OPTIONAL - on-prem install only
|
||||||
|
# value: false
|
||||||
|
# - name: CHECK_CERTIFICATE #OPTIONAL - on-prem install only
|
||||||
|
# value: false
|
||||||
|
- name: ADDITIONAL_CONF #OPTIONAL pass additional parameters to the agent such as authentication example provided here
|
||||||
|
value: "${SDC_ADDITIONAL_CONF}" #"k8s_uri: https://myacct:mypass@localhost:4430\nk8s_ca_certificate: k8s-ca.crt\nk8s_ssl_verify_certificate: true"
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /host/var/run/docker.sock
|
||||||
|
name: docker-sock
|
||||||
|
readOnly: false
|
||||||
|
- mountPath: /host/dev
|
||||||
|
name: dev-vol
|
||||||
|
readOnly: false
|
||||||
|
- mountPath: /host/proc
|
||||||
|
name: proc-vol
|
||||||
|
readOnly: true
|
||||||
|
- mountPath: /host/boot
|
||||||
|
name: boot-vol
|
||||||
|
readOnly: true
|
||||||
|
- mountPath: /host/lib/modules
|
||||||
|
name: modules-vol
|
||||||
|
readOnly: true
|
||||||
|
- mountPath: /host/usr
|
||||||
|
name: usr-vol
|
||||||
|
readOnly: true
|
13
kubernetes-templates/sysdig-cloud/catalogIcon-sysdig.svg
Normal file
13
kubernetes-templates/sysdig-cloud/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
kubernetes-templates/sysdig-cloud/config.yml
Normal file
5
kubernetes-templates/sysdig-cloud/config.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
name: Sysdig Cloud
|
||||||
|
description: |
|
||||||
|
Container-Native Application and Infrastructure Monitoring
|
||||||
|
version: "0.1"
|
||||||
|
category: Monitoring
|
Loading…
x
Reference in New Issue
Block a user