cdk8s-plus-31 2.2.8 → 2.4.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 CHANGED
@@ -6857,7 +6857,7 @@
6857
6857
  },
6858
6858
  "locationInModule": {
6859
6859
  "filename": "src/deployment.ts",
6860
- "line": 147
6860
+ "line": 160
6861
6861
  },
6862
6862
  "parameters": [
6863
6863
  {
@@ -6887,7 +6887,7 @@
6887
6887
  "kind": "class",
6888
6888
  "locationInModule": {
6889
6889
  "filename": "src/deployment.ts",
6890
- "line": 115
6890
+ "line": 121
6891
6891
  },
6892
6892
  "methods": [
6893
6893
  {
@@ -6898,7 +6898,7 @@
6898
6898
  },
6899
6899
  "locationInModule": {
6900
6900
  "filename": "src/deployment.ts",
6901
- "line": 222
6901
+ "line": 236
6902
6902
  },
6903
6903
  "name": "exposeViaIngress",
6904
6904
  "parameters": [
@@ -6936,7 +6936,7 @@
6936
6936
  },
6937
6937
  "locationInModule": {
6938
6938
  "filename": "src/deployment.ts",
6939
- "line": 177
6939
+ "line": 191
6940
6940
  },
6941
6941
  "name": "exposeViaService",
6942
6942
  "parameters": [
@@ -6965,7 +6965,7 @@
6965
6965
  },
6966
6966
  "locationInModule": {
6967
6967
  "filename": "src/deployment.ts",
6968
- "line": 247
6968
+ "line": 262
6969
6969
  },
6970
6970
  "name": "markHasAutoscaler",
6971
6971
  "overrides": "cdk8s-plus-31.IScalable"
@@ -6978,7 +6978,7 @@
6978
6978
  },
6979
6979
  "locationInModule": {
6980
6980
  "filename": "src/deployment.ts",
6981
- "line": 254
6981
+ "line": 269
6982
6982
  },
6983
6983
  "name": "toScalingTarget",
6984
6984
  "overrides": "cdk8s-plus-31.IScalable",
@@ -7000,7 +7000,7 @@
7000
7000
  "immutable": true,
7001
7001
  "locationInModule": {
7002
7002
  "filename": "src/deployment.ts",
7003
- "line": 141
7003
+ "line": 154
7004
7004
  },
7005
7005
  "name": "apiObject",
7006
7006
  "overrides": "cdk8s-plus-31.Resource",
@@ -7017,7 +7017,7 @@
7017
7017
  "immutable": true,
7018
7018
  "locationInModule": {
7019
7019
  "filename": "src/deployment.ts",
7020
- "line": 126
7020
+ "line": 132
7021
7021
  },
7022
7022
  "name": "minReady",
7023
7023
  "type": {
@@ -7032,7 +7032,7 @@
7032
7032
  "immutable": true,
7033
7033
  "locationInModule": {
7034
7034
  "filename": "src/deployment.ts",
7035
- "line": 131
7035
+ "line": 137
7036
7036
  },
7037
7037
  "name": "progressDeadline",
7038
7038
  "type": {
@@ -7047,7 +7047,7 @@
7047
7047
  "immutable": true,
7048
7048
  "locationInModule": {
7049
7049
  "filename": "src/deployment.ts",
7050
- "line": 143
7050
+ "line": 156
7051
7051
  },
7052
7052
  "name": "resourceType",
7053
7053
  "overrides": "cdk8s-plus-31.Resource",
@@ -7055,6 +7055,22 @@
7055
7055
  "primitive": "string"
7056
7056
  }
7057
7057
  },
7058
+ {
7059
+ "docs": {
7060
+ "default": "10",
7061
+ "stability": "stable",
7062
+ "summary": "Number of desired replicasets history."
7063
+ },
7064
+ "immutable": true,
7065
+ "locationInModule": {
7066
+ "filename": "src/deployment.ts",
7067
+ "line": 150
7068
+ },
7069
+ "name": "revisionHistoryLimit",
7070
+ "type": {
7071
+ "primitive": "number"
7072
+ }
7073
+ },
7058
7074
  {
7059
7075
  "docs": {
7060
7076
  "stability": "stable"
@@ -7062,7 +7078,7 @@
7062
7078
  "immutable": true,
7063
7079
  "locationInModule": {
7064
7080
  "filename": "src/deployment.ts",
7065
- "line": 136
7081
+ "line": 142
7066
7082
  },
7067
7083
  "name": "strategy",
7068
7084
  "type": {
@@ -7077,7 +7093,7 @@
7077
7093
  "immutable": true,
7078
7094
  "locationInModule": {
7079
7095
  "filename": "src/deployment.ts",
7080
- "line": 120
7096
+ "line": 126
7081
7097
  },
7082
7098
  "name": "replicas",
7083
7099
  "optional": true,
@@ -7092,7 +7108,7 @@
7092
7108
  },
7093
7109
  "locationInModule": {
7094
7110
  "filename": "src/deployment.ts",
7095
- "line": 145
7111
+ "line": 158
7096
7112
  },
7097
7113
  "name": "hasAutoscaler",
7098
7114
  "overrides": "cdk8s-plus-31.IScalable",
@@ -7114,7 +7130,7 @@
7114
7130
  "kind": "interface",
7115
7131
  "locationInModule": {
7116
7132
  "filename": "src/deployment.ts",
7117
- "line": 58
7133
+ "line": 64
7118
7134
  },
7119
7135
  "name": "DeploymentExposeViaServiceOptions",
7120
7136
  "properties": [
@@ -7129,7 +7145,7 @@
7129
7145
  "immutable": true,
7130
7146
  "locationInModule": {
7131
7147
  "filename": "src/deployment.ts",
7132
- "line": 80
7148
+ "line": 86
7133
7149
  },
7134
7150
  "name": "name",
7135
7151
  "optional": true,
@@ -7147,7 +7163,7 @@
7147
7163
  "immutable": true,
7148
7164
  "locationInModule": {
7149
7165
  "filename": "src/deployment.ts",
7150
- "line": 64
7166
+ "line": 70
7151
7167
  },
7152
7168
  "name": "ports",
7153
7169
  "optional": true,
@@ -7170,7 +7186,7 @@
7170
7186
  "immutable": true,
7171
7187
  "locationInModule": {
7172
7188
  "filename": "src/deployment.ts",
7173
- "line": 71
7189
+ "line": 77
7174
7190
  },
7175
7191
  "name": "serviceType",
7176
7192
  "optional": true,
@@ -7257,6 +7273,25 @@
7257
7273
  "primitive": "number"
7258
7274
  }
7259
7275
  },
7276
+ {
7277
+ "abstract": true,
7278
+ "docs": {
7279
+ "default": "10",
7280
+ "remarks": "The rest will be garbage-collected in the background. By default, it is 10.",
7281
+ "stability": "stable",
7282
+ "summary": "Specify how many old ReplicaSets for this Deployment you want to retain."
7283
+ },
7284
+ "immutable": true,
7285
+ "locationInModule": {
7286
+ "filename": "src/deployment.ts",
7287
+ "line": 57
7288
+ },
7289
+ "name": "revisionHistoryLimit",
7290
+ "optional": true,
7291
+ "type": {
7292
+ "primitive": "number"
7293
+ }
7294
+ },
7260
7295
  {
7261
7296
  "abstract": true,
7262
7297
  "docs": {
@@ -7288,7 +7323,7 @@
7288
7323
  "kind": "class",
7289
7324
  "locationInModule": {
7290
7325
  "filename": "src/deployment.ts",
7291
- "line": 333
7326
+ "line": 348
7292
7327
  },
7293
7328
  "methods": [
7294
7329
  {
@@ -7299,7 +7334,7 @@
7299
7334
  },
7300
7335
  "locationInModule": {
7301
7336
  "filename": "src/deployment.ts",
7302
- "line": 340
7337
+ "line": 355
7303
7338
  },
7304
7339
  "name": "recreate",
7305
7340
  "returns": {
@@ -7315,7 +7350,7 @@
7315
7350
  },
7316
7351
  "locationInModule": {
7317
7352
  "filename": "src/deployment.ts",
7318
- "line": 346
7353
+ "line": 361
7319
7354
  },
7320
7355
  "name": "rollingUpdate",
7321
7356
  "parameters": [
@@ -7349,7 +7384,7 @@
7349
7384
  "kind": "interface",
7350
7385
  "locationInModule": {
7351
7386
  "filename": "src/deployment.ts",
7352
- "line": 268
7387
+ "line": 283
7353
7388
  },
7354
7389
  "name": "DeploymentStrategyRollingUpdateOptions",
7355
7390
  "properties": [
@@ -7364,7 +7399,7 @@
7364
7399
  "immutable": true,
7365
7400
  "locationInModule": {
7366
7401
  "filename": "src/deployment.ts",
7367
- "line": 283
7402
+ "line": 298
7368
7403
  },
7369
7404
  "name": "maxSurge",
7370
7405
  "optional": true,
@@ -7383,7 +7418,7 @@
7383
7418
  "immutable": true,
7384
7419
  "locationInModule": {
7385
7420
  "filename": "src/deployment.ts",
7386
- "line": 298
7421
+ "line": 313
7387
7422
  },
7388
7423
  "name": "maxUnavailable",
7389
7424
  "optional": true,
@@ -8555,7 +8590,7 @@
8555
8590
  "kind": "interface",
8556
8591
  "locationInModule": {
8557
8592
  "filename": "src/deployment.ts",
8558
- "line": 86
8593
+ "line": 92
8559
8594
  },
8560
8595
  "name": "ExposeDeploymentViaIngressOptions",
8561
8596
  "symbolId": "src/deployment:ExposeDeploymentViaIngressOptions"
@@ -9102,6 +9137,63 @@
9102
9137
  ],
9103
9138
  "symbolId": "src/role-binding:Group"
9104
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": 126
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": 132
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": 139
9187
+ },
9188
+ "name": "service",
9189
+ "optional": true,
9190
+ "type": {
9191
+ "primitive": "string"
9192
+ }
9193
+ }
9194
+ ],
9195
+ "symbolId": "src/probe:GrpcProbeOptions"
9196
+ },
9105
9197
  "cdk8s-plus-31.Handler": {
9106
9198
  "assembly": "cdk8s-plus-31",
9107
9199
  "docs": {
@@ -14913,7 +15005,7 @@
14913
15005
  "kind": "class",
14914
15006
  "locationInModule": {
14915
15007
  "filename": "src/deployment.ts",
14916
- "line": 306
15008
+ "line": 321
14917
15009
  },
14918
15010
  "methods": [
14919
15011
  {
@@ -14923,7 +15015,7 @@
14923
15015
  },
14924
15016
  "locationInModule": {
14925
15017
  "filename": "src/deployment.ts",
14926
- "line": 318
15018
+ "line": 333
14927
15019
  },
14928
15020
  "name": "absolute",
14929
15021
  "parameters": [
@@ -14948,7 +15040,7 @@
14948
15040
  },
14949
15041
  "locationInModule": {
14950
15042
  "filename": "src/deployment.ts",
14951
- "line": 311
15043
+ "line": 326
14952
15044
  },
14953
15045
  "name": "percent",
14954
15046
  "parameters": [
@@ -14972,7 +15064,7 @@
14972
15064
  },
14973
15065
  "locationInModule": {
14974
15066
  "filename": "src/deployment.ts",
14975
- "line": 324
15067
+ "line": 339
14976
15068
  },
14977
15069
  "name": "isZero",
14978
15070
  "returns": {
@@ -14991,7 +15083,7 @@
14991
15083
  "immutable": true,
14992
15084
  "locationInModule": {
14993
15085
  "filename": "src/deployment.ts",
14994
- "line": 322
15086
+ "line": 337
14995
15087
  },
14996
15088
  "name": "value",
14997
15089
  "type": {
@@ -17802,7 +17894,7 @@
17802
17894
  "kind": "class",
17803
17895
  "locationInModule": {
17804
17896
  "filename": "src/probe.ts",
17805
- "line": 127
17897
+ "line": 146
17806
17898
  },
17807
17899
  "methods": [
17808
17900
  {
@@ -17812,7 +17904,7 @@
17812
17904
  },
17813
17905
  "locationInModule": {
17814
17906
  "filename": "src/probe.ts",
17815
- "line": 145
17907
+ "line": 164
17816
17908
  },
17817
17909
  "name": "fromCommand",
17818
17910
  "parameters": [
@@ -17848,6 +17940,35 @@
17848
17940
  },
17849
17941
  "static": true
17850
17942
  },
17943
+ {
17944
+ "docs": {
17945
+ "stability": "stable",
17946
+ "summary": "Defines a probe based on a gRPC request to the container."
17947
+ },
17948
+ "locationInModule": {
17949
+ "filename": "src/probe.ts",
17950
+ "line": 182
17951
+ },
17952
+ "name": "fromGrpc",
17953
+ "parameters": [
17954
+ {
17955
+ "docs": {
17956
+ "summary": "Options."
17957
+ },
17958
+ "name": "options",
17959
+ "optional": true,
17960
+ "type": {
17961
+ "fqn": "cdk8s-plus-31.GrpcProbeOptions"
17962
+ }
17963
+ }
17964
+ ],
17965
+ "returns": {
17966
+ "type": {
17967
+ "fqn": "cdk8s-plus-31.Probe"
17968
+ }
17969
+ },
17970
+ "static": true
17971
+ },
17851
17972
  {
17852
17973
  "docs": {
17853
17974
  "stability": "stable",
@@ -17855,7 +17976,7 @@
17855
17976
  },
17856
17977
  "locationInModule": {
17857
17978
  "filename": "src/probe.ts",
17858
- "line": 135
17979
+ "line": 154
17859
17980
  },
17860
17981
  "name": "fromHttpGet",
17861
17982
  "parameters": [
@@ -17893,7 +18014,7 @@
17893
18014
  },
17894
18015
  "locationInModule": {
17895
18016
  "filename": "src/probe.ts",
17896
- "line": 154
18017
+ "line": 173
17897
18018
  },
17898
18019
  "name": "fromTcpSocket",
17899
18020
  "parameters": [
@@ -90297,6 +90418,6 @@
90297
90418
  "symbolId": "src/imports/k8s:WindowsSecurityContextOptions"
90298
90419
  }
90299
90420
  },
90300
- "version": "2.2.8",
90301
- "fingerprint": "XHeTY3ngCSZkrK6/vsaAbneCImwVklg/Ano+z18QDqU="
90421
+ "version": "2.4.0",
90422
+ "fingerprint": "wPco3ETOj7B14RVXFM80cnRdpqoZRheky+BeU3D0qTw="
90302
90423
  }
package/docs/java.md CHANGED
@@ -2584,6 +2584,7 @@ Deployment.Builder.create(Construct scope, java.lang.String id)
2584
2584
  // .minReady(Duration)
2585
2585
  // .progressDeadline(Duration)
2586
2586
  // .replicas(java.lang.Number)
2587
+ // .revisionHistoryLimit(java.lang.Number)
2587
2588
  // .strategy(DeploymentStrategy)
2588
2589
  .build();
2589
2590
  ```
@@ -2857,6 +2858,17 @@ Number of desired pods.
2857
2858
 
2858
2859
  ---
2859
2860
 
2861
+ ##### `revisionHistoryLimit`<sup>Optional</sup> <a name="org.cdk8s.plus31.DeploymentProps.parameter.revisionHistoryLimit"></a>
2862
+
2863
+ - *Type:* `java.lang.Number`
2864
+ - *Default:* 10
2865
+
2866
+ Specify how many old ReplicaSets for this Deployment you want to retain.
2867
+
2868
+ The rest will be garbage-collected in the background. By default, it is 10.
2869
+
2870
+ ---
2871
+
2860
2872
  ##### `strategy`<sup>Optional</sup> <a name="org.cdk8s.plus31.DeploymentProps.parameter.strategy"></a>
2861
2873
 
2862
2874
  - *Type:* [`org.cdk8s.plus31.DeploymentStrategy`](#org.cdk8s.plus31.DeploymentStrategy)
@@ -2957,6 +2969,19 @@ The name of a resource type as it appears in the relevant API endpoint.
2957
2969
 
2958
2970
  ---
2959
2971
 
2972
+ ##### `revisionHistoryLimit`<sup>Required</sup> <a name="org.cdk8s.plus31.Deployment.property.revisionHistoryLimit"></a>
2973
+
2974
+ ```java
2975
+ public java.lang.Number getRevisionHistoryLimit();
2976
+ ```
2977
+
2978
+ - *Type:* `java.lang.Number`
2979
+ - *Default:* 10
2980
+
2981
+ Number of desired replicasets history.
2982
+
2983
+ ---
2984
+
2960
2985
  ##### `strategy`<sup>Required</sup> <a name="org.cdk8s.plus31.Deployment.property.strategy"></a>
2961
2986
 
2962
2987
  ```java
@@ -11890,6 +11915,7 @@ DeploymentProps.builder()
11890
11915
  // .minReady(Duration)
11891
11916
  // .progressDeadline(Duration)
11892
11917
  // .replicas(java.lang.Number)
11918
+ // .revisionHistoryLimit(java.lang.Number)
11893
11919
  // .strategy(DeploymentStrategy)
11894
11920
  .build();
11895
11921
  ```
@@ -12239,6 +12265,21 @@ Number of desired pods.
12239
12265
 
12240
12266
  ---
12241
12267
 
12268
+ ##### `revisionHistoryLimit`<sup>Optional</sup> <a name="org.cdk8s.plus31.DeploymentProps.property.revisionHistoryLimit"></a>
12269
+
12270
+ ```java
12271
+ public java.lang.Number getRevisionHistoryLimit();
12272
+ ```
12273
+
12274
+ - *Type:* `java.lang.Number`
12275
+ - *Default:* 10
12276
+
12277
+ Specify how many old ReplicaSets for this Deployment you want to retain.
12278
+
12279
+ The rest will be garbage-collected in the background. By default, it is 10.
12280
+
12281
+ ---
12282
+
12242
12283
  ##### `strategy`<sup>Optional</sup> <a name="org.cdk8s.plus31.DeploymentProps.property.strategy"></a>
12243
12284
 
12244
12285
  ```java
@@ -13095,6 +13136,129 @@ Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".
13095
13136
 
13096
13137
  ---
13097
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
+
13098
13262
  ### HandlerFromHttpGetOptions <a name="org.cdk8s.plus31.HandlerFromHttpGetOptions"></a>
13099
13263
 
13100
13264
  Options for `Handler.fromHttpGet`.
@@ -21777,6 +21941,23 @@ Options.
21777
21941
 
21778
21942
  ---
21779
21943
 
21944
+ ##### `fromGrpc` <a name="org.cdk8s.plus31.Probe.fromGrpc"></a>
21945
+
21946
+ ```java
21947
+ import org.cdk8s.plus31.Probe;
21948
+
21949
+ Probe.fromGrpc()
21950
+ Probe.fromGrpc(GrpcProbeOptions options)
21951
+ ```
21952
+
21953
+ ###### `options`<sup>Optional</sup> <a name="org.cdk8s.plus31.Probe.parameter.options"></a>
21954
+
21955
+ - *Type:* [`org.cdk8s.plus31.GrpcProbeOptions`](#org.cdk8s.plus31.GrpcProbeOptions)
21956
+
21957
+ Options.
21958
+
21959
+ ---
21960
+
21780
21961
  ##### `fromHttpGet` <a name="org.cdk8s.plus31.Probe.fromHttpGet"></a>
21781
21962
 
21782
21963
  ```java