| Modifier and Type | Method and Description |
|---|---|
Service.Builder |
Service.Builder.clusterIp(String clusterIp)
(experimental) The IP address of the service and is usually assigned randomly by the master.
|
static Service.Builder |
Service.Builder.create(software.constructs.Construct scope,
String id) |
Service.Builder |
Service.Builder.externalIPs(List<String> externalIPs)
(experimental) A list of IP addresses for which nodes in the cluster will also accept traffic for this service.
|
Service.Builder |
Service.Builder.metadata(ApiObjectMetadata metadata)
(experimental) Metadata that all persisted resources must have, which includes all objects users must create.
|
Service.Builder |
Service.Builder.ports(List<? extends ServicePort> ports)
(experimental) The port exposed by this service.
|
Service.Builder |
Service.Builder.type(ServiceType type)
(experimental) Determines how the Service is exposed.
|
Copyright © 2020. All rights reserved.