Here is the log
sysadmin@danuble:~$ kubectl -n kube-system logs fluentd-es-v3.0.2-2cptn
/usr/local/bundle/gems/kubeclient-4.6.0/lib/kubeclient.rb:27: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/usr/local/bundle/gems/kubeclient-4.6.0/lib/kubeclient/common.rb:61: warning: The called method `initialize_client' is defined here
2020-09-30 19:09:21 +0000 [warn]: [elasticsearch] Could not communicate to Elasticsearch, resetting connection and trying again. connect_write timeout reached
2020-09-30 19:09:21 +0000 [warn]: [elasticsearch] Remaining retry: 14. Retry to communicate after 2 second(s).
And the ES log:
+ export NODE_NAME=elasticsearch-logging-0
+ NODE_NAME=elasticsearch-logging-0
+ export NODE_MASTER=true
+ NODE_MASTER=true
+ export NODE_DATA=true
+ NODE_DATA=true
+ export HTTP_PORT=9200
+ HTTP_PORT=9200
+ export TRANSPORT_PORT=9300
+ TRANSPORT_PORT=9300
+ export MINIMUM_MASTER_NODES=1
+ MINIMUM_MASTER_NODES=1
+ chown -R elasticsearch:elasticsearch /data
+ ./bin/elasticsearch_logging_discovery
I0930 19:10:54.168831 9 elasticsearch_logging_discovery.go:85] Kubernetes Elasticsearch logging discovery
I0930 19:10:54.179870 9 elasticsearch_logging_discovery.go:142] Found []
I0930 19:11:04.182707 9 elasticsearch_logging_discovery.go:142] Found ["10.1.136.135"]
I0930 19:11:04.182741 9 elasticsearch_logging_discovery.go:153] Endpoints = ["10.1.136.135"]
+ exec su elasticsearch -c /usr/local/bin/docker-entrypoint.sh
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
[2020-09-30T19:11:06,702][WARN ][o.e.c.l.LogConfigurator ] [elasticsearch-logging-0] Some logging configurations have %marker but don't have %node_name. We will automatically add %node_name to the pattern to ease the migration for users who customize log4j2.properties but will stop this behavior in 7.0. You should manually replace `%node_name` with `[%node_name]%marker ` in these locations:
/usr/share/elasticsearch/config/log4j2.properties
[2020-09-30T19:11:07,031][INFO ][o.e.e.NodeEnvironment ] [elasticsearch-logging-0] using [1] data paths, mounts [[/data (/dev/sda2)]], net usable_space [107.5gb], net total_space [124gb], types [ext4]
[2020-09-30T19:11:07,067][INFO ][o.e.e.NodeEnvironment ] [elasticsearch-logging-0] heap size [1015.6mb], compressed ordinary object pointers [true]
[2020-09-30T19:11:07,070][INFO ][o.e.n.Node ] [elasticsearch-logging-0] node name [elasticsearch-logging-0], node ID [2jVwW_V7Sd2pN_KazpSQDg], cluster name [kubernetes-logging]
[2020-09-30T19:11:07,070][INFO ][o.e.n.Node ] [elasticsearch-logging-0] version[7.4.2], pid[15], build[oss/docker/2f90bbf7b93631e52bafb59b3b049cb44ec25e96/2019-10-28T20:40:44.881551Z], OS[Linux/4.15.0-118-generic/amd64], JVM[AdoptOpenJDK/OpenJDK 64-Bit Server VM/13.0.1/13.0.1+9]
[2020-09-30T19:11:07,070][INFO ][o.e.n.Node ] [elasticsearch-logging-0] JVM home [/usr/share/elasticsearch/jdk]
[2020-09-30T19:11:07,070][INFO ][o.e.n.Node ] [elasticsearch-logging-0] JVM arguments [-Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=/tmp/elasticsearch-1281634468571725669, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Djava.locale.providers=COMPAT, -Des.cgroups.hierarchy.override=/, -Dio.netty.allocator.type=unpooled, -XX:MaxDirectMemorySize=536870912, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/usr/share/elasticsearch/config, -Des.distribution.flavor=oss, -Des.distribution.type=docker, -Des.bundled_jdk=true]
[2020-09-30T19:11:08,282][INFO ][o.e.p.PluginsService ] [elasticsearch-logging-0] loaded module [aggs-matrix-stats]
[2020-09-30T19:11:08,282][INFO ][o.e.p.PluginsService ] [elasticsearch-logging-0] loaded module [analysis-common]
[2020-09-30T19:11:08,282][INFO ][o.e.p.PluginsService ] [elasticsearch-logging-0] loaded module [ingest-common]
[2020-09-30T19:11:08,282][INFO ][o.e.p.PluginsService ] [elasticsearch-logging-0] loaded module [ingest-geoip]
[2020-09-30T19:11:08,282][INFO ][o.e.p.PluginsService ] [elasticsearch-logging-0] loaded module [ingest-user-agent]
[2020-09-30T19:11:08,282][INFO ][o.e.p.PluginsService ] [elasticsearch-logging-0] loaded module [lang-expression]
[2020-09-30T19:11:08,282][INFO ][o.e.p.PluginsService ] [elasticsearch-logging-0] loaded module [lang-mustache]
[2020-09-30T19:11:08,282][INFO ][o.e.p.PluginsService ] [elasticsearch-logging-0] loaded module [lang-painless]
[2020-09-30T19:11:08,282][INFO ][o.e.p.PluginsService ] [elasticsearch-logging-0] loaded module [mapper-extras]
[2020-09-30T19:11:08,282][INFO ][o.e.p.PluginsService ] [elasticsearch-logging-0] loaded module [parent-join]
[2020-09-30T19:11:08,282][INFO ][o.e.p.PluginsService ] [elasticsearch-logging-0] loaded module [percolator]
[2020-09-30T19:11:08,282][INFO ][o.e.p.PluginsService ] [elasticsearch-logging-0] loaded module [rank-eval]
[2020-09-30T19:11:08,282][INFO ][o.e.p.PluginsService ] [elasticsearch-logging-0] loaded module [reindex]
[2020-09-30T19:11:08,283][INFO ][o.e.p.PluginsService ] [elasticsearch-logging-0] loaded module [repository-url]
[2020-09-30T19:11:08,283][INFO ][o.e.p.PluginsService ] [elasticsearch-logging-0] loaded module [transport-netty4]
[2020-09-30T19:11:08,283][INFO ][o.e.p.PluginsService ] [elasticsearch-logging-0] no plugins loaded
[2020-09-30T19:11:13,022][INFO ][o.e.d.DiscoveryModule ] [elasticsearch-logging-0] using discovery type [zen] and seed hosts providers [settings]
[2020-09-30T19:11:13,827][INFO ][o.e.n.Node ] [elasticsearch-logging-0] initialized
[2020-09-30T19:11:13,827][INFO ][o.e.n.Node ] [elasticsearch-logging-0] starting ...
[2020-09-30T19:11:14,131][INFO ][o.e.t.TransportService ] [elasticsearch-logging-0] publish_address {10.1.136.135:9300}, bound_addresses {10.1.136.135:9300}
[2020-09-30T19:11:14,155][INFO ][o.e.b.BootstrapChecks ] [elasticsearch-logging-0] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2020-09-30T19:11:14,196][INFO ][o.e.c.c.Coordinator ] [elasticsearch-logging-0] setting initial configuration to VotingConfiguration{2jVwW_V7Sd2pN_KazpSQDg}
[2020-09-30T19:11:14,393][INFO ][o.e.c.s.MasterService ] [elasticsearch-logging-0] elected-as-master ([1] nodes joined)[{elasticsearch-logging-0}{2jVwW_V7Sd2pN_KazpSQDg}{QQmPAS2hQKmY2E3PBByFqw}{10.1.136.135}{10.1.136.135:9300}{dim} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 1, version: 1, reason: master node changed {previous [], current [{elasticsearch-logging-0}{2jVwW_V7Sd2pN_KazpSQDg}{QQmPAS2hQKmY2E3PBByFqw}{10.1.136.135}{10.1.136.135:9300}{dim}]}
[2020-09-30T19:11:14,452][INFO ][o.e.c.c.CoordinationState] [elasticsearch-logging-0] cluster UUID set to [xHjNlCnrRzG58N26P04Xlw]
[2020-09-30T19:11:14,479][INFO ][o.e.c.s.ClusterApplierService] [elasticsearch-logging-0] master node changed {previous [], current [{elasticsearch-logging-0}{2jVwW_V7Sd2pN_KazpSQDg}{QQmPAS2hQKmY2E3PBByFqw}{10.1.136.135}{10.1.136.135:9300}{dim}]}, term: 1, version: 1, reason: Publication{term=1, version=1}
[2020-09-30T19:11:14,556][INFO ][o.e.g.GatewayService ] [elasticsearch-logging-0] recovered [0] indices into cluster_state
[2020-09-30T19:11:14,557][INFO ][o.e.h.AbstractHttpServerTransport] [elasticsearch-logging-0] publish_address {10.1.136.135:9200}, bound_addresses {10.1.136.135:9200}
[2020-09-30T19:11:14,557][INFO ][o.e.n.Node ] [elasticsearch-logging-0] started
[2020-09-30T19:11:16,914][INFO ][o.e.c.m.MetaDataCreateIndexService] [elasticsearch-logging-0] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[2020-09-30T19:11:16,969][INFO ][o.e.c.r.a.AllocationService] [elasticsearch-logging-0] updating number_of_replicas to [0] for indices [.kibana_1]
[2020-09-30T19:11:17,333][INFO ][o.e.c.r.a.AllocationService] [elasticsearch-logging-0] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[2020-09-30T19:11:20,220][WARN ][o.e.d.a.b.BulkRequestParser] [elasticsearch-logging-0] [types removal] Specifying types in bulk requests is deprecated.
[2020-09-30T19:11:20,240][INFO ][o.e.c.m.MetaDataCreateIndexService] [elasticsearch-logging-0] [logstash-2020.09.30] creating index, cause [auto(bulk api)], templates [], shards [1]/[1], mappings []
[2020-09-30T19:11:20,538][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2020.09.30/8ibgjfuCQPme_HOmS7_M_A] create_mapping [_doc]
[2020-09-30T19:11:20,590][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2020.09.30/8ibgjfuCQPme_HOmS7_M_A] update_mapping [_doc]
[2020-09-30T19:11:21,237][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2020.09.30/8ibgjfuCQPme_HOmS7_M_A] update_mapping [_doc]
[2020-09-30T19:11:22,272][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2020.09.30/8ibgjfuCQPme_HOmS7_M_A] update_mapping [_doc]
[2020-09-30T19:11:23,252][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2020.09.30/8ibgjfuCQPme_HOmS7_M_A] update_mapping [_doc]
[2020-09-30T19:11:23,310][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2020.09.30/8ibgjfuCQPme_HOmS7_M_A] update_mapping [_doc]
[2020-09-30T19:11:23,403][INFO ][o.e.c.m.MetaDataMappingService] [elasticsearch-logging-0] [logstash-2020.09.30/8ibgjfuCQPme_HOmS7_M_A] update_mapping [_doc]