Using fluent as the docker log driver to collect logs
Preface
The default log driver for docker is json-file Every container will generate a / var/lib/docker/containers/containerID/containerID-json.log locally. The log driver supports extension. This chapter focuses on the fluent driver collecting docker logs
Fluentd is an open source data collector for unified logging layer. It is the sixth CNCF ...
Posted by Mortier on Sun, 16 Feb 2020 03:50:45 +0100
Git Dehydration Edition [10. Internal Mechanism]
a.1 underlying command
Previously, we outlined 30 common Git commands, such as checkout/branch/remote. Since Git's initial goal was a collection of tools, not a VCS system, it contained a large number of underlying commands to be invoked in scripts like Unix systems, so these commands are called under ...
Posted by Drakkie on Sat, 15 Feb 2020 07:39:34 +0100
Complete summary of 23 Java design patterns | Packaged please take away
Design pattern s are a set of repetitive, well-known, categorized, code design experiences.
There are three types of design patterns, 23 of which are:
Creative mode: Singleton mode,Abstract Factory Mode,Builder pattern,Factory Mode,Prototype mode.
Structural pattern: Adapter mode,Bridge mode,Decorat ...
Posted by PrivatePile on Tue, 11 Feb 2020 05:35:50 +0100
54 days machine learning-day4
logistic regression
What is logical regression
Logical regression is used to deal with different classification problems. The purpose here is to predict which group the currently observed objects belong to. It will give you a discrete binary output. A simple example is to judge whether a person will v ...
Posted by gabe33 on Mon, 10 Feb 2020 05:59:43 +0100
wordpress website uses wechat-social-login plug-in for QQ, WeChat, Pin, Github, Mobile number login
Wordpress version: wordpress:4.9.8 version
php version: v7.2.12
The dockcer image is: wordpress:4.9.8
Article Directory
Graphic Authentication Code could not be loaded
Ways to view phpinfo()
docker compile mirror
docker compile mirror error
Use a new mirror that integrates freetype
Reference resour ...
Posted by aravind_mg on Sun, 09 Feb 2020 05:44:59 +0100
Android Banner+Glide realizes offline loading of carousel chart and data cache
First of all, add the following dependencies to build.gradle in app, banner is the frame of carousel chart, glide is the frame of picture loading.
implementation 'com.youth.banner:banner:1.4.9'
implementation 'com.github.bumptech.glide:glide:4.7.1'
annotationProcessor 'com.github.bumptech.glide:compiler ...
Posted by cyber_ghost on Sat, 08 Feb 2020 13:20:36 +0100
Talk about ribbon timeout settings
order
This article mainly studies ribbon timeout settings
To configure
Example
ribbon:
ReadTimeout: 10000
ConnectTimeout: 10000
MaxAutoRetries: 0
MaxAutoRetriesNextServer: 1
eureka:
enabled: true
RibbonClientConfiguration
spring-cloud-netflix-ribbon-2.0.0.RELEASE-sources.jar!/org/springframework/cloud/netflix/ribbon/RibbonClientC ...
Posted by Jason Batten on Fri, 07 Feb 2020 19:28:37 +0100
23, Malicious request recognition based on machine learning and machine learning in security field
This is the author's series of online security self-study course, mainly about the online notes of online security tools and practical operations. I'd like to share it with you and make progress together. The previous article shared the first step of Web penetra ...
Posted by lrsdsout on Wed, 05 Feb 2020 15:07:46 +0100
Andromeda source code parsing (synchronous access to services)
Andromeda
Andromeda is iqiyi's open-source component communication framework for multi process architecture.
github Address: https://github.com/iqiyi/Andromeda
Its characteristics are as follows:
There is no need for the developer to perform bindService() operation or define the Service, just define ...
Posted by Devon11 on Tue, 04 Feb 2020 18:31:52 +0100
Installation of Flannel network plug-in of K8S
1, The role of flannel
1. The main function of CNI network plug-in is to realize POD resources can be trusted across hosts
#test-nodes1 host cannot ping the pod container of test-nodes2 host
[root@test-nodes1 ~]# kubectl get pods -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NOD ...
Posted by tlenker09 on Tue, 04 Feb 2020 17:54:28 +0100