摘要:
制作tomcat镜像 [root@k8s-master tomcat-image]# ll total 473764 -rwxr-xr-x 1 root root 126 Aug 11 18:06 build-command.sh -rw-r--r-- 1 root root 697 Jun 12 阅读全文
摘要:
部署 kubectl apply -f case5-kube-state-metrics-deploy.yaml [root@k8s-master case]# cat case5-kube-state-metrics-deploy.yaml apiVersion: apps/v1 kind: De 阅读全文
摘要:
创建json配置文件 # mkdir /apps/prometheus/file_sd -p # vim /apps/prometheus/file_sd/sd_my_server.json [ { "targets": ["10.0.0.6:9100"] } ] 编辑prometheus文件添加j 阅读全文
摘要:
三台主机IP分别是10.0.0.17 10.0.0.6 10.0.0.15 配置consul wget https://releases.hashicorp.com/consul/1.13.0/consul_1.13.0_linux_amd64.zip mv consul_1.13.0_linux_ 阅读全文