# io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference

From **Kubernetes**.

ServiceReference holds a reference to Service.legacy.k8s.io

- Type: `object`

## Properties

### `name`

- Required: false
- Type: `string`

Name is the name of the service

### `namespace`

- Required: false
- Type: `string`

Namespace is the namespace of the service

### `port`

- Required: false
- Type: `integer`
- Format: `int32`

If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).

## JSON Schema

```json
{"description":"ServiceReference holds a reference to Service.legacy.k8s.io","properties":{"name":{"description":"Name is the name of the service","type":"string"},"namespace":{"description":"Namespace is the namespace of the service","type":"string"},"port":{"description":"If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).","format":"int32","type":"integer"}},"type":"object"}
```
