跳转到内容

SRE笔记

  • 密码
    • 短链
  • 服务器
  • 关于

redissearch搜索

cm ConfigMap apiVersion: v1 kind: ConfigMap metada… 继续阅读 redissearch搜索

  • 发表于: 2022-02-19 2022-02-19
  • 作者: stnds
  • 分类: SRE
  • 标签: redis, redisearch, yaml
  • 发表评论: redissearch搜索

docker run elasticsearch 8.0.0

docker run -d –name elasticsearch –net somenetwo… 继续阅读 docker run elasticsearch 8.0.0

  • 发表于: 2022-02-19 2022-02-19
  • 作者: stnds
  • 分类: SRE
  • 标签: bash, Docker, elasticsearch, https, node
  • 发表评论: docker run elasticsearch 8.0.0

清除所有ipvs规则

ipvsadm –clear

  • 发表于: 2022-02-18 2022-02-18
  • 作者: stnds
  • 分类: SRE
  • 标签: bash, https, ipvs
  • 发表评论: 清除所有ipvs规则

Command failed: git clone –mirror -q git://github.com/adobe-webplatform/eve.git

报错: npm ERR! fatal: read error: Invalid argument 先… 继续阅读 Command failed: git clone –mirror -q git://github.com/adobe-webplatform/eve.git

  • 发表于: 2022-02-18 2022-02-18
  • 作者: stnds
  • 分类: SRE
  • 标签: bash, git, https, npm
  • 发表评论: Command failed: git clone –mirror -q git://github.com/adobe-webplatform/eve.git

docker查看磁盘占用情况

[root@node01 ~]# docker system df TYPE TOTAL ACTIV… 继续阅读 docker查看磁盘占用情况

  • 发表于: 2022-02-18 2022-02-18
  • 作者: stnds
  • 分类: SRE
  • 标签: bash, Docker, https
  • 发表评论: docker查看磁盘占用情况

使用 kubectl autoscale 命令创建 deployment HPA

#deployment必须有requests,否则不能正常扩缩容 #会根据设定的 cpu 使用率(5… 继续阅读 使用 kubectl autoscale 命令创建 deployment HPA

  • 发表于: 2022-02-18 2022-07-13
  • 作者: stnds
  • 分类: SRE
  • 标签: bash, cpu, https, requests
  • 发表评论: 使用 kubectl autoscale 命令创建 deployment HPA

mysql授权到function

mysql> grant execute on function mydb.myfunc to… 继续阅读 mysql授权到function

  • 发表于: 2022-02-18 2022-02-18
  • 作者: stnds
  • 分类: SRE
  • 标签: https, MySQL, sql
  • 发表评论: mysql授权到function

vim取消高亮

输入 : :noh

  • 发表于: 2022-02-18 2022-02-18
  • 作者: stnds
  • 分类: SRE
  • 标签: bash, https, vim
  • 发表评论: vim取消高亮

BBR加速内核

wget –no-check-certificate https://github.com/ted… 继续阅读 BBR加速内核

  • 发表于: 2022-02-18 2022-02-18
  • 作者: stnds
  • 分类: SRE
  • 标签: bash, https
  • 发表评论: BBR加速内核

Apline使用轻量级的libc库musl

RUN mkdir /lib64 && ln -s /lib/libc.musl-x… 继续阅读 Apline使用轻量级的libc库musl

  • 发表于: 2022-02-18 2022-02-18
  • 作者: stnds
  • 分类: SRE
  • 标签: https, Linux
  • 发表评论: Apline使用轻量级的libc库musl

kubernetes pod 客户端ip会话亲和性

svc: sessionAffinity: ClientIP sessionAffinityConf… 继续阅读 kubernetes pod 客户端ip会话亲和性

  • 发表于: 2022-02-18 2022-02-18
  • 作者: stnds
  • 分类: SRE
  • 标签: hash, http, https, I/O, ingress, kubernetes, nginx, yaml
  • 发表评论: kubernetes pod 客户端ip会话亲和性

gitlab 项目迁移后报500

EE版本执行命令 gitlab-rails runner “Project.where(mirror… 继续阅读 gitlab 项目迁移后报500

  • 发表于: 2022-02-18 2022-02-18
  • 作者: stnds
  • 分类: SRE
  • 标签: bash, gitlab
  • 发表评论: gitlab 项目迁移后报500

文谷疑云

左中,左下,下中,右下,右中,中

  • 发表于: 2022-02-18 2022-02-18
  • 作者: stnds
  • 分类: SRE
  • 标签: https
  • 发表评论: 文谷疑云

linux 清除历史记录

>~/.bash_history history -c exit

  • 发表于: 2022-02-16 2022-02-16
  • 作者: stnds
  • 分类: SRE
  • 标签: bash, https, Linux
  • 发表评论: linux 清除历史记录

windows查看电池状态

powercfg /batteryreport /output “D:\btr.html”

  • 发表于: 2022-02-15 2022-02-15
  • 作者: stnds
  • 分类: SRE
  • 标签: html, https, windows
  • 发表评论: windows查看电池状态

linux ssh 超时时间

if ! grep “TMOUT=600” /etc/profile &>/dev/n… 继续阅读 linux ssh 超时时间

  • 发表于: 2022-02-15 2022-02-15
  • 作者: stnds
  • 分类: SRE, 开发
  • 标签: bash, grep, https, Linux, ssh
  • 发表评论: linux ssh 超时时间

Nginx访问日志分析

#!/bin/bash # format: $remote_addr – $remote_user … 继续阅读 Nginx访问日志分析

  • 发表于: 2022-02-15 2022-02-15
  • 作者: stnds
  • 分类: SRE
  • 标签: awk, bash, http
  • 发表评论: Nginx访问日志分析

kubeadm查看证书有效期

kubeadm certs check-expiration

  • 发表于: 2022-02-15 2022-02-15
  • 作者: stnds
  • 分类: SRE
  • 标签: bash, https
  • 发表评论: kubeadm查看证书有效期

golang模拟三元运算符

func If[T any](cond bool, trueValue, falseValue T)… 继续阅读 golang模拟三元运算符

  • 发表于: 2022-02-15 2022-02-15
  • 作者: stnds
  • 分类: SRE
  • 标签: go, golang, https
  • 发表评论: golang模拟三元运算符

sql server ifnull

替换成isnull

  • 发表于: 2022-02-15 2022-02-15
  • 作者: stnds
  • 分类: SRE
  • 标签: https, sql
  • 发表评论: sql server ifnull

分页

上一页 页码: 1 … 页码: 33 页码: 34 页码: 35 页码: 36 页码: 37 页码: 38 页码: 39 页码: 40 页码: 41 页码: 42 页码: 43 … 页码: 180 下一页

搜索

搜索:

近期评论

  • 周周 发表在《Kubernetes部署NextCloud网盘》
  • mysql m-s via gtid – SRE笔记 发表在《MySQL SET GTID_NEXT》
  • kangder 发表在《Kubernetes部署NextCloud网盘》
  • xs 发表在《Kubernetes部署NextCloud网盘》
  • test 发表在《gin不转义html标签》

标签

aws (15) bash (1123) Blockchain (28) centos (28) Docker (105) elasticsearch (26) eth (34) fil (39) go (129) golang (154) Grafana (13) hpc (15) http (299) https (1999) ingress (14) iptables (20) java (75) JVM (20) kubernetes (309) Linux (546) lotus (30) mongoDB (41) MySQL (184) nginx (112) php (25) python (148) redis (34) s3 (75) shell (20) springboot (32) tcp (69) tomcat (15) ubuntu (31) vue (18) windows (42) wordpress (14) zabbix (37) 夏小胖 (31) 安全 (55) 工具 (451) 折腾 (24) 推荐 (15) 硬件 (61) 网络 (246) 资源 (49)

归档

  • 2024 年 12 月
  • 2024 年 11 月
  • 2024 年 10 月
  • 2024 年 9 月
  • 2024 年 8 月
  • 2024 年 7 月
  • 2024 年 6 月
  • 2024 年 5 月
  • 2024 年 4 月
  • 2024 年 3 月
  • 2024 年 2 月
  • 2024 年 1 月
  • 2023 年 12 月
  • 2023 年 11 月
  • 2023 年 10 月
  • 2023 年 9 月
  • 2023 年 8 月
  • 2023 年 7 月
  • 2023 年 6 月
  • 2023 年 5 月
  • 2023 年 4 月
  • 2023 年 3 月
  • 2023 年 2 月
  • 2023 年 1 月
  • 2022 年 12 月
  • 2022 年 11 月
  • 2022 年 10 月
  • 2022 年 9 月
  • 2022 年 8 月
  • 2022 年 7 月
  • 2022 年 6 月
  • 2022 年 5 月
  • 2022 年 4 月
  • 2022 年 3 月
  • 2022 年 2 月
  • 2022 年 1 月
  • 2021 年 12 月
  • 2021 年 11 月
  • 2021 年 10 月
  • 2021 年 9 月
  • 2021 年 8 月
  • 2021 年 7 月
  • 2021 年 6 月
  • 2021 年 5 月
  • 2021 年 4 月
  • 2021 年 3 月
  • 2021 年 2 月
  • 2021 年 1 月
  • 2020 年 12 月
  • 2020 年 11 月
  • 2020 年 10 月
  • 2020 年 9 月
  • 2020 年 8 月
  • 2020 年 7 月
  • 2020 年 6 月
  • 2020 年 5 月
  • 2020 年 4 月
  • 2020 年 3 月
  • 2020 年 2 月
  • 2020 年 1 月
  • 2019 年 12 月
  • 2019 年 11 月
  • 2019 年 10 月
  • 2019 年 9 月
  • 2019 年 8 月
  • 2019 年 7 月
  • 2019 年 6 月
  • 2019 年 5 月
  • 2019 年 4 月
  • 2019 年 3 月
  • 2019 年 2 月
  • 2019 年 1 月
  • 2018 年 12 月
  • 2018 年 11 月
  • 2018 年 10 月
  • 2018 年 9 月
  • 2018 年 8 月
  • 2018 年 7 月
  • 2018 年 6 月
  • 2018 年 5 月
  • 2018 年 4 月
  • 2018 年 3 月
  • 2018 年 2 月
  • 2018 年 1 月
  • 2017 年 12 月
  • 2017 年 11 月
  • 2017 年 10 月
  • 2017 年 8 月
  • 2017 年 7 月
  • 2017 年 6 月
  • 2017 年 5 月
  • 2017 年 4 月
  • 2017 年 3 月
  • 2017 年 2 月
  • 2017 年 1 月
  • 2016 年 12 月
  • 2016 年 11 月
  • 2016 年 10 月
  • 2016 年 9 月
  • 2016 年 8 月
  • 2016 年 7 月
  • 2016 年 6 月
  • 2016 年 5 月
  • 2016 年 4 月
  • 2016 年 3 月
  • 2016 年 2 月
  • 2016 年 1 月
  • 2015 年 12 月
  • 2015 年 10 月
  • 2015 年 9 月
  • 2015 年 8 月
  • 2015 年 7 月
  • 2015 年 6 月
  • 2015 年 5 月
  • 2015 年 4 月
  • 2015 年 3 月
  • 2015 年 2 月
  • 2015 年 1 月
  • 2014 年 12 月
  • 2014 年 11 月
  • 2014 年 10 月
  • 2014 年 9 月
  • 2014 年 8 月
  • 2014 年 7 月
  • 2014 年 6 月
  • 2014 年 5 月
  • 2014 年 2 月