击“确定”,完成目标主机的创建。 参数项 是否必填 说明 主机名 是 请输入自定义的目标主机名称,示例:目标主机B。 IP 是 请输入“目标主机-B”的私有IP地址。 操作系统 是 不可更改,默认为当前主机集群的操作系统。 认证方式 是 本场景使用密码进行认证,输入的是“目标主机-B”的用户名及密码。
”。 操作系统 是 可选“Linux”或“Windows”。 主机连通方式 是 直连模式:选取绑有EIP的主机作为目标主机,实现与CodeArts的直接连通。 代理模式:选取绑有EIP的主机作为代理主机,实现CodeArts到目标主机的网络连通。 如果您部署的目标主机无法连接到公网,则需要您选取“代理模式”。
DeploymentHostDetail 参数 参数类型 描述 group_id String 主机集群id host_name String 主机名称 ip String IPv4/IPv6格式的IP地址 port Integer ssh端口,如:22 os String 操作系统:windows|linux,需要和主机集群保持一致
项目id,获取方式请参见获取项目id。 os String 操作系统:windows|linux auto_connection_test_switch Integer 自动测试功能已下架,该字段已失效 slave_cluster_id String slave集群id,默认为null时使用默认slave集群,
HostClusterRequest{ SlaveClusterId: &slaveClusterIdHostClusterRequest, Description: &descriptionHostClusterRequest, Name: "更新主机集群名称", } response, err :=
> 云容器引擎”,进入“云容器引擎”页面,单击目标集群名称,单击公网地址的“绑定”,进行公网IP的绑定操作。 由于部署服务官方资源池与您的K8S集群不在同一个VPC,所以只能通过弹性IP访问。 单击“连接信息”中“kubectl”对应的“配置”,进入界面,在“下载kubectl配
击“确定”,完成目标主机的创建。 参数项 是否必填 说明 主机名 是 请输入自定义的目标主机名称,示例:目标主机B。 IP 是 请输入“目标主机-B”的私有IP地址。 操作系统 是 不可更改,默认为当前主机集群的操作系统。 认证方式 是 本场景使用密码进行认证,输入的是“目标主机-B”的用户名及密码。
DeploymentGroup{ IsProxyMode: &isProxyModeDeploymentGroup, Description: &descriptionDeploymentGroup, SlaveClusterId: &slaveClusterIdDeploymentGroup
项目id,获取方式请参见获取项目id。 os String 操作系统:windows|linux auto_connection_test_switch Integer 自动测试功能已下架,该字段已失效 slave_cluster_id String slave集群id,默认为null时使用默认slave集群,
CreateHostClusterRequestBody{ IsProxyMode: int32(1), Description: &descriptionCreateHostClusterRequestBody, SlaveClusterId: &slaveClus
环境下主机信息列表 表5 EnvironmentHostInfo 参数 参数类型 描述 host_id String 主机id ip String 主机ip,如:161.17.101.12 port Integer ssh端口,如:22 permission EnvironmentHostPermission
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
-UseBasicParsing https://www.7-zip.org/a/7z1900-x64.exe -OutFile ./7zip.exe 7zip.exe /S "C:/Program Files/7-Zip/7z.exe" a ./archive.zip ./buildResult/Release/bin/*
应用状态,Draft表示草稿状态,Available表示可用状态 execution_time String 最后一次部署时间 description String 描述 is_defaut_permission Boolean 是否使用默认权限矩阵 template_id String
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
查看是否有防火墙配置,以iptables为例,命令如下: iptables -L 服务端对目标主机不存在SSH连接 如果服务端对目标主机不存在SSH连接,说明目标主机网络不可达,其所在的网络环境可能存在访问限制。 请查看硬件防火墙等相关网络配置,是否有限制源IP、目标IP、SSH协议配置的安全策略。
志中的报错信息排查。 验证部署结果。 打开浏览器,输入“http://IP:5000”,其中IP为ECS的弹性公网IP地址,页面中显示商城主页。 输入“http://IP:5001”,其中ECS的弹性公网IP地址,页面中显示商城仪表盘。 释放资源 为了避免不必要的费用产生,完成实
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
您即将访问非华为云网站,请注意账号财产安全