随笔分类 -  K8s

摘要:[root@master01 ~]# kubectl describe -n kubesphere-system po ks-installer-895b8994d-97qdgName: ks-installer-895b8994d-97qdgNamespace: kubesphere-system 阅读全文
posted @ 2023-02-07 17:11 beawh 阅读(36) 评论(0) 推荐(0) 编辑
摘要:添加Helm存储库 helm repo add azure http://mirror.azure.cn/kubernetes/chartshelm search repo nfs-client-provisioner helm install nfs-storage azure/nfs-clien 阅读全文
posted @ 2023-01-11 17:05 beawh 阅读(423) 评论(0) 推荐(0) 编辑
摘要:利用kubeasz 安装Kubernetes - 简书 (jianshu.com) 阅读全文
posted @ 2022-11-17 18:19 beawh 阅读(13) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/lee_yanyi/article/details/124694680 阅读全文
posted @ 2022-10-10 13:56 beawh 阅读(11) 评论(0) 推荐(0) 编辑
摘要:kubernetes的本质上就是一个集群系统,用户可以在集群中部署各种服务,所谓的部署服务,其实就是在kubernetes集群中运行一个个的容器,并将指定的程序跑在容器中。 kubernetes的最小管理单元是pod而不是容器,所以只能将容器放在Pod中,而kubernetes一般也不会直接管理Po 阅读全文
posted @ 2022-10-07 16:13 beawh 阅读(257) 评论(0) 推荐(0) 编辑
摘要:kubeadm 1、所有机器执行以下操作 #各个机器设置自己的域名, 方便识别不设置也可以, 注意: 集群中name必须唯一 hostnamectl set-hostname xxxx # 将 SELinux 设置为 permissive 模式(相当于将其禁用) sudo setenforce 0 阅读全文
posted @ 2022-10-07 14:48 beawh 阅读(51) 评论(0) 推荐(0) 编辑
摘要:[root@k8-master ~]# cat deployment1.yaml apiVersion: apps/v1kind: Deploymentmetadata: name: nginx-deployment labels: app: nginxspec: replicas: 2 selec 阅读全文
posted @ 2022-01-26 17:25 beawh 阅读(91) 评论(0) 推荐(0) 编辑
摘要:参考链接:https://kubernetes.io/zh/docs/concepts/overview/working-with-objects/labels/ [root@k8-node ~]# cat dep_lab.yaml apiVersion: apps/v1kind: Deployme 阅读全文
posted @ 2022-01-25 15:42 beawh 阅读(47) 评论(0) 推荐(0) 编辑
摘要:关闭防火墙: $ systemctl stop firewalld $ systemctl disable firewalld 关闭selinux: $ sed -i 's/enforcing/disabled/' /etc/selinux/config # 永久 $ setenforce 0 # 阅读全文
posted @ 2022-01-24 17:41 beawh 阅读(59) 评论(0) 推荐(0) 编辑
摘要:转自 https://blog.csdn.net/qq_35080214/article/details/111177787 一、PodPod 是可以在 Kubernetes 中创建和管理的、最小的可部署的计算单元。Pod中包含了一个或多个容器,还包括了存储、网络等各个容器共享的资源。Pod支持多种 阅读全文
posted @ 2021-08-23 17:19 beawh 阅读(365) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示