{% extends "base.html" %} {% block page %}

项目容器化部署

{{ form.csrf_token }}

选择集群*:{{ form.contexts (style="width:130px")}} 所属项目*:{{ form.projects(style="width:150px") }}  服务端口:{{ form.container_port (style="width:135px",placeholder="多个以逗号分割")}}

代码包名*:{{ form.object (style="width:190px")}} 版本号*:{{ form.version (style="width:181px")}}  副本数量*:{{ form.replicas (style="width:50px")}}

容器Dockerfile特殊参数:

{{ form.docker_args (style="width:620px;height:60px;margin-top:-14px;margin-bottom:-10px") }}

容器系统环境及应用进程启动参数:*

{{ form.run_args (style="width:620px;height:60px;margin-top:-14px;margin-bottom:-10px") }}

Sidecar镜像:{{ form.sidecar (placeholder="完整Docker镜像地址",style="width:540px") }}

健康监测URL:{{ form.healthcheck (placeholder="以/开头的URL地址",style="width:532px") }}

亲和性标签:{{ form.label_project (style="width:232px",placeholder="required(必须符合)") }}  亲和性标签:{{ form.label_deploy (style="width:232px",placeholder="preferred(尽可能符合)") }}

mount路径:{{ form.mount_path (style="width:235px") }} mount名称:{{ form.mount_name (style="width:235px") }}

容器CPU核数:{{ form.request_cpu (style="width:113px") }}-{{ form.limit_cpu (style="width:113px")}}  内存资源:{{ form.request_mem (style="width:110px",placeholder="默认GB")}}-{{ form.limit_mem (style="width:110px",placeholder="默认GB")}}

项目域名:{{ form.domain (style="width:400px",placeholder="对外提供http服务必填,多个以逗号分割")}}  对外服务端口:{{ form.ingress_port (style="width:64px") }}

{{ form.submit (class="btn btn-primary") }}

{% endblock page %}