上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 21 下一页
摘要: 安装 1.master 节点 wget https://github.com/kubernetes/ingress-nginx/blob/nginx-0.20.0/deploy/mandatory.yaml sed -i 's#k8s.gcr.io/defaultbackend-amd64#regi 阅读全文
posted @ 2021-03-11 17:13 lixinliang 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 日志系统要求: 1.因开发项目要求,一个pod 内有多个日志路径,需要收集 2.同时需要收集pod 容器的标准输出日志 环境: 本次环境es、kibana 均部署在k8s 集群外,在物理机部署,只需要log-pilot 指定es 地址 具体步骤: 创建 daemonset log-pilot kub 阅读全文
posted @ 2021-03-11 17:05 lixinliang 阅读(1791) 评论(0) 推荐(0) 编辑
摘要: 第一种方式 停止服务 systemctl stop docker 编辑配置文件:/etc/docker/daemon.json,增加如下配置: { "bip":"172.254.0.1/16" } 启动服务 systemctl start docker 如有必要,删除原网络路由 ip ro del 阅读全文
posted @ 2021-03-11 17:02 lixinliang 阅读(655) 评论(0) 推荐(0) 编辑
摘要: #!/bin/sh # 安装yum源 rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rp 阅读全文
posted @ 2021-03-11 16:57 lixinliang 阅读(508) 评论(0) 推荐(0) 编辑
摘要: 使用 helm 部署 Metrics Server 第一种方式: helm repo add bitnami https://charts.bitnami.com/bitnami helm install bitnami/metrics-server 会有报错,执行以下命令 helm upgrade 阅读全文
posted @ 2021-03-11 16:55 lixinliang 阅读(517) 评论(0) 推荐(0) 编辑
摘要: 修改coredns 新增加dns 内容 $ kubectl get cm coredns -n kube-system -o yaml apiVersion: v1 data: Corefile: | .:53 { errors health hosts /etc/coredns/Hosts { f 阅读全文
posted @ 2021-03-11 16:54 lixinliang 阅读(1688) 评论(0) 推荐(0) 编辑
摘要: 部署 helm curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash 查看客户端版本: helm version 安装 tiller 服务端到 kubernetes 集群: helm init 阅读全文
posted @ 2021-03-11 16:52 lixinliang 阅读(575) 评论(0) 推荐(0) 编辑
摘要: 节点增加 1. 在 master 节点,获取重新加入集群的 token kubeadm token create --print-join-command 2. 在 node 节点,安装 docker 环境,与之前部署 k8s 集群操作一致 3. 在 master 节点进行操作,排干 pod 所在的 阅读全文
posted @ 2021-03-11 16:48 lixinliang 阅读(252) 评论(0) 推荐(0) 编辑
摘要: etcd 部署 wget https://github.com/etcd-io/etcd/releases/download/v3.3.13/etcd-v3.3.13-linux-amd64.tar.gz tar -zxvf etcd-v3.3.13-linux-amd64.tar.gz cd et 阅读全文
posted @ 2021-03-11 16:47 lixinliang 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 创建 ceph admin secret 1. 由于使用的是外部ceph,因此在获得ceph.client.admin.keyring ceph.conf 后将 将ceph的配置文件ceph.comf放在所有节点的/etc/ceph目录下:(master + node) 2. 将caph集群的cep 阅读全文
posted @ 2021-03-11 16:45 lixinliang 阅读(768) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 21 下一页