summaryrefslogtreecommitdiffstats
path: root/roles/kubernetes_kubelet/templates
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2014-09-16 13:15:48 -0400
committerKenny Woodson <kwoodson@redhat.com>2014-09-16 13:15:48 -0400
commit5994dee9a8b3b1ee97f9e3b3529fd32ffb896187 (patch)
tree4c17abdd1e5b39e845d33d7d970ac216a82d766d /roles/kubernetes_kubelet/templates
downloadopenshift-5994dee9a8b3b1ee97f9e3b3529fd32ffb896187.tar.gz
openshift-5994dee9a8b3b1ee97f9e3b3529fd32ffb896187.tar.bz2
openshift-5994dee9a8b3b1ee97f9e3b3529fd32ffb896187.tar.xz
openshift-5994dee9a8b3b1ee97f9e3b3529fd32ffb896187.zip
Initial Commit. Sharing is caring
Diffstat (limited to 'roles/kubernetes_kubelet/templates')
-rw-r--r--roles/kubernetes_kubelet/templates/cadvisor.manifest33
-rw-r--r--roles/kubernetes_kubelet/templates/kubelet3
2 files changed, 36 insertions, 0 deletions
diff --git a/roles/kubernetes_kubelet/templates/cadvisor.manifest b/roles/kubernetes_kubelet/templates/cadvisor.manifest
new file mode 100644
index 000000000..064803cbe
--- /dev/null
+++ b/roles/kubernetes_kubelet/templates/cadvisor.manifest
@@ -0,0 +1,33 @@
+version: v1beta2
+id: cadvisor-agent
+containers:
+ - name: cadvisor
+ image: google/cadvisor:latest
+ ports:
+ - name: http
+ containerPort: 8080
+ hostPort: 4194
+ volumeMounts:
+ - name: varrun
+ mountPath: /var/run
+ readOnly: false
+ - name: varlibdocker
+ mountPath: /var/lib/docker
+ readOnly: true
+ - name: cgroups
+ mountPath: /sys/fs/cgroup
+ readOnly: true
+volumes:
+ - name: varrun
+ source:
+ hostDir:
+ path: /var/run
+ - name: varlibdocker
+ source:
+ hostDir:
+ path: /var/lib/docker
+ - name: cgroups
+ source:
+ hostDir:
+ path: /sys/fs/cgroup
+
diff --git a/roles/kubernetes_kubelet/templates/kubelet b/roles/kubernetes_kubelet/templates/kubelet
new file mode 100644
index 000000000..fbf9321fe
--- /dev/null
+++ b/roles/kubernetes_kubelet/templates/kubelet
@@ -0,0 +1,3 @@
+
+DAEMON_ARGS=" -etcd_servers=http://10.245.1.2:4001 -hostname_override=10.245.2.2 -address=0.0.0.0 -config=/etc/kubernetes/manifests"
+