File tree 2 files changed +16
-3
lines changed
2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ This is a API testing tool.
14
14
* Validate the response body with [ JSON schema] ( https://json-schema.org/ )
15
15
* Pre and post handle with the API request
16
16
* Output reference between TestCase
17
- * Run in server mode, and provide the gRPC endpoint
17
+ * Run in server mode, and provide the [ gRPC endpoint] ( pkg/server/server.proto )
18
18
* [ VS Code extension] ( https://github.com/LinuxSuRen/vscode-api-testing ) support
19
19
20
20
## Get started
@@ -25,6 +25,8 @@ Install it via [hd](https://github.com/LinuxSuRen/http-downloader) or download f
25
25
hd install atest
26
26
```
27
27
28
+ or, you can install it in Kubernetes. See also the [ manifests] ( sample/manifest.yaml ) .
29
+
28
30
see the following usage:
29
31
30
32
``` shell
Original file line number Diff line number Diff line change @@ -8,16 +8,28 @@ metadata:
8
8
name : api-testing
9
9
spec :
10
10
replicas : 1
11
+ strategy :
12
+ rollingUpdate :
13
+ maxSurge : 1
14
+ maxUnavailable : 1
11
15
selector :
12
16
matchLabels :
13
17
app : api-testing
14
- strategy : {}
15
18
template :
16
19
metadata :
17
20
creationTimestamp : null
18
21
labels :
19
22
app : api-testing
20
23
spec :
24
+ affinity :
25
+ podAntiAffinity :
26
+ preferredDuringSchedulingIgnoredDuringExecution :
27
+ - podAffinityTerm :
28
+ labelSelector :
29
+ matchLabels :
30
+ app : api-testing
31
+ topologyKey : kubernetes.io/hostname
32
+ weight : 5
21
33
containers :
22
34
- image : ghcr.io/linuxsuren/api-testing
23
35
name : server
28
40
requests :
29
41
cpu : " 100m"
30
42
memory : 100m
31
- status : {}
32
43
---
33
44
apiVersion : v1
34
45
kind : Service
You can’t perform that action at this time.
0 commit comments