会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Coreqi
博客园
首页
新随笔
联系
管理
上一页
1
···
14
15
16
17
18
19
20
21
22
···
68
下一页
2023年4月8日
Docker中安装Gitea
摘要: 官方介绍地址:https://docs.gitea.io/zh-cn/install-with-docker/ 1.docker compose 文件 注意:在docker compose文件中同时声明gitea及mysql,若mysql中存储了其他的数据库,当使用docker compose移除命
阅读全文
posted @ 2023-04-08 19:51 SpringCore
阅读(493)
评论(0)
推荐(0)
2023年4月2日
前端通过Swagger生成相关接口文件
摘要: 1.Swagger 多分组 在很多大型系统中,为了方便对接口进行归类,往往使用了 Swagger 多分组功能,这样会使系统的接口散落在多个 swagger.json 中。 将SpecificationDocumentSettings属性的EnableAllGroups设置为true。 启用之后在 S
阅读全文
posted @ 2023-04-02 14:10 SpringCore
阅读(563)
评论(0)
推荐(1)
2023年3月27日
一套sql面试题的mysql解法
摘要: 1.表T(a,b,c,d),要根据字段c排序后取第21—30条记录显示,请给出sql select * from T order by c [desc] limit 20,10 2.表T(a,b,c,d)和表T1(a1,b1,c1,d1),表T中a字段是T1中的a1的外键,请用T1表中的c1,d1更
阅读全文
posted @ 2023-03-27 16:04 SpringCore
阅读(133)
评论(0)
推荐(0)
2023年3月4日
k8s-安装负载均衡器
摘要: 本文章是 k8s二进制高可用集群部署 的分支。详细步骤请参考目录。 k8s的LoadBalancer类型的Service依赖于外部的云提供的Load Balancer。 当我们把k8s部署在裸机上面时,或者是测试环境时,需要简单的LoadBalancer来验证工作. 目前开源市场有三款知名的负载均衡
阅读全文
posted @ 2023-03-04 11:25 SpringCore
阅读(499)
评论(0)
推荐(0)
2023年3月2日
istio 常见问题解决
摘要: 1.Command error output: xtables parameter problem: iptables-restore: unable to initialize table 'nat' Failed to execute: iptables-restore --noflush /t
阅读全文
posted @ 2023-03-02 20:35 SpringCore
阅读(1429)
评论(0)
推荐(0)
2023年3月1日
istio 部署案例应用
摘要: 1.部署 Bookinfo 示例应用 cd /home/istio-1.17.1 kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml service/details created serviceaccount/bookinfo
阅读全文
posted @ 2023-03-01 12:26 SpringCore
阅读(76)
评论(0)
推荐(0)
2023年2月27日
istio在k8s中的部署
摘要: 官方github:https://github.com/istio/istio 官方部署介绍文档:https://istio.io/latest/zh/docs/setup/getting-started/ 1.下载istio curl -L https://istio.io/downloadIst
阅读全文
posted @ 2023-02-27 13:44 SpringCore
阅读(356)
评论(0)
推荐(0)
2023年2月25日
k8s-操作系统初始化
摘要: 本文章是 k8s二进制高可用集群部署 的分支。详细步骤请参考目录。 1.关闭防火墙 systemctl stop firewalld #临时 systemctl disable firewalld #永久 2.关闭SeLinux sed -i 's/enforcing/disabled/' /etc
阅读全文
posted @ 2023-02-25 21:42 SpringCore
阅读(309)
评论(0)
推荐(0)
2023年2月24日
k8s-部署Nginx+Keepalived高可用负载均衡器
摘要: 本文章是 k8s二进制高可用集群部署 的分支。详细步骤请参考目录。 Kubernetes集群高可用性包含以下两个层面的考虑: Etcd数据库的高可用性 Kubernetes Master组件的高可用性 Master节点扮演着总控中心的角色,通过不断与工作节点上的Kubelet和kube-proxy进
阅读全文
posted @ 2023-02-24 21:48 SpringCore
阅读(2853)
评论(0)
推荐(0)
k8s-新增服务端节点
摘要: 本文章是 k8s二进制高可用集群部署 的分支。详细步骤请参考目录。 1.etcd扩容 **如果etcd通过CA生成的证书不包含当前节点的ip,可能etcd集群需要重新生成证书。 1.复制相关文件 scp /opt/etcd/{cfg,ssl} root@192.168.64.131:/opt/etc
阅读全文
posted @ 2023-02-24 17:04 SpringCore
阅读(379)
评论(0)
推荐(0)
上一页
1
···
14
15
16
17
18
19
20
21
22
···
68
下一页
公告