From d12e9856ea7ab838e93708068cde2ca21eaba79a Mon Sep 17 00:00:00 2001 From: Junwei Zhao Date: Tue, 1 Oct 2024 23:29:12 +1000 Subject: [PATCH] Update --- k8s.sh | 10 ++++++++++ redis.md | 6 ++++++ 2 files changed, 16 insertions(+) create mode 100644 k8s.sh create mode 100644 redis.md diff --git a/k8s.sh b/k8s.sh new file mode 100644 index 0000000..70b7445 --- /dev/null +++ b/k8s.sh @@ -0,0 +1,10 @@ +# Errors +# The connection to the server localhost:8080 was refused - did you specify the right host or port? + +export KUBECONFIG=/etc/kubernetes/admin.conf + +# Then + +kubectl get pods + + diff --git a/redis.md b/redis.md new file mode 100644 index 0000000..f876904 --- /dev/null +++ b/redis.md @@ -0,0 +1,6 @@ +## │ 1:M 01 Oct 2024 13:20:15.014 # Bad file format reading the append only file appendonly.aof.92852.incr.aof: make a backup of your AOF file, then use ./redis-check-aof --fix + +``` +# cp aof file ... +sudo apt install redis-tools +sudo redis-check-aof --fix appendonly.aof.92852.incr.aof