Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

Setting up tolerations #43

Merged
merged 1 commit into from
Sep 22, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
This page describes the Sumo Kubernetes [Fluentd](http://www.fluentd.org/) plugin.

The plugin runs as a Kubernetes [DaemonSet](http://kubernetes.io/docs/admin/daemons/); it runs an instance of the plugin on each physical host in a cluster. Each plugin instance pulls system, kubelet, docker daemon, and container logs from the host and sends them, in JSON or text format, to an HTTP endpoint on a hosted collector in the [Sumo](http://www.sumologic.com) service.
The plugin runs as a Kubernetes [DaemonSet](http://kubernetes.io/docs/admin/daemons/); it runs an instance of the plugin on each host in a cluster. Each plugin instance pulls system, kubelet, docker daemon, and container logs from the host and sends them, in JSON or text format, to an HTTP endpoint on a hosted collector in the [Sumo](http://www.sumologic.com) service.

**Note** This plugin is community-supported. For support, add a request in the issues tab.

Expand Down Expand Up @@ -279,3 +279,11 @@ After performing the configuration described above, your logs should start strea

## Containers
![Docker Logs](/screenshots/container.png)

# Taints and Tolerations
By default, the fluentd pods will schedule on, and therefore collect logs from, any worker nodes that do not have a taint and any master node that does not have a taint beyond the default master taint. If you would like to schedule pods on all nodes, regardless of taints, uncomment the following line from fluentd.yaml before applying it.

```
tolerations:
#- operator: "Exists"
```
5 changes: 5 additions & 0 deletions daemonset/nonrbac/fluentd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,8 @@ spec:
secretKeyRef:
name: sumologic
key: collector-url
tolerations:
#- operator: "Exists"
- effect: "NoSchedule"
key: "node-role.kubernetes.io/master"

5 changes: 5 additions & 0 deletions daemonset/rbac/fluentd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,8 @@ spec:
secretKeyRef:
name: sumologic
key: collector-url
tolerations:
#- operator: "Exists"
- effect: "NoSchedule"
key: "node-role.kubernetes.io/master"