Settings:
export KUBERNETES_BRANCH="release-1.10"
export CLIENT_VERSION="0.1.0a1"
export PACKAGE_NAME="client"
33 lines
1.3 KiB
Go
33 lines
1.3 KiB
Go
/*
|
|
* 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"`
|
|
}
|