Skip to content

Commit

Permalink
add schedule e2e
Browse files Browse the repository at this point in the history
Signed-off-by: ii2day <ji.li@daocloud.io>
  • Loading branch information
ii2day committed Aug 16, 2023
1 parent afe5513 commit cb927e6
Show file tree
Hide file tree
Showing 9 changed files with 819 additions and 32 deletions.
20 changes: 10 additions & 10 deletions docs/reference/apphttphealthy-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,16 @@ status:
#### AgentSpec
| 字段 | 描述 | 结构 | 验证 | 取值 | 默认值 |
|-------------------------------|------------------------|----------------------------------------------------------------------------------------------------------------------------------------|-----|----------------------|-----------|
| annotation | agent 工作负载的 annotation | map[string]string | 可选 | | |
| kind | agent 工作负载的类型 | string | 可选 | Deployment、DaemonSet | DaemonSet |
| deploymentReplicas | agent 工作负载类型为 deployment 时的期望副本数 | int | 可选 | 大于等于 0 | 0 |
| affinity | agent 工作负载亲和性 | [labelSelector](https://github.com/kubernetes/kubernetes/blob/v1.27.0/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go#L1195) | 可选 | | |
| env | agent 工作负载环境变量 | [env](https://github.com/kubernetes/kubernetes/blob/v1.27.0/staging/src/k8s.io/api/core/v1/types.go#L2012) | 可选 | | |
| hostNetwork | agent 工作负载是否使用宿主机网络 | bool | 可选 | true、false | false |
| resources | agent 工作负载资源使用配置 | [resources](https://github.com/kubernetes/kubernetes/blob/v1.27.0/staging/src/k8s.io/api/core/v1/types.go#L2333) | 可选 | | |
| terminationGracePeriodMinutes | agent 工作负载完成任务后多少分钟之后终止 | int | 可选 | 大于等于 0 | 60 |
| 字段 | 描述 | 结构 | 验证 | 取值 | 默认值 |
|-------------------------------|------------------------|----------------------------------------------------------------------------------------------------------------------------------------|-----|----------------------|--------------------|
| annotation | agent 工作负载的 annotation | map[string]string | 可选 | | |
| kind | agent 工作负载的类型 | string | 可选 | Deployment、DaemonSet | DaemonSet |
| deploymentReplicas | agent 工作负载类型为 deployment 时的期望副本数 | int | 可选 | 大于等于 0 | 0 |
| affinity | agent 工作负载亲和性 | [labelSelector](https://github.com/kubernetes/kubernetes/blob/v1.27.0/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go#L1195) | 可选 | | |
| env | agent 工作负载环境变量 | [env](https://github.com/kubernetes/kubernetes/blob/v1.27.0/staging/src/k8s.io/api/core/v1/types.go#L2012) | 可选 | | |
| hostNetwork | agent 工作负载是否使用宿主机网络 | bool | 可选 | true、false | false |
| resources | agent 工作负载资源使用配置 | [resources](https://github.com/kubernetes/kubernetes/blob/v1.27.0/staging/src/k8s.io/api/core/v1/types.go#L2333) | 可选 | | cpu:100m,memory:128Mi |
| terminationGracePeriodMinutes | agent 工作负载完成任务后多少分钟之后终止 | int | 可选 | 大于等于 0 | 60 |
#### Schedule
Expand Down
23 changes: 14 additions & 9 deletions test/docs/Runtime.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# E2E Cases for Task Runtime

| Case ID | Title | Priority | Smoke | Status | Other |
|---------|----------------------------------------------------------------------------------------|----------|-------|--------|-------------|
| E00001 | Successfully testing Task Runtime DaemonSet creation | p1 | | | |
| E00002 | Successfully testing Task Runtime Deployment creation | p1 | | | |
| E00003 | Successfully testing Task Runtime Service creation | p1 | | | |
| E00004 | Successfully testing cascading deletion with Task Runtime Service | p1 | | | |
| E00005 | Successfully testing cascading deletion with Task Runtime | p1 | | | |
| E00006 | Successfully testing Task NetReach Runtime Service and Ingress creation | p1 | | | |
| E00007 | Successfully testing cascading deletion with Task NetReach Runtime Service and Ingress | p1 | | | |
| Case ID | Title | Priority | Smoke | Status | Other |
|---------|------------------------------------------------------------------------------------------------|----------|-------|--------|-------------|
| E00001 | Successfully testing Task NetReach Runtime DaemonSet Service Ingress creation | p1 | | done | |
| E00002 | Successfully testing Task NetAppHttpHealthy Runtime DaemonSet Service creation | p1 | | done | |
| E00003 | Successfully testing Task NetDns Runtime DaemonSet Service creation | p1 | | done | |
| E00004 | Successfully testing Task NetReach Runtime Deployment Service Ingress creation | p1 | | | |
| E00005 | Successfully testing Task NetAppHttpHealthy Runtime Deployment Service creation | p1 | | | |
| E00006 | Successfully testing Task NetDns Runtime Deployment Service creation | p1 | | | |
| E00007 | Successfully testing cascading deletion with Task NetReach DaemonSet Service and Ingress | p1 | | done | |
| E00008 | Successfully testing cascading deletion with Task NetAppHttpHealthy DaemonSet Service | p1 | | done | |
| E00009 | Successfully testing cascading deletion with Task NetDns DaemonSet Service | p1 | | done | |
| E00010 | Successfully testing cascading deletion with Task NetReach Deployment Service and Ingress | p1 | | | |
| E00011 | Successfully testing cascading deletion with Task NetAppHttpHealthy Deployment Service | p1 | | | |
| E00012 | Successfully testing cascading deletion with Task NetDns Deployment Service | p1 | | | |
Loading

0 comments on commit cb927e6

Please sign in to comment.