Remove toleration from fluentd-elasticsearch

This commit is contained in:
Mik Vyatskov 2017-04-04 20:17:06 +02:00
parent 12fbc9083e
commit 30f22ad683
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