大量更新

This commit is contained in:
zeaslity
2025-03-31 11:02:04 +08:00
parent d8e2c67e36
commit 30323ce15e
25 changed files with 15526 additions and 15 deletions

View File

@@ -24,3 +24,8 @@ wget ${oss_url_prefix}/rke_linux-amd64
wget ${oss_url_prefix}/kubectl-1.20.4-amd64
wget https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/amd/mysql-8.0.27-linux-glibc2.17-x86_64-minimal.zip
wget https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/amd/mysql-8.0.27-linux-glibc2.17-x86_64-minimal.tar.gz

View File

@@ -1,8 +1,8 @@
upstream proxy_server {
ip_hash;
server 172.31.2.7:30500;
server 172.31.2.8:30500;
server 172.31.2.9:30500;
server 172.16.100.55:30500;
server 172.16.100.59:30500;
server 172.16.100.60:30500;
}
server {
@@ -21,7 +21,7 @@ server {
proxy_buffering off;
proxy_buffer_size 4k;
proxy_buffers 4 12k;
proxy_set_header Host fake-domain.szgz.io;
proxy_set_header Host fake-domain.eedsjc-uavms.io;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";

View File

@@ -2,7 +2,7 @@ version: '3'
services:
cmii-nginx:
image: 134.80.124.7:8033/cmii/nginx:1.21.3
image: 172.16.100.55:8033/cmii/nginx:1.27.0
volumes:
- /etc/nginx/conf.d:/etc/nginx/conf.d
- /etc/nginx/nginx.conf:/etc/nginx/nginx.conf
@@ -10,4 +10,8 @@ services:
ports:
- "8088:8088"
- "8089:8089"
restart: always
restart: always
# mkdir -p /etc/nginx/conf.d
# touch /etc/nginx/nginx.conf

View File

@@ -1,6 +1,6 @@
#!/bin/bash
namespace=gsyd-app
namespace=zhbf
# 优雅地处理Deployment缩容
scale_deployments() {

View File

@@ -1,7 +1,7 @@
#!/bin/bash
harbor_host=172.16.0.31:8033
namespace=shbj
harbor_host=192.168.233.100:8033
namespace=zhbf
app_name=""
new_tag=""

View File

@@ -5,7 +5,7 @@ gzip_image_list_txt="all-gzip-image-list.txt" # 一般不需要修改
oss_prefix_url="https://oss.demo.uavcmlc.com/cmlc-installation"
local_gzip_path="/root/octopus-image"
DockerRegisterDomain="172.16.100.55:8033" # 需要根据实际修改
DockerRegisterDomain="192.168.233.100:8033" # 需要根据实际修改
HarborAdminPass=V2ryStr@ngPss # 需要跟第一脚本中的密码保持一致
print_green() {
@@ -40,7 +40,7 @@ Download_Load_Tag_Upload() {
cmii)
local_gzip_path="$local_gzip_path/cmii"
mkdir -p $local_gzip_path
oss_prefix_url="$oss_prefix_url/ahejpt/"
oss_prefix_url="$oss_prefix_url/6.2.0-demo/"
dltu
shift # past argument
;;
@@ -163,6 +163,6 @@ test(){
}
# test
Download_Load_Tag_Upload "rke"
Download_Load_Tag_Upload "cmii"
# Load_Tag_Upload "cmii"