上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页
摘要: # 前端发布脚本 ``` pipeline { agent any tools { jdk 'java17' //指定java版本 } environment { git_url = 'http://192.168.1.2/web/test.git' deployenv = 'test' //部署环 阅读全文
posted @ 2022-06-07 10:46 蒲公英PGY 阅读(455) 评论(0) 推荐(0)
摘要: ```python # pip3 install requests import requests,sys,os,time from requests.packages import urllib3 urllib3.disable_warnings() def get_tags (base_url, 阅读全文
posted @ 2022-06-07 10:18 蒲公英PGY 阅读(438) 评论(0) 推荐(0)
摘要: 1、安装ocserv ocserv 已经在 epel 仓库中提供了,所以可以直接通过 yum 安装 [root@linux-node4 ~]# yum -y install epel-release [root@linux-node4 ~]# yum -y install ocserv 2、证书制作 阅读全文
posted @ 2022-06-06 18:11 蒲公英PGY 阅读(3) 评论(0) 推荐(0)
摘要: ```python # pip install uvicorn # pip install fastapi # uvicorn main:app --reload # pip install ruamel.yaml from fastapi import FastAPI from fastapi.r 阅读全文
posted @ 2022-06-06 17:49 蒲公英PGY 阅读(381) 评论(0) 推荐(0)
摘要: * nacos官方git 地址:https://github.com/alibaba/nacos/tree/master cat docker-compose.yml ``` version: '2' services: #Service for nameserver nacos-cluster: 阅读全文
posted @ 2022-06-06 17:14 蒲公英PGY 阅读(137) 评论(0) 推荐(0)
摘要: cat prometheus.yml ```yaml # my global config global: scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute. e 阅读全文
posted @ 2022-06-06 15:05 蒲公英PGY 阅读(423) 评论(0) 推荐(0)
摘要: ```bash docker run -itd --name node-exporter --restart always -p 7100:9100 prom/node-exporter:v1.3.1 ``` 阅读全文
posted @ 2022-06-06 15:01 蒲公英PGY 阅读(46) 评论(0) 推荐(0)
摘要: cat docker-compose.yml ```yaml version: "3" services: cadvisor: image: google/cadvisor:v0.33.0 container_name: cadvisor hostname: cadvisor volumes: - 阅读全文
posted @ 2022-06-06 15:00 蒲公英PGY 阅读(41) 评论(0) 推荐(0)
摘要: 使用 Elasticsearch Operator 快速部署 Elasticsearch 集群 随着 kubernetes 的快速发展,很多应用都在往 kubernetes 上面迁移,现阶段对于无状态应用的迁移是非常容易做到的,但是对于有状态应用的迁移还是有一定门槛的,主要是有状态应用的运行方式各有 阅读全文
posted @ 2022-06-01 17:11 蒲公英PGY 阅读(305) 评论(0) 推荐(0)
摘要: 存储 nacos 官方文档:https://github.com/nacos-group/nacos-k8s 本文档使用nfs存储,nfs的搭建参考文档:https://www.cnblogs.com/pgyLang/p/16326880.html 创建pvc cat nacos-pvc-headl 阅读全文
posted @ 2022-05-30 15:36 蒲公英PGY 阅读(170) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页