会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Maniana
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
14
下一页
2023年7月25日
安装ingress-nginx
摘要: 官方网站 https://github.com/kubernetes/ingress-nginx 查看自己的K8S版本选择ingres-nginx对应版本 我的k8s版本是1.23安装的ingress-nginx版本是1.6.4 wget https://github.com/kubernetes/
阅读全文
posted @ 2023-07-25 15:29 Maniana
阅读(1496)
评论(0)
推荐(0)
2023年7月18日
基于Jenkins+k8s+Git等技术构建DevOps平台
摘要: 创建ns和sa并授权 [root@sy-master01 ~]# kubectl create namespace jenkins-k8s [root@sy-master01 ~]# kubectl create sa jenkins-k8s-sa -n jenkins-k8s [root@sy-m
阅读全文
posted @ 2023-07-18 16:55 Maniana
阅读(161)
评论(0)
推荐(0)
2023年4月17日
Centos安装Redis
摘要: 下载Redis wget https://github.com/redis/redis/archive/7.0.10.tar.gz 解压 tar -zxf 7.0.10.tar.gz -C /usr/local/ cd /usr/local/redis-7.0.10 mv /usr/local/re
阅读全文
posted @ 2023-04-17 17:17 Maniana
阅读(75)
评论(0)
推荐(0)
2023年3月3日
Pod资源需求和资源限制
摘要: [root@master resource]# kubectl apply -f resource-requests-demo.yaml [root@master resource]# cat resource-requests-demo.yaml apiVersion: v1 kind: Pod
阅读全文
posted @ 2023-03-03 15:18 Maniana
阅读(41)
评论(0)
推荐(0)
2023年2月10日
Pod多容器
摘要: init容器 [root@master k8s]# kubectl apply -f init-container-demo.yaml [root@master k8s]# cat init-container-demo.yaml apiVersion: v1 kind: Pod metadata:
阅读全文
posted @ 2023-02-10 21:31 Maniana
阅读(46)
评论(0)
推荐(0)
2023年2月9日
lifecycle 生命周期
摘要: [root@master probe]# cat lifecycle-demo.yaml apiVersion: v1 kind: Pod metadata: name: lifecycle-demo namespace: default spec: containers: - name: demo
阅读全文
posted @ 2023-02-09 17:55 Maniana
阅读(71)
评论(0)
推荐(0)
kubernetes探针
摘要: LivenessProbe:周期性检测,检测未通过时,kubelet会根据restartPolicy的定义来决定是否会重启该容器;未定义时,kubelet认为容器未终止,即为健康; ReadnessProbe:周期性检测,检测未通过时,与该Pod关联的Service,会将该Pod从Service的后
阅读全文
posted @ 2023-02-09 17:35 Maniana
阅读(50)
评论(0)
推荐(0)
2022年11月30日
Istio上客户端与网关建立TLS通信
摘要: [root@master certificates]# openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -subj '/O=Yang Inc./CN=yang.com' -keyout yang.com.key -out yan
阅读全文
posted @ 2022-11-30 23:19 Maniana
阅读(64)
评论(0)
推荐(0)
2022年11月29日
Istio网格中的分布式跟踪
摘要: 全局配置 部署网格时,通过IstioOperator配置中的MeshConfig段进行全局配置 部署网格后,通过IstioOperator配置中的MeshConfig段进行全局配置 meshConfig: enableTracing: true #启用tracing机制 defaultConfig:
阅读全文
posted @ 2022-11-29 19:11 Maniana
阅读(174)
评论(0)
推荐(0)
Istio启用网格访问日志
摘要: 在IstioOperator中,通过MeshConfig启用 accessLogFile 访问日志的日志文件路径,例如/dev/stdout,空值表示禁用该日志; accessLogFormat 访问日志的日志格式,空值表示使用默认的日志格式; accessLogEncoding 访问日志编码格式,
阅读全文
posted @ 2022-11-29 18:27 Maniana
阅读(248)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
14
下一页
公告