This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: istio-test | |
labels: | |
istio-injection: enabled | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker image ls | grep '<none>' | awk '{print $3}' | xargs -n1 -I{} docker image rm {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: tomcat-jmx-non-ssl | |
namespace: default | |
spec: | |
selector: | |
matchLabels: | |
app: tomcat-jmx-non-ssl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"__inputs": [ | |
{ | |
"name": "VAR_JOB", | |
"type": "constant", | |
"label": "Job", | |
"value": "java", | |
"description": "" | |
} | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"__inputs": [ | |
{ | |
"name": "VAR_JOB", | |
"type": "constant", | |
"label": "job", | |
"value": "java", | |
"description": "" | |
} | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"__inputs": [], | |
"__requires": [ | |
{ | |
"type": "grafana", | |
"id": "grafana", | |
"name": "Grafana", | |
"version": "5.2.4" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"__inputs": [], | |
"__requires": [ | |
{ | |
"type": "grafana", | |
"id": "grafana", | |
"name": "Grafana", | |
"version": "5.2.4" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline { | |
agent any | |
triggers { | |
pollSCM '*/5 * * * *' | |
} | |
options { | |
// 禁止因Multibranch pipeline index动作触发构建 | |
overrideIndexTriggers false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HELP x fake metric | |
# TYPE x gauge | |
x 1 | |
--- | |
# HELP x fake metric | |
# TYPE x gauge | |
x 2 | |
--- | |
# HELP x fake metric | |
# TYPE x gauge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
# 基于 https://github.com/vegasbrianc/prometheus/ 修改 | |
# Prometheus:http://<任意swarm node ip>:9000 | |
# Node-exporter:http://<任意swarm node ip>:9010 | |
# Alertmanager:http://<任意swarm node ip>:9020 | |
# cAdvisor:http://<任意swarm node ip>:9030 | |
# Grafana:http://<任意swarm node ip>:9040,用户名admin,密码foobar | |
x-logging: |