# io.k8s.api.core.v1.GRPCAction

From **Kubernetes**.

GRPCAction specifies an action involving a GRPC service.

- Type: `object`

## Properties

### `mode`

- Required: false
- Type: `string`

mode specifies the connection mode for the gRPC health probe. Set to "TLS" to use TLS without certificate verification. Set to "Plaintext" to use a plaintext (insecure) connection explicitly. If not specified, the probe uses a plaintext (insecure) connection.

### `port`

- Required: true
- Type: `integer`
- Format: `int32`
- Default: `0`

Port number of the gRPC service. Number must be in the range 1 to 65535.

### `service`

- Required: false
- Type: `string`

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).

If this is not specified, the default behavior is defined by gRPC.

## JSON Schema

```json
{"description":"GRPCAction specifies an action involving a GRPC service.","properties":{"mode":{"description":"mode specifies the connection mode for the gRPC health probe. Set to \"TLS\" to use TLS without certificate verification. Set to \"Plaintext\" to use a plaintext (insecure) connection explicitly. If not specified, the probe uses a plaintext (insecure) connection.","type":"string"},"port":{"default":0,"description":"Port number of the gRPC service. Number must be in the range 1 to 65535.","format":"int32","type":"integer"},"service":{"default":"","description":"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).\n\nIf this is not specified, the default behavior is defined by gRPC.","type":"string"}},"required":["port"],"type":"object"}
```
