Skip to content
Permalink
Browse files

feat: clean netdata service

  • Loading branch information...
etienne-napoleone committed May 8, 2019
1 parent 9a4d382 commit 6b6bd086c8b6e9f3d63e6b50344265b6e28caac1
Showing with 0 additions and 48 deletions.
  1. +0 −48 terraform/modules/netdata/deployments.tf
@@ -33,30 +33,6 @@ resource "kubernetes_deployment" "netdata-master" {
name = "master-conf"
sub_path = "stream.conf"
}

volume_mount {
mount_path = "/host/proc"
name = "proc"
read_only = true
}

volume_mount {
mount_path = "/host/sys"
name = "sys"
read_only = true
}

volume_mount {
mount_path = "/var/run/docker.sock"
name = "docker"
read_only = true
}

security_context {
"capabilities" = {
"add" = ["SYS_PTRACE"]
}
}
}

volume {
@@ -66,30 +42,6 @@ resource "kubernetes_deployment" "netdata-master" {
name = "master-configmap"
}
}

volume {
name = "proc"

host_path {
path = "/proc"
}
}

volume {
name = "sys"

host_path {
path = "/sys"
}
}

volume {
name = "docker"

host_path {
path = "/var/run/docker.sock"
}
}
}
}
}

0 comments on commit 6b6bd08

Please sign in to comment.
You can’t perform that action at this time.