This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
TMPFILE="/tmp/xtrabackup-runner.$$.tmp" | |
USEROPTIONS="--user=${MYSQL_USER} --password=${MYSQL_PASSWORD} --host=${MYSQL_HOST}" | |
BACKDIR=/srv/mysql-bak | |
BASEBACKDIR=$BACKDIR/base | |
INCRBACKDIR=$BACKDIR/incr | |
FULLBACKUPCYCLE=604800 # Create a new full backup every X seconds | |
KEEP=1 # Number of additional backups cycles a backup should kept for. | |
START=`date +%s` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubernetes/master : kubeadm | Upgrade other masters ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 30.86s | |
container-engine/docker : ensure docker packages are installed ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 23.81s | |
download : download_file | Download item ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 18.89s | |
etcd : Refresh Time Fact ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[all] | |
master-1 ansible_host=xxx.xxx.xxx.xxx ip=yyy.yyy.yyy.yyy | |
master-2 ansible_host=xxx.xxx.xxx.xxx ip=yyy.yyy.yyy.yyy | |
master-3 ansible_host=xxx.xxx.xxx.xxx ip=yyy.yyy.yyy.yyy | |
node-1 ansible_host=xxx.xxx.xxx.xxx ip=yyy.yyy.yyy.yyy | |
node-2 ansible_host=xxx.xxx.xxx.xxx ip=yyy.yyy.yyy.yyy | |
node-3 ansible_host=xxx.xxx.xxx.xxx ip=yyy.yyy.yyy.yyy | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INPUT] | |
Name tail | |
Path /var/lib/docker/containers/*/*.log | |
Parser docker | |
Refresh_Interval 5 | |
Mem_Buf_Limit 0 | |
Skip_Long_Lines On | |
[FILTER] | |
Name grep |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fluent Bit v1.3.6 | |
Copyright (C) Treasure Data | |
[2020/02/10 08:17:44] [debug] [storage] [cio stream] new stream registered: tail.0 | |
[2020/02/10 08:17:44] [ info] [storage] initializing... | |
[2020/02/10 08:17:44] [ info] [storage] in-memory | |
[2020/02/10 08:17:44] [ info] [storage] normal synchronization mode, checksum disabled, max_chunks_up=128 | |
[2020/02/10 08:17:44] [ info] [engine] started (pid=1) | |
[2020/02/10 08:17:44] [debug] [engine] coroutine stack size: 24576 bytes (24.0K) | |
[2020/02/10 08:17:44] [debug] [in_tail] inotify watch fd=19 |