会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
黄褐色的菊花怪
大大怪将军!!!
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
17
下一页
2024年2月26日
K8S部署lcoal StorageClass并测试PVC
摘要: 1、下载官方yaml 做简单的修改把安装的命名空间放在kube-system中。 修改默认存储的path路径为:/data/local-path-sc。 wget https://raw.githubusercontent.com/rancher/local-path-provisioner/mas
阅读全文
posted @ 2024-02-26 12:28 Gshelldon
阅读(217)
评论(0)
推荐(0)
2024年2月1日
Kubernetes 为用户使用 Dashboard 创建 RBAC 权限
摘要: 文章目录 目录文章目录一、创建 Namespace二、创建 ServiceAccount三、创建 Namespace 的 RBAC 权限1、方式一:使用系统提供角色分配 Namespace 权限2、方式二:使用自定义角色分配 Namespace 权限四、解决登录 Dashboard 不能选择 Nam
阅读全文
posted @ 2024-02-01 16:35 Gshelldon
阅读(221)
评论(0)
推荐(0)
2024年1月17日
nginx的https证书自动续期
摘要: nginx的https证书自动续期 本文讲述 nginx 的 https 证书如何自动续期。顺便讲述如何手动续期,如何方便地管理所有域名证书。有很多实现方案,包括收费方案和免费方案,本文采用的是 acme.sh 方案。 1. 安装 acme 客户端 需要将系统环境切换到root用户下执行,否则安装证
阅读全文
posted @ 2024-01-17 16:20 Gshelldon
阅读(4192)
评论(0)
推荐(0)
2023年9月21日
Nginx基于基本身份认证的文件服务
摘要: Nginx基于基本身份认证的文件服务 1、配置文件 server { listen 80; server_name jili.kaikai.com; location / { root /opt/jili; autoindex on; charset utf-8; auth_basic "authe
阅读全文
posted @ 2023-09-21 08:41 Gshelldon
阅读(72)
评论(0)
推荐(0)
2023年8月3日
nsenter的使用
摘要: # nsenter的使用 ```bash $ nsenter --help 用法: nsenter [选项] [ [...]] 以其他程序的名字空间运行某个程序。 选项: -a, --all enter all namespaces -t, --target 要获取名字空间的目标进程 -m, --m
阅读全文
posted @ 2023-08-03 15:35 Gshelldon
阅读(154)
评论(0)
推荐(0)
2023年7月14日
数据库导出指定的时间段
摘要: ```bash #!/bin/bash export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin' USER=admin2 PASS=L4bAWUye2A4JNN! DB_NAME=ng_kboss_person
阅读全文
posted @ 2023-07-14 09:41 Gshelldon
阅读(113)
评论(0)
推荐(0)
2023年7月10日
kubespaere 定时任务备份etcd
摘要: ```bash backup-etcd.sh #!/bin/bash ETCDCTL_PATH='/usr/bin/etcdctl' ENDPOINTS='https://192.168.21.196:2379' ETCD_DATA_DIR="/var/lib/etcd" BACKUP_DIR="/
阅读全文
posted @ 2023-07-10 15:13 Gshelldon
阅读(75)
评论(0)
推荐(0)
2023年7月3日
K8S 部署seata 1.6.x高可用集群
摘要: 写在之前 seata 1.6 无法注册到nacos 配置中心 下面有说原因。 2023年7月2日 gshelldon写的博客。 大于 1.4版本之后,配置文件就不是用registry.conf了所以按照官方的文档搭建都是坑。 默认使用application.yml的配置文件进行管理。 都是坑!!!害
阅读全文
posted @ 2023-07-03 10:49 Gshelldon
阅读(943)
评论(0)
推荐(0)
2023年6月25日
主机端口流量异常分析
摘要: # iftop 工具 https://mp.weixin.qq.com/s/NYsE1Oe8G3IanMw1p9_GUA ## 1、安装工具 ```bash yum -y install iftop ``` ## 2、常用参数 ```bash -i 指定需要检测的网卡, 如果有多个网络接口,则需要注
阅读全文
posted @ 2023-06-25 21:31 Gshelldon
阅读(245)
评论(0)
推荐(0)
2023年6月16日
docker加速的配置
摘要: # docker 加速的配置 ```bash mkdir -p /etc/systemd/system/docker.service.d cat >> /etc/systemd/system/docker.service.d/http-proxy.conf << EOF [Service] Envi
阅读全文
posted @ 2023-06-16 15:31 Gshelldon
阅读(91)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
17
下一页
公告