text stringlengths 0 59.1k |
|---|
volumes: |
- name: docker-sock |
hostPath: |
path: /var/run/docker.sock |
type: Socket |
- 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: 8312341g-5678-abcd-4a2b2c-33bcsd655 |
# - name: TAGS #OPTIONAL |
# value: 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: "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 |
<|endoftext|> |
# source: k8s_examples/_archived/sysdig-cloud/sysdig-rc.yaml type: yaml |
#Use this sysdig.yaml when Daemon Sets are NOT enabled on Kubernetes (minimum version 1.1.1). If Daemon Sets are available, use the other example sysdig.yaml - that is the recommended method. |
apiVersion: v1 |
kind: ReplicationController |
metadata: |
name: sysdig-agent |
labels: |
app: sysdig-agent |
spec: |
replicas: 100 #REQUIRED - replace with the maximum number of replica nodes in the cluster |
template: |
spec: |
volumes: |
- name: docker-sock |
hostPath: |
path: /var/run/docker.sock |
type: Socket |
- 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 |
ports: |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.