检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
/root/tools/obsutil/obsutil_linux_amd64_5.4.6/obsutil cp test.txt obs://{OBS bucket name} Replace {OBS bucket name} with the name of the OBS bucket to be used. In this example, the bucket name is obs-mzc.
For example, obs://obs-mzc. obs_jar_url No String This parameter is mandatory when software packages are used for deployment. Link of the software package uploaded to OBS. The format is obs://{Bucket name}/{Software package name}.
Upload the template package to the OBS bucket in advance. For details, see Streaming Upload (PUT).
Upload the template package to the OBS bucket in advance. For details, see Streaming Upload (PUT).
OBS If OBS is not the component template repository, click Select Software Package, select the uploaded template package from the OBS bucket, and click OK. Otherwise, click , select the uploaded template package from the OBS bucket, and click OK.
Example Request Create a container-deployed component based on the component template. { "environment_id": "2393eecc-69bc-40a9-9b6c-996a9259618d", "application_id": "dda56ba8-5295-3d0d-b298-72cb1da3f515", "template_source": { "storage": "obs", "url": "obs
To store operation records for longer than seven days, configure transfer to OBS or Log Tank Service (LTS) so that you can view them in OBS buckets or LTS log groups.
OBS Click Select Software Package and select the corresponding software package. Upload the software package to the OBS bucket in advance. For details, see Streaming Upload (PUT).
Value: swr (software repository), swr (image), obs, or codearts. type String Type. VM-based deployment supports package. Container-based deployment supports package and image. url String Software package or image address. auth String Authentication mode. Value: iam or none.
OBS If OBS is not the component template repository, click Select Software Package, select the uploaded template package from the OBS bucket, and click OK. Otherwise, click , select the uploaded template package from the OBS bucket, and click OK.
Example: https://obs.region_name.external_domain_name.com. bucket String Name of the OBS bucket where the software package is stored. key String Object in the OBS bucket, which is usually the name of the software package.
Example Request None Example Response { "components": [ { "source": { "kind": "package", "url": "obs://bucket0001/weather-1.0.0.jar", "storage": "obs" }, "name": "mycomponent",
OBS Buckets Standard OBS buckets: This type of OBS buckets applies to scenarios where a large number of hotspot files or small-sized files need to be accessed frequently (multiple times per month on average) and data can be quickly obtained.
Example: https://obs.region_id.external_domain_name.com. bucket No String Name of the OBS bucket where the software package is stored. key No String Object in the OBS bucket, which is usually the name of the software package.
Example: https://obs.region_id.external_domain_name.com. bucket No String Name of the OBS bucket where the software package is stored. key No String Object in the OBS bucket, which is usually the name of the software package.
Example: obs://cyf/bisheng-jdk-8u412-linux-aarch64.tar.gz. tomcat_url: path for storing the Tomcat software package. Example value: obs://cyf/apache-tomcat-8.5.100.tar.gz.
Table 7 artifact spec properties Parameter Type Description endpoint String OBS endpoint address.
Overview 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, and then use ServiceStage to upgrade the component version. This process is complex.
VPC Endpoint Service Name: Enter the VPC endpoint service name for OBS in different regions by referring to Table 2.
You need to create VPC endpoints for the VPC endpoint services of OBS listed in Table 2. Region: Select the region specified in 2. Service Category: Select Find a service by name. VPC Endpoint Service Name: Enter the VPC endpoint service name for OBS by referring to Table 2.