-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
on-behalf-of: @org [email protected]
- Loading branch information
aliyun-computenest
committed
Jan 9, 2025
1 parent
8965889
commit d0d0cb3
Showing
6 changed files
with
632 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
ChartValues: | ||
basic: | ||
image_registry: compute-nest-registry.cn-hangzhou.cr.aliyuncs.com/public | ||
HelmChartPath: helm | ||
RuntimeType: Kubernetes | ||
ServiceType: private | ||
ArtifactSourceType: HelmChart | ||
ServiceBuildRegion: ap-southeast-1 | ||
RepoName: aliyun-computenest/quickstart-volcano | ||
RegionId: cn-hangzhou | ||
OutputType: HelmNotes | ||
Owner: yehanyh | ||
Branch: main | ||
Platform: github |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# 代码仓库结构 | ||
|
||
## 文档目录说明: | ||
``` | ||
. | ||
├── README.md - README | ||
├── docs - 服务文档相关文件 | ||
│ └── index.md | ||
├── resources - 服务资源文件 | ||
│ ├── icons | ||
│ │ └── service_logo.png - 服务logo | ||
│ ├── architecture | ||
│ │ └── architecture.jpg - 架构图 | ||
│ └── artifact_resources - 部署物相关资源文件 | ||
├── ros_templates - 服务ROS模板目录,支持多模板 | ||
│ └── template.yaml - ROS模板,ROS模板引擎根据该模板会自动创建出所有的资源 | ||
├── config.yaml - 服务配置文件,服务构建过程中会使用计算巢命令行工具computenest-cli,computenest-cli会基于该配置文件构建服务 | ||
├── preset_parameters.yaml - (该文件只有托管版有)服务商预设参数,如VpcId,VSwitchId等,该ros模板内容会渲染为表单方便服务商填写 | ||
``` | ||
|
||
## 其他 | ||
关于ROS模板,请参见 [资源编排](https://help.aliyun.com/zh/ros)。 | ||
关于computenest-cli请参见 [computenest-cli](https://pypi.org/project/computenest-cli/)。 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
Service: | ||
RegionId: cn-hangzhou | ||
DeployType: ros | ||
OperationMetadata: | ||
ModifyParametersConfig: | ||
- TemplateName: '模版1' | ||
Operation: | ||
- Name: 修改Helm参数 | ||
Description: 修改Helm参数 | ||
Type: Custom | ||
SupportPredefinedParameters: false | ||
EnableLogging: false | ||
Parameters: | ||
- ChartValues | ||
DeployMetadata: | ||
SupplierDeployMetadata: | ||
HelmChartArtifactRelation: | ||
'{{ computenest::helmchart::quickstart-volcano }}': | ||
ArtifactId: ${Artifact.Artifact_1.ArtifactId} | ||
ArtifactVersion: ${Artifact.Artifact_1.ArtifactVersion} | ||
TemplateConfigs: | ||
- Name: 模版1 | ||
Url: 'ros_templates/template.yaml' | ||
AllowedRegions: | ||
- ap-southeast-1 | ||
ServiceType: private | ||
ServiceInfo: | ||
Locale: zh-CN | ||
ShortDescription: helm chart deploy | ||
Image: 'resources/icons/service_logo.png' | ||
Artifact: | ||
Artifact_1: | ||
ArtifactType: HelmChart | ||
ArtifactName: quickstart-volcano-helm-chart | ||
ArtifactProperty: | ||
RepoName: ${HelmChartBuilder.HelmChart_1.RepoName} | ||
Tag: ${HelmChartBuilder.HelmChart_1.Tag} | ||
RepoType: Public | ||
HelmChartBuilder: | ||
HelmChart_1: | ||
HelmChartPath: 'resources/artifact_resources/helm_chart/volcano-1.10.0.tgz' | ||
RepoName: volcano | ||
Tag: 1.10.0 |
Binary file added
BIN
+48.1 KB
.computenest/resources/artifact_resources/helm_chart/volcano-1.10.0.tgz
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.