Merge pull request #44049 from crassirostris/fluentd-es-remove-toleration

Automatic merge from submit-queue

Remove toleration from fluentd-elasticsearch

Fix https://github.com/kubernetes/kubernetes/issues/43795
Address comments from https://github.com/kubernetes/kubernetes/issues/42983

Fluentd-es doesn't work on master anyway, because it has no access to k8s services
This commit is contained in:
Kubernetes Submit Queue 2017-04-05 06:03:47 -07:00 committed by GitHub
commit 3b8e327924
3 changed files with 0 additions and 9 deletions

View File

@ -42,9 +42,6 @@ spec:
readOnly: true
nodeSelector:
beta.kubernetes.io/fluentd-ds-ready: "true"
tolerations:
- key : "node.alpha.kubernetes.io/ismaster"
effect: "NoSchedule"
terminationGracePeriodSeconds: 30
volumes:
- name: varlog

View File

@ -1186,9 +1186,6 @@ function start-kube-addons {
sed -i -e "s@{{ *pillar\['cluster_registry_disk_size'\] *}}@${CLUSTER_REGISTRY_DISK_SIZE}@g" "${registry_pvc_file}"
sed -i -e "s@{{ *pillar\['cluster_registry_disk_name'\] *}}@${CLUSTER_REGISTRY_DISK}@g" "${registry_pvc_file}"
fi
# TODO(piosz): figure out how to not run fluentd-es pod from fluentd daemon set on master.
# Running fluentd-es on the master is pointless, as it can't communicate
# with elasticsearch from there in the default configuration.
if [[ "${ENABLE_NODE_LOGGING:-}" == "true" ]] && \
[[ "${LOGGING_DESTINATION:-}" == "elasticsearch" ]] && \
[[ "${ENABLE_CLUSTER_LOGGING:-}" == "true" ]]; then

View File

@ -1395,9 +1395,6 @@ function start-kube-addons {
sed -i -e "s@{{ *pillar\['cluster_registry_disk_size'\] *}}@${CLUSTER_REGISTRY_DISK_SIZE}@g" "${registry_pvc_file}"
sed -i -e "s@{{ *pillar\['cluster_registry_disk_name'\] *}}@${CLUSTER_REGISTRY_DISK}@g" "${registry_pvc_file}"
fi
# TODO(piosz): figure out how to not run fluentd-es pod from fluentd daemon set on master.
# Running fluentd-es on the master is pointless, as it can't communicate
# with elasticsearch from there in the default configuration.
if [[ "${ENABLE_NODE_LOGGING:-}" == "true" ]] && \
[[ "${LOGGING_DESTINATION:-}" == "elasticsearch" ]] && \
[[ "${ENABLE_CLUSTER_LOGGING:-}" == "true" ]]; then