06 2022 档案
摘要:Mac 笔记本,通过命令行向 /etc/hosts 进行 echo: sudo -- sh -c "echo 1.1.1.1 example.com >> /etc/hosts" Mac笔记本执行sed命令: sudo sed -i '' "/^1.1.1.1/d" /etc/hosts
阅读全文
摘要:除了基于 CPU 和内存来进行自动扩缩容之外,我们还可以根据自定义的监控指标来进行。这个我们就需要使用 Prometheus Adapter,Prometheus 用于监控应用的负载和集群本身的各种指标,Prometheus Adapter 可以帮我们使用 Prometheus 收集的指标并使用它们
阅读全文