会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
执酒
博客园
首页
新随笔
联系
订阅
管理
随笔 - 59
文章 - 0
评论 - 15
阅读 -
18万
[置顶]
Kubernetes 修改svc后端endpoint地址
摘要: 场景:假设在K8S中有A应用需要访问B应用。A应用以svc name访问B应用,此时B应用SVC 后端的pod无法正常工作,不能及时恢复。应用连接失败。现需及时恢复应用将A应用连接K8S外部C应用。在不修改A应用中svc访问方式下同时恢复应用。 一、备份SVC和endpoint的YAML文件 kub
阅读全文
posted @ 2024-09-12 19:40 执酒
阅读(110)
评论(0)
推荐(0)
2025年1月10日
failed to run Kubelet: unable to load bootstrap kubeconfig: stat /etc/kubernetes/bootstrap-kubelet
摘要: 解决方法 备份重新生成证书 # cd /etc/kubernetes/pki/ # mkdir backup # mv apiserver.crt apiserver-etcd-client.key apiserver-kubelet-client.crt front-proxy-ca.crt fr
阅读全文
posted @ 2025-01-10 09:34 执酒
阅读(484)
评论(0)
推荐(0)
2022年9月13日
基于kube-vip搭建kubernetes1.24
摘要: 一、规划 服务器规划: 系统 内核版本 IP 主机名 角色 Ubuntu 22.04.1 LTS 5.15.0-46-generic 172.16.19.171 k8s-master01 control-plane Ubuntu 22.04.1 LTS 5.15.0-46-generic 172.1
阅读全文
posted @ 2022-09-13 22:08 执酒
阅读(905)
评论(0)
推荐(0)
2022年3月17日
k8s creationTimestamp 参数
摘要: sed -i "s/Timestamp/`date +%s`/g" nginx-app.yaml' 每次更新的时候修改Timestamp 标签参数,那么每次发布都会都是自动更新删除老的pod apiVersion: apps/v1 kind: Deployment metadata: labels:
阅读全文
posted @ 2022-03-17 17:00 执酒
阅读(1416)
评论(0)
推荐(0)
2021年11月25日
coredns bug
摘要: 记录coredns bug修复 kubectl get pods -n kube-system [root@k8s-master coredns]# kubectl get pods -n kube-system NAME READY STATUS RESTARTS AGE calico-kube-
阅读全文
posted @ 2021-11-25 15:17 执酒
阅读(1327)
评论(0)
推荐(0)
2021年4月17日
harbor 2.0安装
摘要: 1、Harbor安装文件下载 Github地址:https://github.com/goharbor/harbor/releases/ 2、下载docker-compose Github地址:https://github.com/docker/compose/releases/ 3、下载后放置到L
阅读全文
posted @ 2021-04-17 12:03 执酒
阅读(373)
评论(0)
推荐(0)
2021年2月22日
externalIPs
摘要: 场景:AB 集群业务互相访问 1.将运行svc的主机设置为不可调度2.构建svc时候用externalIPs指定运行svc的主机内网IP3.A B两个集群做同样的操作4.A B集群构建svc时候用endpoints执行需要访问的另外集群的svc主机内网IP demo 启动一个nginx服务 并设置e
阅读全文
posted @ 2021-02-22 17:39 执酒
阅读(1104)
评论(0)
推荐(0)
2020年12月16日
外部prometheus 监控istio
摘要: 概念: prometheus 安装 其他namespace 下。 istio-system空间下 不启动istio。 访问kiali 时候 graph 会显示未连接到prometheus 。这是由于 istio-system下没有prometheus prometheus 在monitor-sa 命
阅读全文
posted @ 2020-12-16 15:16 执酒
阅读(1226)
评论(0)
推荐(0)
2020年12月9日
YAML DEMO
摘要: 有时候会用到避免重写,重找麻烦 1.busybox apiVersion: apps/v1 kind: Deployment metadata: name: client spec: replicas: 1 selector: matchLabels: app: client template: m
阅读全文
posted @ 2020-12-09 11:40 执酒
阅读(177)
评论(0)
推荐(0)
kiali 1.26 anonymous策略修改为token
摘要: 前言 有段时间没关注istio了,现在都已经升级到1.80版本了。现在Istio已经完全弃用Mixer组件。 安装还是老样子的安装,不过从istio1.7开始 安装kiali prometheus grafana jaeger等插件已经不能使用istioctl来安装了,需要使用kubectl来指定安
阅读全文
posted @ 2020-12-09 10:45 执酒
阅读(1656)
评论(0)
推荐(0)
下一页
公告
昵称:
执酒
园龄:
7年10个月
粉丝:
10
关注:
1
<
2025年6月
>
日
一
二
三
四
五
六
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
点击右上角即可分享