上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页
摘要: Compose和Docker兼容性: Compose 文件格式有3个版本,分别为1, 2.x 和 3.x 目前主流的为 3.x 其支持 docker 1.13.0 及其以上的版本 常用参数: version # 指定 compose 文件的版本 services # 定义所有的 service 信息 阅读全文
posted @ 2022-06-07 15:08 蒲公英PGY 阅读(247) 评论(0) 推荐(0)
摘要: wwechat.py ```python #!/usr/bin/python # coding:utf-8 # 2016-01-18 import urllib, urllib2 import json import sys import logging import subprocess relo 阅读全文
posted @ 2022-06-07 14:46 蒲公英PGY 阅读(147) 评论(0) 推荐(0)
摘要: templet.yml ```yaml groups: - name: 主机状态-监控告警 rules: - alert: 主机状态 expr: up *on(instance)group_left(nodename)(node_uname_info) == 0 for: 5m labels: le 阅读全文
posted @ 2022-06-07 14:42 蒲公英PGY 阅读(1174) 评论(0) 推荐(0)
摘要: jenkins_rbac.yml apiVersion: v1 kind: ServiceAccount metadata: name: jenkins namespace: jenkins kind: ClusterRole apiVersion: rbac.authorization.k8s.i 阅读全文
posted @ 2022-06-07 14:38 蒲公英PGY 阅读(66) 评论(0) 推荐(0)
摘要: SpringCloud微服务容器云进阶之路 Springboot应用配合Actuator开启: 监控检查 , 优雅停机 , 监控metrics 等endpoints 根据 Dockerfile 定义制作Docker镜像并上传 Harbor 私有Docker Registry 渲染K8S部署模板文件并 阅读全文
posted @ 2022-06-07 14:30 蒲公英PGY 阅读(138) 评论(0) 推荐(0)
摘要: jenkinsfile k8s部署模板 def label = "slave-${UUID.randomUUID().toString()}" podTemplate(label: label, containers: [ containerTemplate(name: 'maven', image 阅读全文
posted @ 2022-06-07 14:03 蒲公英PGY 阅读(270) 评论(0) 推荐(0)
摘要: ```python # -*- coding: utf-8 -*- # @Time : 2020-07-14 # @Author : pugongying import smtplib from email.mime.text import MIMEText from email.utils imp 阅读全文
posted @ 2022-06-07 14:00 蒲公英PGY 阅读(47) 评论(0) 推荐(0)
摘要: # python使用AliyunOpenApi获取MongoDB监控数据 Mongo_cpu.py ```python import sys import json import datetime,time from json import loads, dumps from typing impo 阅读全文
posted @ 2022-06-07 13:58 蒲公英PGY 阅读(117) 评论(0) 推荐(0)
摘要: # python使用AliyunOpenApi获取ecs监控数据 ecs.py ```python #!/usr/bin/env python #coding=utf-8 import json import datetime,time from aliyunsdkcore.client impor 阅读全文
posted @ 2022-06-07 13:51 蒲公英PGY 阅读(126) 评论(0) 推荐(0)
摘要: # python使用AliyunOpenApi获取arms数据 arms_class.py ```python from aliyunsdkcore.client import AcsClient from aliyunsdkcore.acs_exception.exceptions import 阅读全文
posted @ 2022-06-07 13:49 蒲公英PGY 阅读(195) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页