Creates an IP pool defintion for the sepcified private gateway
POST/v1/overlords/vsphere/:uid/pools
Creates an IP pool defintion for the sepcified private gateway
Request
Path Parameters
Header Parameters
Scope the request to the specified project uid
- application/json
Body
metadata
object
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
annotations
object
Annotations are system generated key value metadata for the resource. As an input certain annotations like description can be set.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
labels
object
Labels are key value data to organize and categorize resources. Providing spectro__tag as value for a label is considered as a kubernetes compliant tag
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Name of the resource.
UID is the unique identifier generated for the resource. This is not an input field for any request.
spec
object
pool
object
required
Pool defines IP ranges or with CIDR for available IPs Gateway, Prefix and Nameserver if provided, will overwrite values in IPPool
End is the last IP address that can be rendered. It is used as a validation that the rendered IP is in bound.
Gateway is the gateway ip address
nameserver
object
Nameserver define search domains and nameserver addresses
Prefix is the mask of the network as integer (max 128)
Start is the first ip address that can be rendered
Subnet is used to validate that the rendered IP is in bounds. eg: 192.168.0.0/24 If Start value is not given, start value is derived from the subnet ip incremented by 1 (start value is 192.168.0.1
for subnet 192.168.0.0/24
)
if true, restricts this IP pool to be used by single cluster at any time
Responses
- 201
Created successfully
Response Headers
AuditUid
string
Audit uid for the request
- application/json
- Schema
- Example (from schema)
Schema
{
"uid": "string"
}