01-AWS常见命令
所有变量注释 变量名称 变量解释 UID AWS账户ID 地域ID 资源所属地域 集群名称 EKS集群创建的名称 获取kubeconfig # 获取 Kubectl config: ...
所有变量注释 变量名称 变量解释 UID AWS账户ID 地域ID 资源所属地域 集群名称 EKS集群创建的名称 获取kubeconfig # 获取 Kubectl config: ...
注意事项 1. 使用简单可扩展模式 需要使用共享存储,不能使用filesystem 2. Helm-Chart helm repo add grafana https://grafana.github.io/helm-charts helm repo update helm pull grafana/loki 下载得到Chart包 loki-6.24.0.tgz 备注: graf...
终端登录消除多余 终端登录提示的信息 #以下这些是多余的 The default interactive shell is now zsh. To update your account to use zsh, please run `chsh -s /bin/zsh`. For more details, please visit https://support.apple.com/kb...
(适用于各种app应用) 1.command+空格 –» 打开聚焦搜索 2.输入: automator –» 打开自动操作 3.新建: 1. 选取文稿类型 -->> 快速操作 -->> 运行AppleScript(双击打开) 工作流程为没有输入 将原脚本替换 on run {input, parameters} (* Your script goes...
Loki是什么? Loki是 Grafana Labs 团队最新的开源项目,是一个水平可扩展,高可用性,多租户的日志聚合系统。它的设计非常经济高效且易于操作,因为它不会为日志内容编制索引,而是为每个日志流编制一组标签。项目受 Prometheus 启发,官方的介绍就是: Like Prometheus, but for logs ,类似于 Prometheus 的日志系统。 Lo...
问题一: 在执行: nvidia-smi , 时遇到问题: NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running. 1...
1. 环境依赖 基础资源 1. 2+核, 2+GB内存,Linux主机 2. 节点之中不可以有重复的主机名、MAC 地址或 product_uuid 1. 使用命令 ip link 或 ifconfig -a 来获取网络接口的 MAC 地址 2. cat /sys/class/dmi/id/product_uuid 对 product_uuid 校验 3. 开启机器上的某些端口 1. ...
LVS(Linux Virtual Server) HAProxy
常规问题 iptables 与 firewall 有什么区别 区别 默认开放策略: iptables 默认是开放所有端口; firewalld默认是只开启22端口,关闭其他所有端口。 优先级: iptables的优...
Web框架: Gin Gin 是一个用 Go (Golang) 编写的 HTTP Web 框架。 它具有类似 Martini 的 API,由于使用了httprouter,性能比 Martini 快近 40 倍。如果你需要极好的性能,使用 Gin 吧。 下载及安装: Gin go get -u github.com/gin-gonic/gin 将 gin 引入到代码中 impor...