摘要:
将博客搬至CSDN 阅读全文
摘要:
1、执行原生SQL from sqlalchemy import create_engine, text # 创建engine对象 engine = create_engine("sqlite:///demo.db", echo=False) with engine.connect() as con 阅读全文
摘要:
1、html模板 <!DOCTYPE html> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <html align='left'> <h1>巡检报告</h1> <body> <h2>报告综述</h2> <p> 阅读全文
摘要:
#!/bin/python # -*- coding: utf-8 -*- import pandas as pd import requests, time, re def getcolumn(status, x): if float(status) < 80: return "正常" # eli 阅读全文
摘要:
1、hostpath方式 # hostpath挂载方式 apiVersion: apps/v1 kind: Deployment metadata: labels: app: grafana name: grafana spec: selector: matchLabels: app: grafan 阅读全文
摘要:
一、Kubeadm部署k8s单master集群1、配置hosts cat >> /etc/hosts << EOF 192.168.140.129 master 192.168.140.130 node1 192.168.140.131 node2 185.199.109.133 raw.githu 阅读全文
摘要:
#!/usr/bin/python3.8 # -*- coding:utf-8 -*- # __author__ = 'Qiushi Huang' import optparse # sys.argv的功能类似 # python ftp_client.py -h 192.168.22.33 -p 8 阅读全文
摘要:
1、环境准备 yum -y install epel-release yum -y install sqlite sqlite-devel yum -y install python-pip pip install --upgrade setuptools yum list available py 阅读全文
摘要:
一、安装grafana [root@loki ~]# yum install -y https://dl.grafana.com/enterprise/release/grafana-enterprise-10.0.0-1.x86_64.rpm二、安装loki[root@loki ~]# wget 阅读全文
摘要:
#!/usr/bin/python3.8 # -*- coding:UTF-8 -*- import os, sys sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from concurren 阅读全文