forked from yannh/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhttpgetaction.json
45 lines (45 loc) · 1.23 KB
/
httpgetaction.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"description": "HTTPGetAction describes an action based on HTTP Get requests.",
"properties": {
"host": {
"description": "Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead.",
"type": [
"string",
"null"
]
},
"httpHeaders": {
"description": "Custom headers to set in the request. HTTP allows repeated headers.",
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.HTTPHeader"
},
"type": [
"array",
"null"
]
},
"path": {
"description": "Path to access on the HTTP server.",
"type": [
"string",
"null"
]
},
"port": {
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString",
"description": "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME."
},
"scheme": {
"description": "Scheme to use for connecting to the host. Defaults to HTTP.",
"type": [
"string",
"null"
]
}
},
"required": [
"port"
],
"type": "object",
"$schema": "http://json-schema.org/schema#"
}