cdk8s-plus-31 2.3.0 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +173 -14
- package/docs/java.md +193 -0
- package/docs/python.md +279 -0
- package/docs/typescript.md +180 -0
- package/lib/_action.d.ts +6 -1
- package/lib/_action.js +8 -1
- package/lib/api-resource.js +2 -2
- package/lib/base.js +2 -2
- package/lib/config-map.js +1 -1
- package/lib/container.js +6 -6
- package/lib/cron-job.js +1 -1
- package/lib/daemon-set.js +1 -1
- package/lib/deployment.js +3 -3
- package/lib/handler.js +1 -1
- package/lib/horizontal-pod-autoscaler.js +4 -4
- package/lib/imports/k8s.js +154 -154
- package/lib/ingress.js +2 -2
- package/lib/job.js +1 -1
- package/lib/namespace.js +2 -2
- package/lib/network-policy.js +3 -3
- package/lib/pod.js +16 -16
- package/lib/probe.d.ts +40 -0
- package/lib/probe.js +17 -6
- package/lib/pv.js +4 -4
- package/lib/pvc.js +1 -1
- package/lib/role-binding.js +4 -4
- package/lib/role.js +2 -2
- package/lib/secret.js +6 -6
- package/lib/service-account.js +1 -1
- package/lib/service.js +1 -1
- package/lib/stateful-set.js +2 -2
- package/lib/volume.js +1 -1
- package/lib/workload.js +2 -2
- package/package.json +1 -1
package/.jsii
CHANGED
|
@@ -4133,7 +4133,7 @@
|
|
|
4133
4133
|
"kind": "interface",
|
|
4134
4134
|
"locationInModule": {
|
|
4135
4135
|
"filename": "src/probe.ts",
|
|
4136
|
-
"line":
|
|
4136
|
+
"line": 119
|
|
4137
4137
|
},
|
|
4138
4138
|
"name": "CommandProbeOptions",
|
|
4139
4139
|
"symbolId": "src/probe:CommandProbeOptions"
|
|
@@ -9137,6 +9137,63 @@
|
|
|
9137
9137
|
],
|
|
9138
9138
|
"symbolId": "src/role-binding:Group"
|
|
9139
9139
|
},
|
|
9140
|
+
"cdk8s-plus-31.GrpcProbeOptions": {
|
|
9141
|
+
"assembly": "cdk8s-plus-31",
|
|
9142
|
+
"datatype": true,
|
|
9143
|
+
"docs": {
|
|
9144
|
+
"stability": "stable",
|
|
9145
|
+
"summary": "Options for `Probe.fromGrpc()`."
|
|
9146
|
+
},
|
|
9147
|
+
"fqn": "cdk8s-plus-31.GrpcProbeOptions",
|
|
9148
|
+
"interfaces": [
|
|
9149
|
+
"cdk8s-plus-31.ProbeOptions"
|
|
9150
|
+
],
|
|
9151
|
+
"kind": "interface",
|
|
9152
|
+
"locationInModule": {
|
|
9153
|
+
"filename": "src/probe.ts",
|
|
9154
|
+
"line": 145
|
|
9155
|
+
},
|
|
9156
|
+
"name": "GrpcProbeOptions",
|
|
9157
|
+
"properties": [
|
|
9158
|
+
{
|
|
9159
|
+
"abstract": true,
|
|
9160
|
+
"docs": {
|
|
9161
|
+
"default": "- defaults to `container.port`.",
|
|
9162
|
+
"stability": "stable",
|
|
9163
|
+
"summary": "The TCP port to connect to on the container."
|
|
9164
|
+
},
|
|
9165
|
+
"immutable": true,
|
|
9166
|
+
"locationInModule": {
|
|
9167
|
+
"filename": "src/probe.ts",
|
|
9168
|
+
"line": 151
|
|
9169
|
+
},
|
|
9170
|
+
"name": "port",
|
|
9171
|
+
"optional": true,
|
|
9172
|
+
"type": {
|
|
9173
|
+
"primitive": "number"
|
|
9174
|
+
}
|
|
9175
|
+
},
|
|
9176
|
+
{
|
|
9177
|
+
"abstract": true,
|
|
9178
|
+
"docs": {
|
|
9179
|
+
"default": "- If this is not specified, the default behavior is defined by gRPC.",
|
|
9180
|
+
"stability": "stable",
|
|
9181
|
+
"summary": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md)."
|
|
9182
|
+
},
|
|
9183
|
+
"immutable": true,
|
|
9184
|
+
"locationInModule": {
|
|
9185
|
+
"filename": "src/probe.ts",
|
|
9186
|
+
"line": 158
|
|
9187
|
+
},
|
|
9188
|
+
"name": "service",
|
|
9189
|
+
"optional": true,
|
|
9190
|
+
"type": {
|
|
9191
|
+
"primitive": "string"
|
|
9192
|
+
}
|
|
9193
|
+
}
|
|
9194
|
+
],
|
|
9195
|
+
"symbolId": "src/probe:GrpcProbeOptions"
|
|
9196
|
+
},
|
|
9140
9197
|
"cdk8s-plus-31.Handler": {
|
|
9141
9198
|
"assembly": "cdk8s-plus-31",
|
|
9142
9199
|
"docs": {
|
|
@@ -9850,7 +9907,7 @@
|
|
|
9850
9907
|
"kind": "interface",
|
|
9851
9908
|
"locationInModule": {
|
|
9852
9909
|
"filename": "src/probe.ts",
|
|
9853
|
-
"line":
|
|
9910
|
+
"line": 86
|
|
9854
9911
|
},
|
|
9855
9912
|
"name": "HttpGetProbeOptions",
|
|
9856
9913
|
"properties": [
|
|
@@ -9864,7 +9921,7 @@
|
|
|
9864
9921
|
"immutable": true,
|
|
9865
9922
|
"locationInModule": {
|
|
9866
9923
|
"filename": "src/probe.ts",
|
|
9867
|
-
"line":
|
|
9924
|
+
"line": 106
|
|
9868
9925
|
},
|
|
9869
9926
|
"name": "host",
|
|
9870
9927
|
"optional": true,
|
|
@@ -9872,6 +9929,30 @@
|
|
|
9872
9929
|
"primitive": "string"
|
|
9873
9930
|
}
|
|
9874
9931
|
},
|
|
9932
|
+
{
|
|
9933
|
+
"abstract": true,
|
|
9934
|
+
"docs": {
|
|
9935
|
+
"default": "- no custom headers are set",
|
|
9936
|
+
"remarks": "Note that HTTP allows repeated headers.",
|
|
9937
|
+
"stability": "stable",
|
|
9938
|
+
"summary": "Custom HTTP headers to set in the probe request."
|
|
9939
|
+
},
|
|
9940
|
+
"immutable": true,
|
|
9941
|
+
"locationInModule": {
|
|
9942
|
+
"filename": "src/probe.ts",
|
|
9943
|
+
"line": 113
|
|
9944
|
+
},
|
|
9945
|
+
"name": "httpHeaders",
|
|
9946
|
+
"optional": true,
|
|
9947
|
+
"type": {
|
|
9948
|
+
"collection": {
|
|
9949
|
+
"elementtype": {
|
|
9950
|
+
"fqn": "cdk8s-plus-31.HttpHeader"
|
|
9951
|
+
},
|
|
9952
|
+
"kind": "array"
|
|
9953
|
+
}
|
|
9954
|
+
}
|
|
9955
|
+
},
|
|
9875
9956
|
{
|
|
9876
9957
|
"abstract": true,
|
|
9877
9958
|
"docs": {
|
|
@@ -9882,7 +9963,7 @@
|
|
|
9882
9963
|
"immutable": true,
|
|
9883
9964
|
"locationInModule": {
|
|
9884
9965
|
"filename": "src/probe.ts",
|
|
9885
|
-
"line":
|
|
9966
|
+
"line": 92
|
|
9886
9967
|
},
|
|
9887
9968
|
"name": "port",
|
|
9888
9969
|
"optional": true,
|
|
@@ -9900,7 +9981,7 @@
|
|
|
9900
9981
|
"immutable": true,
|
|
9901
9982
|
"locationInModule": {
|
|
9902
9983
|
"filename": "src/probe.ts",
|
|
9903
|
-
"line":
|
|
9984
|
+
"line": 99
|
|
9904
9985
|
},
|
|
9905
9986
|
"name": "scheme",
|
|
9906
9987
|
"optional": true,
|
|
@@ -9911,6 +9992,55 @@
|
|
|
9911
9992
|
],
|
|
9912
9993
|
"symbolId": "src/probe:HttpGetProbeOptions"
|
|
9913
9994
|
},
|
|
9995
|
+
"cdk8s-plus-31.HttpHeader": {
|
|
9996
|
+
"assembly": "cdk8s-plus-31",
|
|
9997
|
+
"datatype": true,
|
|
9998
|
+
"docs": {
|
|
9999
|
+
"stability": "stable"
|
|
10000
|
+
},
|
|
10001
|
+
"fqn": "cdk8s-plus-31.HttpHeader",
|
|
10002
|
+
"kind": "interface",
|
|
10003
|
+
"locationInModule": {
|
|
10004
|
+
"filename": "src/probe.ts",
|
|
10005
|
+
"line": 71
|
|
10006
|
+
},
|
|
10007
|
+
"name": "HttpHeader",
|
|
10008
|
+
"properties": [
|
|
10009
|
+
{
|
|
10010
|
+
"abstract": true,
|
|
10011
|
+
"docs": {
|
|
10012
|
+
"stability": "stable",
|
|
10013
|
+
"summary": "The HTTP Header name to be used."
|
|
10014
|
+
},
|
|
10015
|
+
"immutable": true,
|
|
10016
|
+
"locationInModule": {
|
|
10017
|
+
"filename": "src/probe.ts",
|
|
10018
|
+
"line": 75
|
|
10019
|
+
},
|
|
10020
|
+
"name": "name",
|
|
10021
|
+
"type": {
|
|
10022
|
+
"primitive": "string"
|
|
10023
|
+
}
|
|
10024
|
+
},
|
|
10025
|
+
{
|
|
10026
|
+
"abstract": true,
|
|
10027
|
+
"docs": {
|
|
10028
|
+
"stability": "stable",
|
|
10029
|
+
"summary": "The HTTP header value to be set."
|
|
10030
|
+
},
|
|
10031
|
+
"immutable": true,
|
|
10032
|
+
"locationInModule": {
|
|
10033
|
+
"filename": "src/probe.ts",
|
|
10034
|
+
"line": 80
|
|
10035
|
+
},
|
|
10036
|
+
"name": "value",
|
|
10037
|
+
"type": {
|
|
10038
|
+
"primitive": "string"
|
|
10039
|
+
}
|
|
10040
|
+
}
|
|
10041
|
+
],
|
|
10042
|
+
"symbolId": "src/probe:HttpHeader"
|
|
10043
|
+
},
|
|
9914
10044
|
"cdk8s-plus-31.HttpIngressPathType": {
|
|
9915
10045
|
"assembly": "cdk8s-plus-31",
|
|
9916
10046
|
"docs": {
|
|
@@ -17837,7 +17967,7 @@
|
|
|
17837
17967
|
"kind": "class",
|
|
17838
17968
|
"locationInModule": {
|
|
17839
17969
|
"filename": "src/probe.ts",
|
|
17840
|
-
"line":
|
|
17970
|
+
"line": 165
|
|
17841
17971
|
},
|
|
17842
17972
|
"methods": [
|
|
17843
17973
|
{
|
|
@@ -17847,7 +17977,7 @@
|
|
|
17847
17977
|
},
|
|
17848
17978
|
"locationInModule": {
|
|
17849
17979
|
"filename": "src/probe.ts",
|
|
17850
|
-
"line":
|
|
17980
|
+
"line": 183
|
|
17851
17981
|
},
|
|
17852
17982
|
"name": "fromCommand",
|
|
17853
17983
|
"parameters": [
|
|
@@ -17883,6 +18013,35 @@
|
|
|
17883
18013
|
},
|
|
17884
18014
|
"static": true
|
|
17885
18015
|
},
|
|
18016
|
+
{
|
|
18017
|
+
"docs": {
|
|
18018
|
+
"stability": "stable",
|
|
18019
|
+
"summary": "Defines a probe based on a gRPC request to the container."
|
|
18020
|
+
},
|
|
18021
|
+
"locationInModule": {
|
|
18022
|
+
"filename": "src/probe.ts",
|
|
18023
|
+
"line": 201
|
|
18024
|
+
},
|
|
18025
|
+
"name": "fromGrpc",
|
|
18026
|
+
"parameters": [
|
|
18027
|
+
{
|
|
18028
|
+
"docs": {
|
|
18029
|
+
"summary": "Options."
|
|
18030
|
+
},
|
|
18031
|
+
"name": "options",
|
|
18032
|
+
"optional": true,
|
|
18033
|
+
"type": {
|
|
18034
|
+
"fqn": "cdk8s-plus-31.GrpcProbeOptions"
|
|
18035
|
+
}
|
|
18036
|
+
}
|
|
18037
|
+
],
|
|
18038
|
+
"returns": {
|
|
18039
|
+
"type": {
|
|
18040
|
+
"fqn": "cdk8s-plus-31.Probe"
|
|
18041
|
+
}
|
|
18042
|
+
},
|
|
18043
|
+
"static": true
|
|
18044
|
+
},
|
|
17886
18045
|
{
|
|
17887
18046
|
"docs": {
|
|
17888
18047
|
"stability": "stable",
|
|
@@ -17890,7 +18049,7 @@
|
|
|
17890
18049
|
},
|
|
17891
18050
|
"locationInModule": {
|
|
17892
18051
|
"filename": "src/probe.ts",
|
|
17893
|
-
"line":
|
|
18052
|
+
"line": 173
|
|
17894
18053
|
},
|
|
17895
18054
|
"name": "fromHttpGet",
|
|
17896
18055
|
"parameters": [
|
|
@@ -17928,7 +18087,7 @@
|
|
|
17928
18087
|
},
|
|
17929
18088
|
"locationInModule": {
|
|
17930
18089
|
"filename": "src/probe.ts",
|
|
17931
|
-
"line":
|
|
18090
|
+
"line": 192
|
|
17932
18091
|
},
|
|
17933
18092
|
"name": "fromTcpSocket",
|
|
17934
18093
|
"parameters": [
|
|
@@ -21986,7 +22145,7 @@
|
|
|
21986
22145
|
"kind": "interface",
|
|
21987
22146
|
"locationInModule": {
|
|
21988
22147
|
"filename": "src/probe.ts",
|
|
21989
|
-
"line":
|
|
22148
|
+
"line": 126
|
|
21990
22149
|
},
|
|
21991
22150
|
"name": "TcpSocketProbeOptions",
|
|
21992
22151
|
"properties": [
|
|
@@ -22000,7 +22159,7 @@
|
|
|
22000
22159
|
"immutable": true,
|
|
22001
22160
|
"locationInModule": {
|
|
22002
22161
|
"filename": "src/probe.ts",
|
|
22003
|
-
"line":
|
|
22162
|
+
"line": 139
|
|
22004
22163
|
},
|
|
22005
22164
|
"name": "host",
|
|
22006
22165
|
"optional": true,
|
|
@@ -22018,7 +22177,7 @@
|
|
|
22018
22177
|
"immutable": true,
|
|
22019
22178
|
"locationInModule": {
|
|
22020
22179
|
"filename": "src/probe.ts",
|
|
22021
|
-
"line":
|
|
22180
|
+
"line": 132
|
|
22022
22181
|
},
|
|
22023
22182
|
"name": "port",
|
|
22024
22183
|
"optional": true,
|
|
@@ -90332,6 +90491,6 @@
|
|
|
90332
90491
|
"symbolId": "src/imports/k8s:WindowsSecurityContextOptions"
|
|
90333
90492
|
}
|
|
90334
90493
|
},
|
|
90335
|
-
"version": "2.
|
|
90336
|
-
"fingerprint": "
|
|
90494
|
+
"version": "2.5.0",
|
|
90495
|
+
"fingerprint": "mYN3sprUO9H3lnGMgE3W5ygU3c6dhnZ8NAYlnuThCWY="
|
|
90337
90496
|
}
|
package/docs/java.md
CHANGED
|
@@ -13136,6 +13136,129 @@ Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".
|
|
|
13136
13136
|
|
|
13137
13137
|
---
|
|
13138
13138
|
|
|
13139
|
+
### GrpcProbeOptions <a name="org.cdk8s.plus31.GrpcProbeOptions"></a>
|
|
13140
|
+
|
|
13141
|
+
Options for `Probe.fromGrpc()`.
|
|
13142
|
+
|
|
13143
|
+
#### Initializer <a name="[object Object].Initializer"></a>
|
|
13144
|
+
|
|
13145
|
+
```java
|
|
13146
|
+
import org.cdk8s.plus31.GrpcProbeOptions;
|
|
13147
|
+
|
|
13148
|
+
GrpcProbeOptions.builder()
|
|
13149
|
+
// .failureThreshold(java.lang.Number)
|
|
13150
|
+
// .initialDelaySeconds(Duration)
|
|
13151
|
+
// .periodSeconds(Duration)
|
|
13152
|
+
// .successThreshold(java.lang.Number)
|
|
13153
|
+
// .timeoutSeconds(Duration)
|
|
13154
|
+
// .port(java.lang.Number)
|
|
13155
|
+
// .service(java.lang.String)
|
|
13156
|
+
.build();
|
|
13157
|
+
```
|
|
13158
|
+
|
|
13159
|
+
##### `failureThreshold`<sup>Optional</sup> <a name="org.cdk8s.plus31.GrpcProbeOptions.property.failureThreshold"></a>
|
|
13160
|
+
|
|
13161
|
+
```java
|
|
13162
|
+
public java.lang.Number getFailureThreshold();
|
|
13163
|
+
```
|
|
13164
|
+
|
|
13165
|
+
- *Type:* `java.lang.Number`
|
|
13166
|
+
- *Default:* 3
|
|
13167
|
+
|
|
13168
|
+
Minimum consecutive failures for the probe to be considered failed after having succeeded.
|
|
13169
|
+
|
|
13170
|
+
Defaults to 3. Minimum value is 1.
|
|
13171
|
+
|
|
13172
|
+
---
|
|
13173
|
+
|
|
13174
|
+
##### `initialDelaySeconds`<sup>Optional</sup> <a name="org.cdk8s.plus31.GrpcProbeOptions.property.initialDelaySeconds"></a>
|
|
13175
|
+
|
|
13176
|
+
```java
|
|
13177
|
+
public Duration getInitialDelaySeconds();
|
|
13178
|
+
```
|
|
13179
|
+
|
|
13180
|
+
- *Type:* [`org.cdk8s.Duration`](#org.cdk8s.Duration)
|
|
13181
|
+
- *Default:* immediate
|
|
13182
|
+
|
|
13183
|
+
Number of seconds after the container has started before liveness probes are initiated.
|
|
13184
|
+
|
|
13185
|
+
> https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
|
|
13186
|
+
|
|
13187
|
+
---
|
|
13188
|
+
|
|
13189
|
+
##### `periodSeconds`<sup>Optional</sup> <a name="org.cdk8s.plus31.GrpcProbeOptions.property.periodSeconds"></a>
|
|
13190
|
+
|
|
13191
|
+
```java
|
|
13192
|
+
public Duration getPeriodSeconds();
|
|
13193
|
+
```
|
|
13194
|
+
|
|
13195
|
+
- *Type:* [`org.cdk8s.Duration`](#org.cdk8s.Duration)
|
|
13196
|
+
- *Default:* Duration.seconds(10) Minimum value is 1.
|
|
13197
|
+
|
|
13198
|
+
How often (in seconds) to perform the probe.
|
|
13199
|
+
|
|
13200
|
+
Default to 10 seconds. Minimum value is 1.
|
|
13201
|
+
|
|
13202
|
+
---
|
|
13203
|
+
|
|
13204
|
+
##### `successThreshold`<sup>Optional</sup> <a name="org.cdk8s.plus31.GrpcProbeOptions.property.successThreshold"></a>
|
|
13205
|
+
|
|
13206
|
+
```java
|
|
13207
|
+
public java.lang.Number getSuccessThreshold();
|
|
13208
|
+
```
|
|
13209
|
+
|
|
13210
|
+
- *Type:* `java.lang.Number`
|
|
13211
|
+
- *Default:* 1 Must be 1 for liveness and startup. Minimum value is 1.
|
|
13212
|
+
|
|
13213
|
+
Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1.
|
|
13214
|
+
|
|
13215
|
+
Must be 1 for liveness and startup. Minimum value is 1.
|
|
13216
|
+
|
|
13217
|
+
---
|
|
13218
|
+
|
|
13219
|
+
##### `timeoutSeconds`<sup>Optional</sup> <a name="org.cdk8s.plus31.GrpcProbeOptions.property.timeoutSeconds"></a>
|
|
13220
|
+
|
|
13221
|
+
```java
|
|
13222
|
+
public Duration getTimeoutSeconds();
|
|
13223
|
+
```
|
|
13224
|
+
|
|
13225
|
+
- *Type:* [`org.cdk8s.Duration`](#org.cdk8s.Duration)
|
|
13226
|
+
- *Default:* Duration.seconds(1)
|
|
13227
|
+
|
|
13228
|
+
Number of seconds after which the probe times out.
|
|
13229
|
+
|
|
13230
|
+
Defaults to 1 second. Minimum value is 1.
|
|
13231
|
+
|
|
13232
|
+
> https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
|
|
13233
|
+
|
|
13234
|
+
---
|
|
13235
|
+
|
|
13236
|
+
##### `port`<sup>Optional</sup> <a name="org.cdk8s.plus31.GrpcProbeOptions.property.port"></a>
|
|
13237
|
+
|
|
13238
|
+
```java
|
|
13239
|
+
public java.lang.Number getPort();
|
|
13240
|
+
```
|
|
13241
|
+
|
|
13242
|
+
- *Type:* `java.lang.Number`
|
|
13243
|
+
- *Default:* defaults to `container.port`.
|
|
13244
|
+
|
|
13245
|
+
The TCP port to connect to on the container.
|
|
13246
|
+
|
|
13247
|
+
---
|
|
13248
|
+
|
|
13249
|
+
##### `service`<sup>Optional</sup> <a name="org.cdk8s.plus31.GrpcProbeOptions.property.service"></a>
|
|
13250
|
+
|
|
13251
|
+
```java
|
|
13252
|
+
public java.lang.String getService();
|
|
13253
|
+
```
|
|
13254
|
+
|
|
13255
|
+
- *Type:* `java.lang.String`
|
|
13256
|
+
- *Default:* If this is not specified, the default behavior is defined by gRPC.
|
|
13257
|
+
|
|
13258
|
+
Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
|
|
13259
|
+
|
|
13260
|
+
---
|
|
13261
|
+
|
|
13139
13262
|
### HandlerFromHttpGetOptions <a name="org.cdk8s.plus31.HandlerFromHttpGetOptions"></a>
|
|
13140
13263
|
|
|
13141
13264
|
Options for `Handler.fromHttpGet`.
|
|
@@ -13418,6 +13541,7 @@ HttpGetProbeOptions.builder()
|
|
|
13418
13541
|
// .successThreshold(java.lang.Number)
|
|
13419
13542
|
// .timeoutSeconds(Duration)
|
|
13420
13543
|
// .host(java.lang.String)
|
|
13544
|
+
// .httpHeaders(java.util.List<HttpHeader>)
|
|
13421
13545
|
// .port(java.lang.Number)
|
|
13422
13546
|
// .scheme(ConnectionScheme)
|
|
13423
13547
|
.build();
|
|
@@ -13513,6 +13637,21 @@ The host name to connect to on the container.
|
|
|
13513
13637
|
|
|
13514
13638
|
---
|
|
13515
13639
|
|
|
13640
|
+
##### `httpHeaders`<sup>Optional</sup> <a name="org.cdk8s.plus31.HttpGetProbeOptions.property.httpHeaders"></a>
|
|
13641
|
+
|
|
13642
|
+
```java
|
|
13643
|
+
public java.util.List<HttpHeader> getHttpHeaders();
|
|
13644
|
+
```
|
|
13645
|
+
|
|
13646
|
+
- *Type:* java.util.List<[`org.cdk8s.plus31.HttpHeader`](#org.cdk8s.plus31.HttpHeader)>
|
|
13647
|
+
- *Default:* no custom headers are set
|
|
13648
|
+
|
|
13649
|
+
Custom HTTP headers to set in the probe request.
|
|
13650
|
+
|
|
13651
|
+
Note that HTTP allows repeated headers.
|
|
13652
|
+
|
|
13653
|
+
---
|
|
13654
|
+
|
|
13516
13655
|
##### `port`<sup>Optional</sup> <a name="org.cdk8s.plus31.HttpGetProbeOptions.property.port"></a>
|
|
13517
13656
|
|
|
13518
13657
|
```java
|
|
@@ -13539,6 +13678,43 @@ Scheme to use for connecting to the host (HTTP or HTTPS).
|
|
|
13539
13678
|
|
|
13540
13679
|
---
|
|
13541
13680
|
|
|
13681
|
+
### HttpHeader <a name="org.cdk8s.plus31.HttpHeader"></a>
|
|
13682
|
+
|
|
13683
|
+
#### Initializer <a name="[object Object].Initializer"></a>
|
|
13684
|
+
|
|
13685
|
+
```java
|
|
13686
|
+
import org.cdk8s.plus31.HttpHeader;
|
|
13687
|
+
|
|
13688
|
+
HttpHeader.builder()
|
|
13689
|
+
.name(java.lang.String)
|
|
13690
|
+
.value(java.lang.String)
|
|
13691
|
+
.build();
|
|
13692
|
+
```
|
|
13693
|
+
|
|
13694
|
+
##### `name`<sup>Required</sup> <a name="org.cdk8s.plus31.HttpHeader.property.name"></a>
|
|
13695
|
+
|
|
13696
|
+
```java
|
|
13697
|
+
public java.lang.String getName();
|
|
13698
|
+
```
|
|
13699
|
+
|
|
13700
|
+
- *Type:* `java.lang.String`
|
|
13701
|
+
|
|
13702
|
+
The HTTP Header name to be used.
|
|
13703
|
+
|
|
13704
|
+
---
|
|
13705
|
+
|
|
13706
|
+
##### `value`<sup>Required</sup> <a name="org.cdk8s.plus31.HttpHeader.property.value"></a>
|
|
13707
|
+
|
|
13708
|
+
```java
|
|
13709
|
+
public java.lang.String getValue();
|
|
13710
|
+
```
|
|
13711
|
+
|
|
13712
|
+
- *Type:* `java.lang.String`
|
|
13713
|
+
|
|
13714
|
+
The HTTP header value to be set.
|
|
13715
|
+
|
|
13716
|
+
---
|
|
13717
|
+
|
|
13542
13718
|
### IngressProps <a name="org.cdk8s.plus31.IngressProps"></a>
|
|
13543
13719
|
|
|
13544
13720
|
Properties for `Ingress`.
|
|
@@ -21818,6 +21994,23 @@ Options.
|
|
|
21818
21994
|
|
|
21819
21995
|
---
|
|
21820
21996
|
|
|
21997
|
+
##### `fromGrpc` <a name="org.cdk8s.plus31.Probe.fromGrpc"></a>
|
|
21998
|
+
|
|
21999
|
+
```java
|
|
22000
|
+
import org.cdk8s.plus31.Probe;
|
|
22001
|
+
|
|
22002
|
+
Probe.fromGrpc()
|
|
22003
|
+
Probe.fromGrpc(GrpcProbeOptions options)
|
|
22004
|
+
```
|
|
22005
|
+
|
|
22006
|
+
###### `options`<sup>Optional</sup> <a name="org.cdk8s.plus31.Probe.parameter.options"></a>
|
|
22007
|
+
|
|
22008
|
+
- *Type:* [`org.cdk8s.plus31.GrpcProbeOptions`](#org.cdk8s.plus31.GrpcProbeOptions)
|
|
22009
|
+
|
|
22010
|
+
Options.
|
|
22011
|
+
|
|
22012
|
+
---
|
|
22013
|
+
|
|
21821
22014
|
##### `fromHttpGet` <a name="org.cdk8s.plus31.Probe.fromHttpGet"></a>
|
|
21822
22015
|
|
|
21823
22016
|
```java
|