mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
Dockerfile and build script for fluentd-elasticsearch image
This commit is contained in:
parent
178a901db7
commit
303da8b036
@ -1,9 +1,8 @@
|
||||
# This Dockerfile will build an image that is configured
|
||||
# to run Fluentd with an Elasticsearch plug-in and the
|
||||
# provided configuration file.
|
||||
# TODO(satnam): Use a lighter base image, e.g. some form of busybox.
|
||||
# The image acts as an executable for the binary /usr/sbin/td-agent
|
||||
# which runs fluentd with the default flag -v (which can be over-ridden).
|
||||
# TODO(satnam6502): Use a lighter base image, e.g. some form of busybox.
|
||||
# The image acts as an executable for the binary /usr/sbin/td-agent.
|
||||
# Note that fluentd is run with root permssion to allow access to
|
||||
# log files with root only access under /var/lib/docker/containers/*
|
||||
# Please see http://docs.fluentd.org/articles/install-by-deb for more
|
||||
|
@ -14,5 +14,9 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
docker build -t google/fluentd-elasticsearch .
|
||||
docker push google/lambda-fluentd
|
||||
|
||||
# Build the fluentd-elasticsearch image and push
|
||||
# to google/fluentd-elasticsearch.
|
||||
|
||||
sudo docker build -t google/fluentd-elasticsearch .
|
||||
sudo docker push google/fluentd-elasticsearch
|
||||
|
Loading…
Reference in New Issue
Block a user