-
Notifications
You must be signed in to change notification settings - Fork 76
/
Copy pathv1_node_spec.go
32 lines (24 loc) · 1.26 KB
/
v1_node_spec.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* Kubernetes
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: v1.10.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package client
// NodeSpec describes the attributes that a node is created with.
type V1NodeSpec struct {
// If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field
ConfigSource *V1NodeConfigSource `json:"configSource,omitempty"`
// External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated.
ExternalID string `json:"externalID,omitempty"`
// PodCIDR represents the pod IP range assigned to the node.
PodCIDR string `json:"podCIDR,omitempty"`
// ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
ProviderID string `json:"providerID,omitempty"`
// If specified, the node's taints.
Taints []V1Taint `json:"taints,omitempty"`
// Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration
Unschedulable bool `json:"unschedulable,omitempty"`
}