文章分类 -  Kubernetes

摘要:──╼ # kubeadm certs check-expiration [check-expiration] Reading configuration from the cluster... [check-expiration] FYI: You can look at this config 阅读全文
posted @ 2025-09-28 15:17 しみずよしだ 阅读(0) 评论(0) 推荐(0)
摘要:¡¾»·¾³¡¿ CentOS 7.1810 Kubernetes:1.28.2 ¡¾·þÎñÆ÷ÅäÖá¿-3̨ cd /etc/yum.repos.d/ && mkdir CentOS && mv CentOS* CentOS/ vi redhat.repo [redhat] baseurl 阅读全文
posted @ 2024-07-21 10:14 しみずよしだ 阅读(22) 评论(0) 推荐(0)
摘要:一、Basic System #环境依赖说明 #1主2从 v1.28.2 Ubuntu 22.04 LTS containerd://1.6.28 #Cilium #持久化存储依赖于两个存储类 #csi-driver-nfs存储,存储类名称为“nfs-csi”; #openebs存储,存储类名称为“ 阅读全文
posted @ 2024-03-25 15:05 しみずよしだ 阅读(87) 评论(0) 推荐(0)
摘要:#https://github.com/k8sgpt-ai/k8sgpt/releases/download/v0.3.25/k8sgpt_Linux_x86_64.tar.gz root@ubuntu-k8s-master01:~/k8sgpt# tar zxvf k8sgpt_Linux_x86 阅读全文
posted @ 2024-03-22 11:30 しみずよしだ 阅读(23) 评论(0) 推荐(0)
摘要:一、环境 #OS Ubuntu :22.04 #K8S root@ubuntu-k8s-master01:~# kubectl get nodes -o wide NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNE 阅读全文
posted @ 2024-03-21 14:55 しみずよしだ 阅读(627) 评论(1) 推荐(0)
摘要:kubelet-cilium #https://github.com/ishantanu/awesome-kubectl-plugins #kublet-cilium #https://github.com/bmcustodio/kubectl-cilium #下载 https://github.c 阅读全文
posted @ 2024-03-06 10:15 しみずよしだ 阅读(11) 评论(0) 推荐(0)
摘要:部署MetaILB + 启用Cilium Ingress Controller # root@ubuntu-k8s-master01:~# cilium uninstall 🔥 Deleting pods in cilium-test namespace... 🔥 Deleting cilium 阅读全文
posted @ 2024-03-01 09:48 しみずよしだ 阅读(98) 评论(1) 推荐(0)
摘要:配置Cilium & Hubble root@ubuntu-k8s-master01:~# cilium uninstall 🔥 Deleting pods in cilium-test namespace... 🔥 Deleting cilium-test namespace... root@ 阅读全文
posted @ 2024-02-29 16:58 しみずよしだ 阅读(139) 评论(0) 推荐(0)
摘要:一、配置集群 #安装文档 #https://mp.weixin.qq.com/s/D-ps2qnVfaesgRGd5Zo4_A? OS: Ubuntu 22.04 amd64 Kubernetes:v1.28.2 Continerd.io 1.6.28 二、拉起集群-不安装kube-proxy 使用 阅读全文
posted @ 2024-02-29 13:24 しみずよしだ 阅读(217) 评论(0) 推荐(0)
摘要:IPIP # ipipMode: Always [root@ca-k8s-master01 ~]# calicoctl node status Calico process is running. IPv4 BGP status + + + + + + | PEER ADDRESS | PEER T 阅读全文
posted @ 2024-02-28 13:18 しみずよしだ 阅读(121) 评论(0) 推荐(0)
摘要:#https://www.tigera.io/project-calico/ Calico: Overlay: IPIP: 原生支持的隧道协议 VXLAN:后来添加支持的隧道协议 Underlay: 三层路由: 路由表的生成:通过BGP协议学习生成 要求底层网络支持BGP报文 依赖于:部署应用程序, 阅读全文
posted @ 2024-02-19 10:07 しみずよしだ 阅读(30) 评论(0) 推荐(0)
摘要:基于Ingress Nginx 的 Canary 规则 #解释1 Ingress Nginx Annotations文于的Canary规则 #nginx.ingress.kubernetes.io/canary-by-header: 基于该Annotation中指定Request Header进行流 阅读全文
posted @ 2024-02-02 01:09 しみずよしだ 阅读(73) 评论(0) 推荐(0)
摘要:一、部署MetaILB #参考之前文档 https://www.cnblogs.com/birkhoffxia/articles/17949510 二、部署Ingress Controller #https://github.com/kubernetes/ingress-nginx #K8S Ser 阅读全文
posted @ 2024-01-31 00:06 しみずよしだ 阅读(340) 评论(1) 推荐(0)
摘要:RBAC及案例: RBAC: 用户 操作 对象 动作发出者:Subject 动作承受者:Object 操作:CRUD 读请求:get, list, watch 写请求:create, update, delete, deletecollection, patch 主谓宾: 主 谓宾:定义在Role上 阅读全文
posted @ 2024-01-27 21:30 しみずよしだ 阅读(4) 评论(0) 推荐(0)
摘要:配置国内存放 chart 仓库的地址 #阿里云仓库(https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts) #官方仓库(https://hub.kubeapps.com/charts/incubator)官方 chart 仓库,国内可能无法访问 阅读全文
posted @ 2024-01-26 20:44 しみずよしだ 阅读(73) 评论(0) 推荐(0)
摘要:部署Mysql-基于dockerhub上的oci仓库部署 [root@ca-k8s-master01 linux-amd64]# kubectl create ns blog namespace/blog created [root@ca-k8s-master01 linux-amd64]# hel 阅读全文
posted @ 2024-01-25 23:02 しみずよしだ 阅读(73) 评论(0) 推荐(0)
摘要:参考:https://mp.weixin.qq.com/s?__biz=MzUxNTg5NTQ0NA==&mid=2247485123&idx=1&sn=95d3785fe862567329e38e002cf93e19&chksm=f8f36c27517a7d37b330f6e78fd66a019b 阅读全文
posted @ 2024-01-12 10:07 しみずよしだ 阅读(153) 评论(0) 推荐(0)
摘要:Kuboard是一款免费的Kubernetes管理工具,提供了丰富的功能,结合已有或新建的代码仓库、镜像仓库、CI/CD工具等, 可以便捷的搭建一个生产可用的Kubernetes容器云平台,轻松管理和运行云原生应用。 也可以直接将Kuboard安装到现有的Kubernetes集群,通过Kuboard 阅读全文
posted @ 2024-01-11 15:18 しみずよしだ 阅读(108) 评论(0) 推荐(0)
摘要:创建Deployment资源 [root@k8s-master01 deployment]# cat Traffic-seperate-deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: labels: app: traffi 阅读全文
posted @ 2024-01-11 12:01 しみずよしだ 阅读(43) 评论(0) 推荐(0)