新增凤凰城节点
This commit is contained in:
@@ -69,7 +69,7 @@ sudo sysctl -p /etc/sysctl.d/proxy-wdd.conf
|
|||||||
|
|
||||||
sysctl net.ipv4.tcp_congestion_control
|
sysctl net.ipv4.tcp_congestion_control
|
||||||
|
|
||||||
sudo ethtool -K eth0 gro on
|
sudo ethtool -K enp0s3 gro on
|
||||||
sudo ethtool -K eth0 gso on
|
sudo ethtool -K enp0s3 gso on
|
||||||
sudo ethtool -K eth0 tso on
|
sudo ethtool -K enp0s3 tso on
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 370 KiB After Width: | Height: | Size: 311 KiB |
@@ -18,9 +18,9 @@
|
|||||||
"decryption": "none",
|
"decryption": "none",
|
||||||
"fallbacks": [
|
"fallbacks": [
|
||||||
{
|
{
|
||||||
"name": "/tokyo2",
|
"name": "xx.t2.ll.c0.107421.xyz",
|
||||||
"dest": "@vless-tcp-tokyo2",
|
"alpn": "h2",
|
||||||
"xver": 2
|
"dest": "@trojan-h2-tokyo2"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "/phonix2",
|
"path": "/phonix2",
|
||||||
@@ -52,6 +52,11 @@
|
|||||||
"ocspStapling": 3600,
|
"ocspStapling": 3600,
|
||||||
"certificateFile": "/root/.acme.sh/xx.s4.cc.hh.107421.xyz_ecc/fullchain.cer",
|
"certificateFile": "/root/.acme.sh/xx.s4.cc.hh.107421.xyz_ecc/fullchain.cer",
|
||||||
"keyFile": "/root/.acme.sh/xx.s4.cc.hh.107421.xyz_ecc/xx.s4.cc.hh.107421.xyz.key"
|
"keyFile": "/root/.acme.sh/xx.s4.cc.hh.107421.xyz_ecc/xx.s4.cc.hh.107421.xyz.key"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ocspStapling": 3600,
|
||||||
|
"certificateFile": "/root/.acme.sh/xx.t2.ll.c0.107421.xyz_ecc/fullchain.cer",
|
||||||
|
"keyFile": "/root/.acme.sh/xx.t2.ll.c0.107421.xyz_ecc/xx.t2.ll.c0.107421.xyz.key"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"minVersion": "1.2",
|
"minVersion": "1.2",
|
||||||
@@ -76,8 +81,8 @@
|
|||||||
"settings": {
|
"settings": {
|
||||||
"clients": [
|
"clients": [
|
||||||
{
|
{
|
||||||
"email": "ice@qq.com",
|
"email": "general@trojan-h2-tokyo2",
|
||||||
"password": "Vad3.123a)asd1234-asdasd.asd1aczzS.123",
|
"password": "ADasfsaad12.21312@113.adsaddasds.112321",
|
||||||
"level": 0
|
"level": 0
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -86,36 +91,7 @@
|
|||||||
"network": "h2",
|
"network": "h2",
|
||||||
"security": "none",
|
"security": "none",
|
||||||
"httpSettings": {
|
"httpSettings": {
|
||||||
"path": "/tokyo2"
|
"path": "/vlh2tokyo2"
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"listen": "@vless-tcp-tokyo2",
|
|
||||||
"protocol": "vless",
|
|
||||||
"settings": {
|
|
||||||
"clients": [
|
|
||||||
{
|
|
||||||
"email": "general@vless-tcp-tokyo2",
|
|
||||||
"id": "1dde748d-32ee-4ed7-b70b-f2376d34e7e5",
|
|
||||||
"level": 0
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"decryption": "none"
|
|
||||||
},
|
|
||||||
"streamSettings": {
|
|
||||||
"network": "tcp",
|
|
||||||
"security": "none",
|
|
||||||
"tcpSettings": {
|
|
||||||
"acceptProxyProtocol": true,
|
|
||||||
"header": {
|
|
||||||
"type": "http",
|
|
||||||
"request": {
|
|
||||||
"path": [
|
|
||||||
"/tokyo2"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sniffing": {
|
"sniffing": {
|
||||||
@@ -224,18 +200,6 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"tag": "Seoul-amd64-01->London-amd64-01",
|
|
||||||
"protocol": "socks",
|
|
||||||
"settings": {
|
|
||||||
"servers": [
|
|
||||||
{
|
|
||||||
"address": "141.147.99.91",
|
|
||||||
"port": 1234
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"tag": "Seoul-amd64-01->Osaka-amd64-01",
|
"tag": "Seoul-amd64-01->Osaka-amd64-01",
|
||||||
"protocol": "socks",
|
"protocol": "socks",
|
||||||
@@ -273,13 +237,6 @@
|
|||||||
],
|
],
|
||||||
"outboundTag": "Seoul-amd64-01->Phoenix-amd64-02"
|
"outboundTag": "Seoul-amd64-01->Phoenix-amd64-02"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "field",
|
|
||||||
"inboundTag": [
|
|
||||||
"Seoul-amd64-01->London-amd64-01"
|
|
||||||
],
|
|
||||||
"outboundTag": "Seoul-amd64-01->London-amd64-01"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "field",
|
"type": "field",
|
||||||
"inboundTag": [
|
"inboundTag": [
|
||||||
76
1-代理Xray/4-凤凰城arm02节点/0-分层代理回落.json
Normal file
76
1-代理Xray/4-凤凰城arm02节点/0-分层代理回落.json
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
{
|
||||||
|
"log": {
|
||||||
|
"loglevel": "error"
|
||||||
|
},
|
||||||
|
"inbounds": [
|
||||||
|
{
|
||||||
|
"port": 443,
|
||||||
|
"protocol": "vless",
|
||||||
|
"settings": {
|
||||||
|
"clients": [
|
||||||
|
{
|
||||||
|
"id": "12491d80-745c-4e26-a58b-edf584afb208",
|
||||||
|
"flow": "xtls-rprx-vision",
|
||||||
|
"email": "cc@Phoenix-arm02.com",
|
||||||
|
"level": 0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"decryption": "none",
|
||||||
|
"fallbacks": [
|
||||||
|
{
|
||||||
|
"dest": "/dev/shm/h2c.sock",
|
||||||
|
"xver": 2,
|
||||||
|
"alpn": "h2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"dest": "/dev/shm/h1.sock",
|
||||||
|
"xver": 2
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"streamSettings": {
|
||||||
|
"network": "tcp",
|
||||||
|
"security": "tls",
|
||||||
|
"tlsSettings": {
|
||||||
|
"certificates": [
|
||||||
|
{
|
||||||
|
"ocspStapling": 3600,
|
||||||
|
"certificateFile": "/root/.acme.sh/zc.p4.cc.xx.107421.xyz_ecc/fullchain.cer",
|
||||||
|
"keyFile": "/root/.acme.sh/zc.p4.cc.xx.107421.xyz_ecc/zc.p4.cc.xx.107421.xyz.key"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"minVersion": "1.2",
|
||||||
|
"cipherSuites": "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256:TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
|
||||||
|
"alpn": [
|
||||||
|
"h2",
|
||||||
|
"http/1.1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sniffing": {
|
||||||
|
"enabled": true,
|
||||||
|
"destOverride": [
|
||||||
|
"http",
|
||||||
|
"tls"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tag": "proxy",
|
||||||
|
"protocol": "socks",
|
||||||
|
"listen": "0.0.0.0",
|
||||||
|
"port": 1234,
|
||||||
|
"settings": {
|
||||||
|
"auth": "noauth",
|
||||||
|
"udp": true,
|
||||||
|
"ip": "127.0.0.1",
|
||||||
|
"userLevel": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outbounds": [
|
||||||
|
{
|
||||||
|
"protocol": "freedom"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
1
1-代理Xray/4-凤凰城arm02节点/节点IP.txt
Normal file
1
1-代理Xray/4-凤凰城arm02节点/节点IP.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
129.146.57.94 来自于:美国 亚利桑那州 凤凰城 oracle.com
|
||||||
18
2-NGINX相关/107421.xyz/21-申请证书.sh
Normal file
18
2-NGINX相关/107421.xyz/21-申请证书.sh
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
export DOMAIN_NAME=xx.tc.hk.go.107421.xyz
|
||||||
|
export DOMAIN_NAME=book.107421.xyz
|
||||||
|
export DOMAIN_NAME=octopus.107421.xyz
|
||||||
|
export DOMAIN_NAME=xx.t2.ll.c0.107421.xyz
|
||||||
|
export DOMAIN_NAME=zc.p4.cc.xx.107421.xyz
|
||||||
|
|
||||||
|
export CF_Token="oXJRP5XI8Zhipa_PtYtB_jy6qWL0I9BosrJEYE8p"
|
||||||
|
export CF_Account_ID="dfaadeb83406ef5ad35da02617af9191"
|
||||||
|
export CF_Zone_ID="511894a4f1357feb905e974e16241ebb"
|
||||||
|
|
||||||
|
acme.sh --issue --dns dns_cf -d ${DOMAIN_NAME} --keylength ec-256
|
||||||
|
|
||||||
|
acme.sh --install-cert -d ${DOMAIN_NAME} --ecc \
|
||||||
|
--key-file /etc/nginx/conf.d/ssl_key/${DOMAIN_NAME}.key.pem \
|
||||||
|
--fullchain-file /etc/nginx/conf.d/ssl_key/${DOMAIN_NAME}.cert.pem \
|
||||||
|
--reloadcmd "systemctl restart nginx --force"
|
||||||
14
2-NGINX相关/107423.xyz/23-申请证书.sh
Normal file
14
2-NGINX相关/107423.xyz/23-申请证书.sh
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
|
||||||
|
export DOMAIN_NAME=xx.t2.ll.c0.107423.xyz
|
||||||
|
|
||||||
|
export CF_Token="P1S8SgbXKWO2ScUKxu_EoHxI5FOebs6X6IuiO1lq"
|
||||||
|
export CF_Account_ID="dfaadeb83406ef5ad35da02617af9191"
|
||||||
|
export CF_Zone_ID="9383610816ba5c796ce201dfe1603fcb"
|
||||||
|
|
||||||
|
acme.sh --issue --dns dns_cf -d ${DOMAIN_NAME} --keylength ec-256 --dnssleep 30
|
||||||
|
|
||||||
|
|
||||||
|
acme.sh --install-cert -d ${DOMAIN_NAME} --ecc \
|
||||||
|
--key-file /etc/nginx/conf.d/ssl_key/${DOMAIN_NAME}.key.pem \
|
||||||
|
--fullchain-file /etc/nginx/conf.d/ssl_key/${DOMAIN_NAME}.cert.pem \
|
||||||
|
--reloadcmd "systemctl restart nginx --force"
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
app_list_backend=("cmii-uav-user" "cmii-admin-data" "cmii-admin-user" "cmii-uav-airspace" "cmii-uav-brain" "cmii-uav-clusters" "cmii-uav-data-post-process" "cmii-uav-developer" "cmii-uav-device" "cmii-uav-kpi-monitor" "cmii-uav-live" "cmii-uav-logger" "cmii-uav-mission" "cmii-uav-monitor" "cmii-uav-mqtthandler" "cmii-uav-notice" "cmii-uav-oauth" "cmii-uav-process" "cmii-uav-surveillance" "cmii-uav-user" "cmii-uav-waypoint" "cmii-uav-material-warehouse" "cmii-uav-gateway" "cmii-open-gateway" "cmii-admin-gateway")
|
|
||||||
|
|
||||||
app_list_frontend=("cmii-uav-platform" "cmii-uav-platform-ai-brain" "cmii-uav-platform-hyperspectral" "cmii-uav-platform-mws" "cmii-uav-platform-mws-admin" "cmii-uav-platform-oms" "cmii-uav-platform-cms" "cmii-uav-platform-open" "cmii-uav-platform-splice")
|
|
||||||
|
|
||||||
for app in ${app_list_frontend[@]}; do
|
|
||||||
echo ${app}
|
|
||||||
echo "--------------------------------------------------------------"
|
|
||||||
echo ""
|
|
||||||
echo "{\"spec\":{\"template\":{\"spec\":{\"containers\":[{\"name\":\"$app\",\"image\":\"harbor-manager.sre.cdcyy.cn/cmii/$app:2.1.14\"}]}}}}"
|
|
||||||
echo "--------------------------------------------------------------"
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
kubectl patch deployment $(kubectl get deployment -n cmii | grep -w "${app}" | awk '{print $1}') -n cmii -p "{\"spec\":{\"template\":{\"spec\":{\"containers\":[{\"name\":\"$app\",\"image\":\"harbor-manager.sre.cdcyy.cn/cmii/$app:2.1.14\"}]}}}}"
|
|
||||||
echo "升级完成!!"
|
|
||||||
echo ""
|
|
||||||
done
|
|
||||||
|
|
||||||
kubectl get deployment -n uavcloud-dev | grep cmii-uav-user | awk '{print $1}'
|
|
||||||
|
|
||||||
kubectl patch deployment $(kubectl get deployment -n iot | grep mns | awk '{print $1}') -n iot -p '{"spec":{"template":{"spec":{"containers":[{"name": "iotx-foundry-mns","image":"docker.io/csiot/iotx-foundry-mns:latest"}]}}}}'
|
|
||||||
|
|
||||||
kk delete ing -n uavcloud-dev $(kk get ing -n uavcloud-dev | grep cmii | awk '{print$1}')
|
|
||||||
|
|
||||||
kk delete configmap -n uavcloud-dev $(kk get configmap -n uavcloud-dev | grep tenant-prefix | awk '{print$1}')
|
|
||||||
Reference in New Issue
Block a user