v1

package
v1.60.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NodeGroupConditionTypeReady                        = "Ready"
	NodeGroupConditionTypeUpdating                     = "Updating"
	NodeGroupConditionTypeWaitingForDisruptiveApproval = "WaitingForDisruptiveApproval"
	NodeGroupConditionTypeScaling                      = "Scaling"
	NodeGroupConditionTypeError                        = "Error"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AutomaticDisruptions

type AutomaticDisruptions struct {
	// Indicates if Pods should be drained from node before allow disruption.
	DrainBeforeApproval *bool `json:"drainBeforeApproval,omitempty"`
	// Node update windows
	Windows update.Windows `json:"windows,omitempty"`
}

func (*AutomaticDisruptions) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomaticDisruptions.

func (*AutomaticDisruptions) DeepCopyInto

func (in *AutomaticDisruptions) DeepCopyInto(out *AutomaticDisruptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (AutomaticDisruptions) IsEmpty

func (a AutomaticDisruptions) IsEmpty() bool

type CRI

type CRI struct {
	// Container runtime type. Docker, Containerd or NotManaged
	Type string `json:"type,omitempty"`

	// Containerd runtime parameters.
	Containerd *Containerd `json:"containerd,omitempty"`

	// Docker settings for nodes.
	Docker *Docker `json:"docker,omitempty"`

	// NotManaged settings for nodes.
	NotManaged *NotManaged `json:"notManaged,omitempty"`
}

func (*CRI) DeepCopy

func (in *CRI) DeepCopy() *CRI

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CRI.

func (*CRI) DeepCopyInto

func (in *CRI) DeepCopyInto(out *CRI)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (CRI) IsEmpty

func (c CRI) IsEmpty() bool

type Chaos

type Chaos struct {
	// Chaos monkey mode: DrainAndDelete or Disabled (default).
	Mode string `json:"mode,omitempty"`

	// Chaos monkey wake up period. Default is 6h.
	Period string `json:"period,omitempty"`
}

Chaos is a chaos-monkey settings.

func (*Chaos) DeepCopy

func (in *Chaos) DeepCopy() *Chaos

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Chaos.

func (*Chaos) DeepCopyInto

func (in *Chaos) DeepCopyInto(out *Chaos)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Chaos) IsEmpty

func (c Chaos) IsEmpty() bool

type ClassReference

type ClassReference struct {
	// Kind of a ClassReference resource: OpenStackInstanceClass, GCPInstanceClass, ...
	Kind string `json:"kind,omitempty"`

	// Name of a ClassReference resource.
	Name string `json:"name,omitempty"`
}

func (*ClassReference) DeepCopy

func (in *ClassReference) DeepCopy() *ClassReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClassReference.

func (*ClassReference) DeepCopyInto

func (in *ClassReference) DeepCopyInto(out *ClassReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ClassReference) IsEmpty

func (c ClassReference) IsEmpty() bool

type CloudInstances

type CloudInstances struct {
	// Quick shutdown results in faster drain. Optional
	QuickShutdown *bool `json:"quickShutdown,omitempty"`

	// List of availability zones to create instances in.
	Zones []string `json:"zones"`

	// Minimal amount of instances for the group in each zone. Required.
	MinPerZone *int32 `json:"minPerZone,omitempty"`

	// Maximum amount of instances for the group in each zone. Required.
	MaxPerZone *int32 `json:"maxPerZone,omitempty"`

	// Maximum amount of unavailable instances (during rollout) in the group in each zone.
	MaxUnavailablePerZone *int32 `json:"maxUnavailablePerZone,omitempty"`

	// Maximum amount of instances to rollout simultaneously in the group in each zone.
	MaxSurgePerZone *int32 `json:"maxSurgePerZone,omitempty"`

	// Overprovisioned Nodes for this NodeGroup.
	Standby *intstr.IntOrString `json:"standby,omitempty"`

	// Settings for overprovisioned Node holder.
	StandbyHolder StandbyHolder `json:"standbyHolder,omitempty"`

	// Reference to a ClassInstance resource. Required.
	ClassReference ClassReference `json:"classReference"`

	// Priority setting for autoscaler expander
	Priority *int32 `json:"priority,omitempty"`
}

CloudInstances is an extra parameters for NodeGroup with type Cloud.

func (*CloudInstances) DeepCopy

func (in *CloudInstances) DeepCopy() *CloudInstances

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudInstances.

func (*CloudInstances) DeepCopyInto

func (in *CloudInstances) DeepCopyInto(out *CloudInstances)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (CloudInstances) IsEmpty

func (c CloudInstances) IsEmpty() bool

type ConditionStatus added in v1.45.0

type ConditionStatus string
const (
	ConditionTrue  ConditionStatus = "True"
	ConditionFalse ConditionStatus = "False"
)

type ConditionSummary

type ConditionSummary struct {
	// Status message about group handling.
	StatusMessage string `json:"statusMessage,omitempty"`

	// Summary for the NodeGroup status: True or False
	Ready string `json:"ready,omitempty"`
}

func (*ConditionSummary) DeepCopy

func (in *ConditionSummary) DeepCopy() *ConditionSummary

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionSummary.

func (*ConditionSummary) DeepCopyInto

func (in *ConditionSummary) DeepCopyInto(out *ConditionSummary)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Containerd

type Containerd struct {
	// Set the max concurrent downloads for each pull (default 3).
	MaxConcurrentDownloads *int32 `json:"maxConcurrentDownloads,omitempty"`
}

func (*Containerd) DeepCopy

func (in *Containerd) DeepCopy() *Containerd

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Containerd.

func (*Containerd) DeepCopyInto

func (in *Containerd) DeepCopyInto(out *Containerd)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Disruptions

type Disruptions struct {
	// Allow disruptive update mode: Manual or Automatic.
	ApprovalMode string `json:"approvalMode"`

	// Extra settings for Automatic mode.
	Automatic AutomaticDisruptions `json:"automatic,omitempty"`
	// Extra settings for RolloutRestart mode.
	RollingUpdate RollingUpdateDisruptions `json:"rollingUpdate,omitempty"`
}

func (*Disruptions) DeepCopy

func (in *Disruptions) DeepCopy() *Disruptions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Disruptions.

func (*Disruptions) DeepCopyInto

func (in *Disruptions) DeepCopyInto(out *Disruptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Disruptions) IsEmpty

func (d Disruptions) IsEmpty() bool

type Docker

type Docker struct {
	// Set the max concurrent downloads for each pull (default 3).
	MaxConcurrentDownloads *int32 `json:"maxConcurrentDownloads,omitempty"`

	// Enable docker maintenance from bashible.
	Manage *bool `json:"manage,omitempty"`
}

func (*Docker) DeepCopy

func (in *Docker) DeepCopy() *Docker

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Docker.

func (*Docker) DeepCopyInto

func (in *Docker) DeepCopyInto(out *Docker)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InfrastructureTemplateReference added in v1.53.0

type InfrastructureTemplateReference struct {
	// Kind of a InfrastructureTemplateReference resource: StaticMachineTemplate
	Kind string `json:"kind,omitempty"`

	// Name of a InfrastructureTemplateReference resource.
	Name string `json:"name,omitempty"`
}

func (InfrastructureTemplateReference) IsEmpty added in v1.53.0

type Kubelet

type Kubelet struct {
	// Set the max count of pods per node. Default: 110
	MaxPods *int32 `json:"maxPods,omitempty"`

	// Directory path for managing kubelet files (volume mounts,etc).
	// Default: '/var/lib/kubelet'
	RootDir string `json:"rootDir,omitempty"`

	// Maximum log file size before it is rotated.
	// Default: '50Mi'
	ContainerLogMaxSize string `json:"containerLogMaxSize,omitempty"`

	// How many rotated log files to store before deleting them.
	// Default: '4'
	ContainerLogMaxFiles int `json:"containerLogMaxFiles,omitempty"`

	ResourceReservation KubeletResourceReservation `json:"resourceReservation"`
}

func (*Kubelet) DeepCopy

func (in *Kubelet) DeepCopy() *Kubelet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubelet.

func (*Kubelet) DeepCopyInto

func (in *Kubelet) DeepCopyInto(out *Kubelet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Kubelet) IsEmpty

func (k Kubelet) IsEmpty() bool

type KubeletResourceReservation added in v1.49.0

type KubeletResourceReservation struct {
	Mode KubeletResourceReservationMode `json:"mode"`

	Static *KubeletStaticResourceReservation `json:"static,omitempty"`
}

func (*KubeletResourceReservation) DeepCopy added in v1.49.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletResourceReservation.

func (*KubeletResourceReservation) DeepCopyInto added in v1.49.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KubeletResourceReservationMode added in v1.49.0

type KubeletResourceReservationMode string
const (
	KubeletResourceReservationModeOff    KubeletResourceReservationMode = "Off"
	KubeletResourceReservationModeAuto   KubeletResourceReservationMode = "Auto"
	KubeletResourceReservationModeStatic KubeletResourceReservationMode = "Static"
)

type KubeletStaticResourceReservation added in v1.49.0

type KubeletStaticResourceReservation struct {
	CPU              resource.Quantity `json:"cpu,omitempty"`
	Memory           resource.Quantity `json:"memory,omitempty"`
	EphemeralStorage resource.Quantity `json:"ephemeralStorage,omitempty"`
}

func (*KubeletStaticResourceReservation) DeepCopy added in v1.49.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletStaticResourceReservation.

func (*KubeletStaticResourceReservation) DeepCopyInto added in v1.49.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineFailure

type MachineFailure struct {
	// Machine's name.
	Name string `json:"name,omitempty"`

	// Machine's ProviderID.
	ProviderID string `json:"providerID,omitempty"`

	// Machine owner's name.
	OwnerRef string `json:"ownerRef,omitempty"`

	// Last operation with machine.
	LastOperation MachineOperation `json:"lastOperation,omitempty"`
}

func (*MachineFailure) DeepCopy

func (in *MachineFailure) DeepCopy() *MachineFailure

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineFailure.

func (*MachineFailure) DeepCopyInto

func (in *MachineFailure) DeepCopyInto(out *MachineFailure)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineOperation

type MachineOperation struct {
	// Last operation's description.
	Description string `json:"description,omitempty"`

	// Timestamp of last status update for operation.
	LastUpdateTime string `json:"lastUpdateTime,omitempty"`

	// Machine's operation state.
	State string `json:"state,omitempty"`

	// Type of operation.
	Type string `json:"type,omitempty"`
}

func (*MachineOperation) DeepCopy

func (in *MachineOperation) DeepCopy() *MachineOperation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineOperation.

func (*MachineOperation) DeepCopyInto

func (in *MachineOperation) DeepCopyInto(out *MachineOperation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeGroup

type NodeGroup struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Spec defines the behavior of a node group.
	Spec NodeGroupSpec `json:"spec"`

	Status NodeGroupStatus `json:"status,omitempty"`
}

NodeGroup is a group of nodes in Kubernetes.

func (*NodeGroup) DeepCopy

func (in *NodeGroup) DeepCopy() *NodeGroup

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeGroup.

func (*NodeGroup) DeepCopyInto

func (in *NodeGroup) DeepCopyInto(out *NodeGroup)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeGroupCondition added in v1.45.0

type NodeGroupCondition struct {
	// Type is the type of the condition.
	Type NodeGroupConditionType `json:"type"`
	// Status is the status of the condition.
	// Can be True, False
	Status ConditionStatus `json:"status"`
	// Last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
	// Human-readable message indicating details about last transition.
	// +optional
	Message string `json:"message,omitempty"`
}

func (*NodeGroupCondition) DeepCopy added in v1.45.0

func (in *NodeGroupCondition) DeepCopy() *NodeGroupCondition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeGroupCondition.

func (*NodeGroupCondition) DeepCopyInto added in v1.45.0

func (in *NodeGroupCondition) DeepCopyInto(out *NodeGroupCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NodeGroupCondition) ToMap added in v1.45.0

func (c *NodeGroupCondition) ToMap() map[string]interface{}

type NodeGroupConditionType added in v1.45.0

type NodeGroupConditionType string

type NodeGroupSpec

type NodeGroupSpec struct {
	// Type of nodes in group: CloudEphemeral, CloudPermanent, CloudStatic, Static. Field is required
	NodeType NodeType `json:"nodeType,omitempty"`

	// CRI parameters. Optional.
	CRI CRI `json:"cri,omitempty"`

	// staticInstances. Optional.
	StaticInstances *StaticInstances `json:"staticInstances,omitempty"`

	// cloudInstances. Optional.
	CloudInstances CloudInstances `json:"cloudInstances,omitempty"`

	// Default labels, annotations and taints for Nodes in NodeGroup. Optional.
	NodeTemplate nm.NodeTemplate `json:"nodeTemplate,omitempty"`

	// Chaos monkey settings. Optional.
	Chaos Chaos `json:"chaos,omitempty"`

	// OperatingSystem. Optional.
	OperatingSystem OperatingSystem `json:"operatingSystem,omitempty"`

	// Disruptions settings for nodes. Optional.
	Disruptions Disruptions `json:"disruptions,omitempty"`

	// Update settings for NodeGroups. Optional
	Update Update `json:"update,omitempty"`

	// Kubelet settings for nodes. Optional.
	Kubelet Kubelet `json:"kubelet,omitempty"`
}

func (*NodeGroupSpec) DeepCopy

func (in *NodeGroupSpec) DeepCopy() *NodeGroupSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeGroupSpec.

func (*NodeGroupSpec) DeepCopyInto

func (in *NodeGroupSpec) DeepCopyInto(out *NodeGroupSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeGroupStatus

type NodeGroupStatus struct {
	// Number of ready Kubernetes nodes in the group.
	Ready int32 `json:"ready,omitempty"`

	// Number of Kubernetes nodes (in any state) in the group.
	Nodes int32 `json:"nodes,omitempty"`

	// Number of instances (in any state) in the group.
	Instances int32 `json:"instances,omitempty"`

	// Number of desired machines in the group.
	Desired int32 `json:"desired,omitempty"`

	// Minimal amount of instances in the group.
	Min int32 `json:"min,omitempty"`

	// Maximum amount of instances in the group.
	Max int32 `json:"max,omitempty"`

	// Number of up-to-date nodes in the group.
	UpToDate int32 `json:"upToDate,omitempty"`

	// Number of overprovisioned instances in the group.
	Standby int32 `json:"standby,omitempty"`

	// Error message about possible problems with the group handling.
	Error string `json:"error,omitempty"`

	// A list of last failures of handled Machines.
	LastMachineFailures []MachineFailure `json:"lastMachineFailures,omitempty"`

	// Status' summary.
	ConditionSummary ConditionSummary `json:"conditionSummary,omitempty"`

	// The current version of kubernetes on the nodes, or the version to which the nodes will be upgraded.
	KubernetesVersion string `json:"kubernetesVersion,omitempty"`

	// Current nodegroup conditions
	Conditions []NodeGroupCondition `json:"conditions,omitempty"`
}

func (*NodeGroupStatus) DeepCopy

func (in *NodeGroupStatus) DeepCopy() *NodeGroupStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeGroupStatus.

func (*NodeGroupStatus) DeepCopyInto

func (in *NodeGroupStatus) DeepCopyInto(out *NodeGroupStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NodeGroupStatus) GetObjectKind

func (in *NodeGroupStatus) GetObjectKind() schema.ObjectKind

type NodeType

type NodeType string

NodeType type of node

const (
	NodeTypeStatic         NodeType = "Static"
	NodeTypeCloudEphemeral NodeType = "CloudEphemeral"
	NodeTypeCloudPermanent NodeType = "CloudPermanent"
	NodeTypeCloudStatic    NodeType = "CloudStatic"
)

func (NodeType) String

func (nt NodeType) String() string

type NodeUser added in v1.60.0

type NodeUser struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Spec defines the behavior of a node user.
	Spec   NodeUserSpec   `json:"spec"`
	Status NodeUserStatus `json:"status"`
}

NodeUser is an system user on nodes.

type NodeUserSpec added in v1.60.0

type NodeUserSpec struct {
	UID           int      `json:"uid"`
	SSHPublicKey  string   `json:"sshPublicKey,omitempty"`
	SSHPublicKeys []string `json:"sshPublicKeys,omitempty"`
	PasswordHash  string   `json:"passwordHash"`
	IsSudoer      bool     `json:"isSudoer"`
	NodeGroups    []string `json:"nodeGroups"`
	ExtraGroups   []string `json:"extraGroups,omitempty"`
}

func (NodeUserSpec) IsEqual added in v1.60.0

func (nu NodeUserSpec) IsEqual(newSpec NodeUserSpec) bool

type NodeUserStatus added in v1.60.0

type NodeUserStatus struct {
	Errors map[string]string `json:"errors,omitempty"`
}

type NotManaged

type NotManaged struct {
	// Set custom path to CRI socket
	CriSocketPath *string `json:"criSocketPath,omitempty"`
}

func (*NotManaged) DeepCopy

func (in *NotManaged) DeepCopy() *NotManaged

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotManaged.

func (*NotManaged) DeepCopyInto

func (in *NotManaged) DeepCopyInto(out *NotManaged)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OperatingSystem

type OperatingSystem struct {
	// Enable kernel maintenance from bashible (default true).
	// Deprecated
	ManageKernel *bool `json:"manageKernel,omitempty"`
}

func (*OperatingSystem) DeepCopy

func (in *OperatingSystem) DeepCopy() *OperatingSystem

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatingSystem.

func (*OperatingSystem) DeepCopyInto

func (in *OperatingSystem) DeepCopyInto(out *OperatingSystem)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (OperatingSystem) IsEmpty

func (o OperatingSystem) IsEmpty() bool

type Resources

type Resources struct {
	// Describes the amount of CPU that will not be held by standby holder on Nodes from this NodeGroup.
	CPU intstr.IntOrString `json:"cpu,omitempty"`

	// Describes the amount of memory that will not be held by standby holder on Nodes from this NodeGroup.
	Memory intstr.IntOrString `json:"memory,omitempty"`
}

func (*Resources) DeepCopy

func (in *Resources) DeepCopy() *Resources

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources.

func (*Resources) DeepCopyInto

func (in *Resources) DeepCopyInto(out *Resources)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Resources) IsEmpty

func (r Resources) IsEmpty() bool

type RollingUpdateDisruptions added in v1.37.0

type RollingUpdateDisruptions struct {
	// Node update windows
	Windows update.Windows `json:"windows,omitempty"`
}

func (*RollingUpdateDisruptions) DeepCopy added in v1.39.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDisruptions.

func (*RollingUpdateDisruptions) DeepCopyInto added in v1.39.0

func (in *RollingUpdateDisruptions) DeepCopyInto(out *RollingUpdateDisruptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (RollingUpdateDisruptions) IsEmpty added in v1.37.0

func (r RollingUpdateDisruptions) IsEmpty() bool

type StandbyHolder

type StandbyHolder struct {
	// Percent of the node-group's node capacity which will be overprovisioned with standby-holder pod.
	OverprovisioningRate *int64 `json:"overprovisioningRate,omitempty"`
	// Deprecated: Describes the amount of resources, that will not be held by standby holder.
	NotHeldResources Resources `json:"notHeldResources,omitempty"`
}

func (*StandbyHolder) DeepCopy

func (in *StandbyHolder) DeepCopy() *StandbyHolder

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StandbyHolder.

func (*StandbyHolder) DeepCopyInto

func (in *StandbyHolder) DeepCopyInto(out *StandbyHolder)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (StandbyHolder) IsEmpty

func (s StandbyHolder) IsEmpty() bool

type StaticInstances added in v1.53.0

type StaticInstances struct {
	// Label selector for StaticInstance resources. Optional.
	LabelSelector *metav1.LabelSelector `json:"labelSelector,omitempty"`

	// Minimal amount of instances for the group. Required.
	Count int32 `json:"count"`
}

StaticInstances is an extra parameters for NodeGroup with type Static.

type Update

type Update struct {
	MaxConcurrent *intstr.IntOrString `json:"maxConcurrent,omitempty"`
}

func (*Update) DeepCopy

func (in *Update) DeepCopy() *Update

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Update.

func (*Update) DeepCopyInto

func (in *Update) DeepCopyInto(out *Update)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL