会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lixinliang
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
12
13
···
22
下一页
2021年4月16日
vmware ubuntu 虚拟机透传gpu
摘要: 环境 GPU 型号: GPU 2080 ti vmware 版本:VMware-VMvisor-Installer-7.0U2-17630552.x86_64 虚拟机操作系统: ubuntu-20.04.2.0-desktop-amd64 gpu 显卡开通直通 (切换直通) 步骤为选中管理--> 选
阅读全文
posted @ 2021-04-16 19:53 lixinliang
阅读(14103)
评论(2)
推荐(0)
2021年4月2日
k8s 集群部署prometheus + alertmanager + grafana +钉钉告警
摘要: 准备k8s 集群 前言 准备好k8s 集群,通过部署prometheus 达到获取k8s 容器资源,根据收集指标制定报警策略,从而提高监控响应能力。 $ kubectl get node NAME STATUS ROLES AGE VERSION master01 Ready master 13d
阅读全文
posted @ 2021-04-02 16:57 lixinliang
阅读(2706)
评论(0)
推荐(0)
2021年3月11日
Harbor安装测试记录
摘要: 安装docker环境 # Uninstall old versions yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate
阅读全文
posted @ 2021-03-11 17:18 lixinliang
阅读(173)
评论(0)
推荐(0)
Ingress(nginx)安装测试记录
摘要: 安装 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
阅读(244)
评论(0)
推荐(0)
k8s 部署 log-pilot 收集容器标准输出日志和指定路径应用日志
摘要: 日志系统要求: 1.因开发项目要求,一个pod 内有多个日志路径,需要收集 2.同时需要收集pod 容器的标准输出日志 环境: 本次环境es、kibana 均部署在k8s 集群外,在物理机部署,只需要log-pilot 指定es 地址 具体步骤: 创建 daemonset log-pilot kub
阅读全文
posted @ 2021-03-11 17:05 lixinliang
阅读(1926)
评论(0)
推荐(0)
Docker 更改默认网络
摘要: 第一种方式 停止服务 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
阅读(715)
评论(0)
推荐(0)
k8s node节点初始化
摘要: #!/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
阅读(539)
评论(0)
推荐(0)
k8s Metrics Server 获取资源指标与 hpa 部署
摘要: 使用 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
阅读(603)
评论(0)
推荐(0)
k8s修改集群coredns
摘要: 修改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
阅读(1935)
评论(1)
推荐(0)
k8s cert-manager 测试部署
摘要: 部署 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
阅读(623)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
···
22
下一页
公告