检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Select template-package-demo.zip that has been uploaded to the OBS bucket when Obtaining and Uploading the Component Template Package. Click OK. Click Next.
Upload the template package to the OBS bucket in advance. For details, see Streaming Upload (PUT).
Example Request None Example Response { "components": [ { "source": { "kind": "package", "url": "obs://bucket0001/weather-1.0.0.jar", "storage": "obs" }, "name": "mycomponent",
Request Edit the name and description of the custom Java technology stack version of the VM-based deployment type. { "name": "CustomJdk", "deploy_mode": "virtualmachine", "type": "Java", "version": "1.0.0", "description": "12345", "spec": { "parameters": { "jdk_url": "obs
Upload the software package obtained in 1 to the OBS bucket prepared in Preparing Resources. For details, see Streaming Upload (PUT). Creating an Environment Log in to ServiceStage. Choose Environment Management > Create Environment.
OBS Click Select Software Package. Select the uploaded template package from the OBS bucket. Click OK. SWR Click Select Software Package. Select the uploaded template package from the SWR repository. Click OK.
Example Request Parse the demo-app-package.zip component template package stored in the obs://apitest/ directory of the OBS bucket. { "template_source": { "storage": "obs", "url": "obs://apitest/demo-app-package.zip", "http_username": null, "http_password
Cloud Server (ECS)), network resources (Elastic Load Balance (ELB) and Elastic Public Network EIP)), middleware (Cloud Service Engine (CSE), Distributed Cache Service (DCS), and Cloud Database Service (RDS)), and storage resources (Software Repository (SWR), Object Storage Service (OBS
Select the demo.jar package in the myapp bucket of OBS as the deployment component.
Upload the software package to the OBS bucket in advance. For details, see Streaming Upload (PUT). Set Build Type. System default Select the language of the basic image, which must be the same as that of the software package. Set Basic Image Tag.
Upload the software package to the OBS bucket. For details, see Streaming Upload (PUT). If you need to use JFrog (example) as the software package repository, you can download the package from the HTTP/HTTPS custom file address.
": { "name": "OpenJDK8", "version": "1.1.1", "type": "Java", "deploy_mode": "virtualmachine" }, "source": { "kind": "package", "url": "obs://bucket0001/weather-1.0.0.jar", "version": "", "storage": "obs" }
Upload the package to the OBS bucket prepared in Preparing Resources. For details, see Streaming Upload (PUT). Obtaining the Download Address of the Uploaded Image Package Download the image package demo-app.tar. Upload the package to the SWR image repository.
fixed when type is set to efs. csi-obs: fixed when type is set to obs. csi-nas: fixed when type is set to sfs. csi-disk: fixed when type is set to evs. obs_volume_type No String OBS volume type.
"name": "test", "project_id": "578ac30b81034b89a7255b3af26db9c9", "deploy_mode": "virtualmachine", "type": "Java", "version": "1.0.0", "description": null, "spec": { "os": null, "sdk": null, "parameters": { "jdk_url": "obs
Cloud Server (ECS)), network resources (Elastic Load Balance (ELB) and Elastic Public Network EIP)), middleware (Cloud Service Engine (CSE), Distributed Cache Service (DCS), and Cloud Database Service (RDS)), and storage resources (Software Repository (SWR), Object Storage Service (OBS
OBS If components deployed in a container environment need to store data in object storage mode, you must have the OBS ReadOnlyAccess permissions assigned.
Default value: NFS. obs_volume_type String OBS volume type. Default value: STANDARD. access_mode String Storage volume access mode. ReadWriteOnce: A volume can be mounted as read-write by a single node.
{ "id": "b153f6b8-9335-46a1-913e-c2d8f966d4b2", "name": "CustomJdk", "project_id": "578ac30b81034b89a7255b3af26db9c9", "deploy_mode": "virtualmachine", "type": "Java", "version": "1.0.0", "spec": { "os": null, "sdk": null, "parameters": { "jdk_url": "obs
with Jenkins to Automatically Build and Perform Rolling Upgrade on Components Deployed on ServiceStage After the code is developed, you need to pack the code into an image package or JAR package on Jenkins before each rollout, upload the image package to SWR or the JAR package to OBS