Higress離線部署

1.前提條件

檢查docker和docker compose是否已經具備?

[root@host151 ~]# docker -v
Docker version 26.1.4, build 5650f9b
[root@host151 ~]# docker compose

Usage: ?docker compose [OPTIONS] COMMAND

Define and run multi-container applications with Docker

Options:
--all-resources ? ? ? ? ? ? ?Include all resources, even those not used by services
--ansi string ? ? ? ? ? ? ? ?Control when to print ANSI control characters ("never"|"always"|"auto") (default "auto")
--compatibility ? ? ? ? ? ? ?Run compose in backward compatibility mode
--dry-run ? ? ? ? ? ? ? ? ? ?Execute command in dry run mode
--env-file stringArray ? ? ? Specify an alternate environment file
-f, --file stringArray ? ? ? ? ? Compose configuration files
--parallel int ? ? ? ? ? ? ? Control max parallelism, -1 for unlimited (default -1)
--profile stringArray ? ? ? ?Specify a profile to enable
--progress string ? ? ? ? ? ?Set type of progress output (auto, tty, plain, quiet) (default "auto")
--project-directory string ? Specify an alternate working directory
(default: the path of the, first specified, Compose file)
-p, --project-name string ? ? ? ?Project name

2.獲取獨立部署包

??????https://higress.io/standalone/higress-v2.1.5.tar.gz

3.獨立部署

上傳虛擬機的Centos中解壓,并重命名
[root@host151 by]# tar -xvf higress-v2.1.5.tar.gz
[root@host151 by]# mv higress-standalone-2.1.5 higress

換到bin目錄,執行configure編譯,彈出選擇nacos,端口自定義
[root@host151 by]# cd higress/bin
[root@host151 bin]# ./configure.sh?
==== Configure Config Storage ====
Please select a configuration storage (file/nacos): nacos
Use built-in Nacos service (Y/N): Y
==== Configure Ports to be used by Higress ====
Please input the local HTTP port to access the built-in Nacos service [8848]: 18848
Please input the local HTTP port to access Higress Gateway [80]: 10080
Please input the local HTTPS port to access Higress Gateway [443]: 10443?
Please input the local metrics port to be listened by Higress Gateway [15020]:?
Please input the local port to access Higress Console [8080]: 18080
==== Build Configurations ====?
Starting built-in Nacos service...

直接執行完成,提示Higress is configured successfully.

啟動Higress,自動拉取鏡像包部署
[root@host151 bin]# /by/higress/bin/startup.sh
WARN[0000] /by/higress/compose/docker-compose.yml: `version` is obsolete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? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 133.4s?
? pilot Pulled ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?31.7s?
? promtail Pulled?

[+] Running 14/14
? Network higress_higress-net ? ? Created ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 0.1s?
? Container higress-nacos-1 ? ? ? Started ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1.2s?
? Container higress-precheck-1 ? ?Exited ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?9.0s?
? Container higress-apiserver-1 ? Healthy ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?49.3s?
? Container higress-prepare-1 ? ? Exited ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 30.2s?
? Container higress-controller-1 ?Healthy ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?49.2s?
? Container higress-loki-1 ? ? ? ?Healthy ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?49.2s?
? Container higress-console-1 ? ? Healthy ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?49.2s?
? Container higress-pilot-1 ? ? ? Healthy ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?49.2s?
? Container higress-gateway-1 ? ? Healthy ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?49.2s?
? Container higress-promtail-1 ? ?Started ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?48.6s?
? Container higress-prometheus-1 ?Healthy ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?49.1s?
? Container higress-grafana-1 ? ? Healthy ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?52.1s?
? Container higress-postcheck-1 ? Started ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?52.7s?

Higress is now started. You can check out its status by executing /by/higress/bin/status.sh

Higress Gateway is listening on:
http://0.0.0.0:10080
https://0.0.0.0:10443
Visit Higress Console: http://localhost:18080/

查看鏡像包

[root@host151 ~]# docker images
REPOSITORY ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?TAG ? ? ? IMAGE ID ? ? ? CREATED ? ? ? ? SIZE
higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/higress ? ? ? ?2.1.4 ? ? f4c49da9343d ? 3 weeks ago ? ? 192MB
higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/api-server ? ? 0.0.23 ? ?92fd99887fc6 ? 3 weeks ago ? ? 120MB
higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/console ? ? ? ?2.1.4 ? ? 9920df8f224f ? 3 weeks ago ? ? 517MB
higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/gateway ? ? ? ?2.1.4 ? ? 51da25dfa27f ? 3 weeks ago ? ? 1.18GB
higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/pilot ? ? ? ? ?2.1.4 ? ? fd7f4a06b021 ? 3 weeks ago ? ? 181MB
higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/nacos-server ? v3.0.1 ? ?2dde287b1800 ? 6 weeks ago ? ? 447MB
higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/loki ? ? ? ? ? 2.9.4 ? ? 652b79950756 ? 17 months ago ? 74.6MB
higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/promtail ? ? ? 2.9.4 ? ? 1c7475004f2f ? 17 months ago ? 198MB
higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/runner ? ? ? ? 0.0.3 ? ? b0f1b78ffe82 ? 23 months ago ? 95.5MB
higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/grafana ? ? ? ?9.3.6 ? ? f925787d0f79 ? 2 years ago ? ? 317MB
higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/prometheus ? ? v2.40.7 ? b816c2dd5971 ? 2 years ago ? ? 223MB

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/pingmian/87969.shtml
繁體地址,請注明出處:http://hk.pswp.cn/pingmian/87969.shtml
英文地址,請注明出處:http://en.pswp.cn/pingmian/87969.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

利用AI技術快速提升圖片編輯效率的方法

通過更換背景或進行其他創意編輯,可以為圖片賦予新的生命力和視覺效果,使得創意表達更加自由靈活。這款AI摳圖工具堪稱強大,依托先進的阿爾法通道技術,能夠精準、自然地實現圖像摳取與背景更換。操作也非常簡單,只需將…

Wend看源碼-RAGFlow(上)

前言 最近在github上搜羅Rag相關項目的時候,我根據star 搜索到了目前star 最高的一些RAG 項目 ,其中穩居榜首的就是RAGFlow。 RAG stars:>1000 language:Python pushed:>2025-01-01 github RAG 相關項目搜索結果 為了系統性的學習RAG 技術棧&#…

LangChain實現RAG檢索增強

1:啟動vllm的openai兼容server: export VLLM_USE_MODELSCOPETrue python -m vllm.entrypoints.openai.api_server --model qwen/Qwen-7B-Chat-Int4 --trust-remote-code -q gptq --dtype float16 --gpu-memory-utilization 0.6 2:構建向量數據庫 from langchain_…

Redis基礎(6):SpringDataRedis

SpringDataRedis簡介 SpringData是Spring中專門進行數據操作的模塊,包含了對于各種數據庫的集成。其中對Redis的集成模塊叫做SpringDataRedis(官網地址:Spring Data Redis)。其最核心的特點就是提供了不同Redis客戶端的整合&…

B. Shrinking Array/縮小數組

B. Shrinking Array讓我們稱一個數組 b 為 i 美麗 ,如果它至少包含兩個元素,并且存在一個位置 |bi?bi1|≤1 使得 |x| (其中 x 是 #10# #11# 的絕對值)。給定一個數組 a ,只要它至少包含兩個元素,你就可以執行以下操作&#xff1a…

【學習筆記】Linux系統中SSH服務安全配置

一、背景知識 以ubuntu為例,查看ssh服務是否安全并配置,執行 ssh -V ssh的配置文件路徑:/etc/ssh/sshd_config 二、SSH服務配置文件 1.端口和監聽設置 Port 22 含義:指定SSH服務監聽的端口號(默認是22&#xff09…

FastAPI + Tortoise-ORM + Aerich 實現數據庫遷移管理(MySQL 實踐)

在 FastAPI 項目中,Tortoise-ORM 是一個輕量的異步 ORM 框架,適用于 async/await 場景。結合數據庫遷移工具 Aerich,可以優雅地管理數據庫表結構演進,本文將通過完整流程演示如何在 MySQL 環境下使用。📦 一、環境準備…

7.7日 實驗03-Spark批處理開發(2)

使用Spark處理數據文件檢查數據檢查$DATA_EXERCISE/activations里的數據&#xff0c;每個XML文件包含了客戶在指定月份活躍的設備數據。拷貝數據到HDFS的/dw目錄樣本數據示例&#xff1a;<activations><activation timestamp"1225499258" type"phone&q…

C語言可變參數感悟

#include <stdio.h> #include <stdarg.h> #if 1 /* *在C語言中&#xff0c;可變參函數是指參數數量不固定的函數&#xff0c;比如printf\scanf *可變參函數的語法&#xff1a; *返回類型 函數名&#xff08;固定函數&#xff0c;.....) { //函數體 } *1、包含頭文件…

LeetCode 1248.統計優美子數組

給你一個整數數組 nums 和一個整數 k。如果某個連續子數組中恰好有 k 個奇數數字&#xff0c;我們就認為這個子數組是「優美子數組」。 請返回這個數組中 「優美子數組」 的數目。 示例 1&#xff1a; 輸入&#xff1a;nums [1,1,2,1,1], k 3 輸出&#xff1a;2 解釋&#xf…

FastAPI Docker環境管理腳本使用指南

作者: 源滾滾AI編程 創建時間: 2025年07月08日 版本: v1.0.0 文檔狀態: 完成 版權聲明 本文檔由源滾滾AI編程創作,版權所有。未經作者書面許可,不得復制、分發或用于商業用途。 免責聲明 本文檔僅用于技術交流和學習目的。作者不對使用本文檔內容導致的任何問題承擔責任。…

前端常見 HTTP 狀態碼

作為前端開發者&#xff0c;與后端 API 交互時&#xff0c;HTTP 狀態碼是判斷請求成敗的關鍵信號。理解常見狀態碼的含義、責任歸屬及應對策略&#xff0c;能極大提升調試效率和團隊協作。以下是關鍵狀態碼的詳細解析&#xff1a; 首先說一下如何查看狀態碼&#xff1a; 如上圖…

深度解析C語言內存函數(小米面試題)

目錄 一、memcpy1.1 代碼演示1.2 memcpy的模擬實現 二、memmove2.1 代碼演示2.2 模擬實現&#xff08;小米面試題&#xff09; 三、memset3.1 代碼演示3.2 總結 四、memcmp4.1 代碼演示4.2 總結 總結 一、memcpy &#xff08;memory copy 內存復制&#xff09; 之前文章中寫的…

DK124反激式開關電源芯片

18W 高性能交直流轉換芯片 特性 DK124 是一款離線式開關電源芯片&#xff0c;最大輸出功率達到 24W。內部集成了 PWM 控制器、700V 功率管和初級峰值電流檢測電路&#xff0c;并采用了可以省略輔助供電繞組的專利自供電技術&#xff0c;極大簡化了外圍應用電路&#xff0c;減…

商品銷售數據分析實驗

進入虛擬機&#xff0c;啟動HDFS和Yarn1.創建表 hive show databases; use test;銷售訂單表create table t_dml (detail_id bigint,sale_date date, province string,city string,product_id bigint,cnt bigint,amt double )row format delimited fields terminated by ,;商品…

PH熱榜 | 2025-07-08

1. TensorBlock Forge 標語&#xff1a;人工智能模型的API 介紹&#xff1a;Forge是一個快速且安全的工具&#xff0c;讓你可以跨不同供應商連接和運行AI模型 產品網站&#xff1a; 立即訪問 Product Hunt&#xff1a; View on Product Hunt 票數&#xff1a; &#x1f53a…

2025-01)electronjs-v11.2.0升級到新版本electronjs-v37.2.0記錄,node版本記錄,淘寶鏡像配置記錄,升級記錄

背景:由于22年使用electronjs開發的自助機客戶端幾年沒去維護,現在有需求要修改,電腦也換新了,node環境也沒,直接把electron從 之前的 11.2.0 版本 升級到了37.2.0版本,升級最主要的目的是升級谷歌瀏覽器內核,升級后谷歌瀏覽器內核直接從87升級到了138,可以支持谷歌最新…

iQOO手機怎樣相互遠程控制?其他手機可以遠程控制iQOO嗎?

iQOO是Vivo同一品牌下的產品&#xff0c;它們兩款手機都可以使用手機內置的遠程控制功能。具體做法是&#xff0c;打開控制端的iQOO手機的【設置】【快捷與輔助】、【遠程協助】&#xff0c;然后輸入被控端的電話號碼&#xff0c;等被控端的手機接受遠程協助后&#xff0c;就可…

【入門級-C++程序設計:3、程序基本語句-多層循環語句】

1、定義&#xff1a; 在 C 中&#xff0c;多層循環&#xff08;嵌套循環&#xff09;是指在一個循環體內包含另一個或多個循環語句。它常用于處理多維數據結構&#xff08;如二維數組&#xff09;、復雜的迭代邏輯&#xff08;如矩陣運算、圖形打印、組合遍歷等&#xff09;。多…

四、jenkins自動構建和設置郵箱

一、jenkins自動構建什么自動構建、有啥用&#xff1a;觸發方式代碼提交&#xff08;Git push&#xff09;定時任務&#xff08;如每天凌晨構建&#xff09;手動點擊等方式&#xff08;立即執行&#xff09;執行內容從 Git/SVN 拉取最新代碼運行編譯&#xff08;如 Maven/Gradl…