Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【GLCC】Higress Console 支持 Gateway API-功能模块2 #326

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

iendi
Copy link

@iendi iendi commented Aug 25, 2024

Ⅰ. Describe what this PR did

本pr主要完成功能第2部分:域名->gateway的转化,包括①修改域名定义,支持不同端口配置不同证书,②域名操作时,自动进行gateway资源的 增删查改列 操作,③通过全局配置higress-port,记录每个端口的计数情况,增加或删除域名端口时,同时修改higress-gateway的service的ports字段

Ⅱ. 整体进度

功能 进度 任务
资源定义及初始化 ✅已完成 [√]CRD Model的创建(gatewayclass, gateway, httproute, refrencegrant)
[√]启动console时,初始化gtw class,读取网关模式
域名->gateway ✅已完成 [√]gateway资源的 增删查改列 操作
[√]修改域名定义,支持不同端口配置不同证书
[√]增加域名端口时,同时修改higress-gateway的service的ports字段 #896
路由->httproute ⏳未开始 [ ]httproute资源的 增删查改列 操作
[ ]重写、重定向等策略的适配
[ ]支持openapi导入,生成配置
策略及插件 ⏳未开始 [ ]域名级插件适配
[ ]路由级插件适配

Ⅲ. 结果

①域名创建
1
检查对应gateway资源
2
检查service对应端口是否开启
3
检查gateway status
4

②域名更新
4-1
service删除多余端口号
5
gateway中也更新了
6
③域名删除
7-1
service中删除对应端口号
7-2
删除了对应的gateway资源
7-3

Ⅳ. 备注

目前域名对应创建的gateway资源仍然先放在higress-system命名空间下,可根据需要修改

@CLAassistant
Copy link

CLAassistant commented Aug 25, 2024

CLA assistant check
All committers have signed the CLA.

…ly with PMD rules and lowerCamelCase naming conventions
Refactor: modify codestyle and change code level

Refactor: modify codestyle and change code level
@iendi iendi marked this pull request as ready for review October 16, 2024 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants