
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
1. monStart采集监控指标,从该函数开始func main() {...if config.Config.Enable.Mon {monStart()}...}func monStart() {...//采集系统指标funcs.BuildMappers()funcs.Collect()...}2. 添加自定义指标type FuncsAndInterval struct {Fs[]fun
网上通用解法:保存镜像时:docker save -o [image].tar// 重点是加上-o选项load镜像时:docker load -i [image].tarhttps://programmerah.com/docker-load-error-processing-tar-fileexit-status-1-archive-tar-invalid-tar-header-23841/本次
1. monStart采集监控指标,从该函数开始func main() {...if config.Config.Enable.Mon {monStart()}...}func monStart() {...//采集系统指标funcs.BuildMappers()funcs.Collect()...}2. 添加自定义指标type FuncsAndInterval struct {Fs[]fun
下载opa文档地址https://www.openpolicyagent.org/docs/latest/#1-download-opacurl -L -o opa https://openpolicyagent.org/downloads/v0.33.1/opa_linux_amd64_staticchmod a+x opamv opa /usr/local/bin非交互式运行package r
1. reportStart()函数上报本机信息给ams,从该函数开始func main() {...if config.Config.Enable.Report {reportStart()}...2. 定时循环上报func reportStart() {go report.LoopReport()}func LoopReport() {duration := time.Duration(con
1 warning host doesn't support requested feature: CPUID.01H:EDX.ds [bit 21] 修改nova.conf在[libvirt]下添加cpu_mode=host-passthrough2 创建虚拟机时Insufficient compute resources: Requested instance N...
文档地址:https://docs.rancher.cn/docs/rancher2.5/installation/resources/k8s-tutorials/ha-rke/_index/https://docs.rancher.cn/docs/rke/_index环境准备1. 安装docker-ce2. 禁用所有worker节点交换功能3. 修改内核参数net.bridge.bridge-n
将ca.crt和tls.crt的值分别拷贝到文件中,文件名为ca.crt和tls.crt,然后使用base64解码(ca.crt同)

rancherhelm repo add rancher-stable http://rancher-mirror.oss-cn-beijing.aliyuncs.com/server-charts/stablekubectl create namespace cattle-systemhelm install rancher rancher-stable/rancher --namespace
创建命名空间或者使用已有的命令空间kubectl create ns myns创建serviceaccount名称为mysc,命名空间为mynskubectl create serviceaccount mysc -n myns使用RBAC赋权创建Role定义访问资源的权限,rules参考使用 RBAC 鉴权 | KubernetesapiVersion: rbac.authorization.k







