会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
归来是少年
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
13
14
···
24
下一页
2022年11月13日
Dashboard部署
摘要: 官网 https://kubernetes.io/zh-cn/docs/tasks/access-application-cluster/web-ui-dashboard/ 一、下载资源清单文件 上述官网提供的地址无法访问,所以无法直接部署 #官方给的地址 kubectl apply -f http
阅读全文
posted @ 2022-11-13 18:28 弩哥++
阅读(86)
评论(0)
推荐(0)
2022年11月10日
生成自签证书
摘要: # req 创建和处理证书请求的工具,它还能建立自签名的证书,做RootCA用 # -x509 产生自签名的证书,而不是证书请求 # -sha256 sha256摘要算法 # -nodes 表示私钥不加密,若不带参数将提示输入密码 # days 365天 # -newkey 创建新的CSR和新的私钥
阅读全文
posted @ 2022-11-10 15:51 弩哥++
阅读(46)
评论(0)
推荐(0)
ingressClassName
摘要: 一、ingressClassName作用 可以指定ingress controller 不能不写,也不能乱写 之前部署的ingress-nginx,这里就要写nginx 二、由于之前没有添加这个字段,访问的时候报404错误
阅读全文
posted @ 2022-11-10 11:56 弩哥++
阅读(211)
评论(0)
推荐(0)
2022年11月9日
Ingress-nginx资源清单
摘要: http apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: ingress-http namespace: test spec: ingressClassName: nginx rules: - host: test.ngi
阅读全文
posted @ 2022-11-09 19:44 弩哥++
阅读(69)
评论(0)
推荐(0)
Ingress安装部署
摘要: 一、官网介绍 https://kubernetes.io/zh-cn/docs/concepts/services-networking/ingress/ 二、Ingress是什么? 三、ingress-nginx安装 https://kubernetes.github.io/ingress-ngi
阅读全文
posted @ 2022-11-09 16:54 弩哥++
阅读(838)
评论(0)
推荐(0)
2022年11月4日
k8s-HorizontalPodAutoscaler(水平自动扩缩)
摘要: 官网 https://kubernetes.io/zh-cn/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/ 第一、需要部署配置metrics server的集群 kubernetes Metrics Server 从
阅读全文
posted @ 2022-11-04 11:36 弩哥++
阅读(166)
评论(0)
推荐(0)
2022年11月2日
pod容忍(toleration)
摘要: 污点就是拒绝,容忍就是忽略,Node通过污点拒绝pod调度上去,Pod通过容忍忽略拒绝 apiVersion: apps/v1 kind: Deployment metadata: name: my-deployment namespace: test spec: replicas: 1 selec
阅读全文
posted @ 2022-11-02 18:46 弩哥++
阅读(37)
评论(0)
推荐(0)
pod亲和性(Affinity)清单
摘要: apiVersion: apps/v1 kind: Deployment metadata: name: my-deployment namespace: test spec: replicas: 1 selector: matchLabels: environment: stg template:
阅读全文
posted @ 2022-11-02 17:47 弩哥++
阅读(73)
评论(0)
推荐(0)
调整vim Tab键默认空格
摘要: 背景:方便书写yaml #vim /etc/vimrc # ts=> tabstop :一个TAB字符占多少个空格 # sw=> shiftwidth: 每层缩进的空格数 set ts=2 set sw=2
阅读全文
posted @ 2022-11-02 15:24 弩哥++
阅读(30)
评论(0)
推荐(0)
控制器Deployment资源清单
摘要: 官网 https://kubernetes.io/zh-cn/docs/concepts/workloads/controllers/deployment/ apiVersion: apps/v1 kind: Deployment metadata: name: my-deployment name
阅读全文
posted @ 2022-11-02 11:10 弩哥++
阅读(29)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
24
下一页
公告