Documentation ¶
Overview ¶
+groupName=infrastructure.cluster.x-k8s.io
Index ¶
- Constants
- Variables
- type InstanceConfiguration
- type InstanceSourceViaImageConfig
- type InstanceVnicConfiguration
- type KeyValue
- type LaunchDetails
- type MachineTypeEnum
- type NodeEvictionNodePoolSettings
- type NodePoolCyclingDetails
- type NodePoolNodeConfig
- type NodePoolPodNetworkOptionDetails
- type NodeShapeConfig
- type NodeSourceViaImage
- type OCIMachinePool
- func (in *OCIMachinePool) DeepCopy() *OCIMachinePool
- func (in *OCIMachinePool) DeepCopyInto(out *OCIMachinePool)
- func (in *OCIMachinePool) DeepCopyObject() runtime.Object
- func (m *OCIMachinePool) GetConditions() clusterv1.Conditions
- func (*OCIMachinePool) Hub()
- func (m *OCIMachinePool) SetConditions(conditions clusterv1.Conditions)
- type OCIMachinePoolList
- type OCIMachinePoolMachine
- type OCIMachinePoolMachineList
- type OCIMachinePoolMachineSpec
- type OCIMachinePoolMachineStatus
- type OCIMachinePoolSpec
- type OCIMachinePoolStatus
- type OCIManagedMachinePool
- func (in *OCIManagedMachinePool) DeepCopy() *OCIManagedMachinePool
- func (in *OCIManagedMachinePool) DeepCopyInto(out *OCIManagedMachinePool)
- func (in *OCIManagedMachinePool) DeepCopyObject() runtime.Object
- func (m *OCIManagedMachinePool) Default()
- func (m *OCIManagedMachinePool) GetConditions() clusterv1.Conditions
- func (*OCIManagedMachinePool) Hub()
- func (m *OCIManagedMachinePool) SetConditions(conditions clusterv1.Conditions)
- func (m *OCIManagedMachinePool) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (m *OCIManagedMachinePool) ValidateCreate() (admission.Warnings, error)
- func (m *OCIManagedMachinePool) ValidateDelete() (admission.Warnings, error)
- func (m *OCIManagedMachinePool) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type OCIManagedMachinePoolList
- type OCIManagedMachinePoolSpec
- type OCIManagedMachinePoolStatus
- type OCIManagedMachinePoolTemplate
- type OCIManagedMachinePoolTemplateList
- type OCIManagedMachinePoolTemplateResource
- type OCIManagedMachinePoolTemplateSpec
- type OCIVirtualMachinePool
- func (in *OCIVirtualMachinePool) DeepCopy() *OCIVirtualMachinePool
- func (in *OCIVirtualMachinePool) DeepCopyInto(out *OCIVirtualMachinePool)
- func (in *OCIVirtualMachinePool) DeepCopyObject() runtime.Object
- func (m *OCIVirtualMachinePool) Default()
- func (m *OCIVirtualMachinePool) GetConditions() clusterv1.Conditions
- func (*OCIVirtualMachinePool) Hub()
- func (m *OCIVirtualMachinePool) SetConditions(conditions clusterv1.Conditions)
- func (m *OCIVirtualMachinePool) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (m *OCIVirtualMachinePool) ValidateCreate() (admission.Warnings, error)
- func (m *OCIVirtualMachinePool) ValidateDelete() (admission.Warnings, error)
- func (m *OCIVirtualMachinePool) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type OCIVirtualMachinePoolList
- type OCIVirtualMachinePoolSpec
- type OCIVirtualMachinePoolStatus
- type PlacementConfig
- type PlacementDetails
- type PodConfig
- type ShapeConfig
- type Taint
- type VcnIpNativePodNetworkOptions
- type VirtualNodepoolPlacementConfig
Constants ¶
const ( // InstancePoolReadyCondition reports on current status of the Instance Pool. Ready indicates the group is provisioned. InstancePoolReadyCondition clusterv1.ConditionType = "InstancePoolReady" // InstancePoolNotFoundReason used when the Instance Pool couldn't be retrieved. InstancePoolNotFoundReason = "InstancePoolNotFound" // InstancePoolProvisionFailedReason used for failures during Instance Pool provisioning. InstancePoolProvisionFailedReason = "InstancePoolProvisionFailed" // InstancePoolDeletionInProgress Instance Pool is in a deletion in progress state. InstancePoolDeletionInProgress = "InstancePoolDeletionInProgress" // InstancePoolNotReadyReason used when the instance pool is in a pending state. InstancePoolNotReadyReason = "InstancePoolNotReady" // NodePoolReadyCondition reports on current status of the Node Pool. Ready indicates the group is provisioned. NodePoolReadyCondition clusterv1.ConditionType = "NodePoolReady" // NodePoolNotFoundReason used when the Node Pool couldn't be retrieved. NodePoolNotFoundReason = "NodePoolNotFound" // NodePoolProvisionFailedReason used for failures during Instance Pool provisioning. NodePoolProvisionFailedReason = "NodePoolProvisionFailed" // NodePoolDeletionInProgress Node Pool is in a deletion in progress state. NodePoolDeletionInProgress = "NodePoolDeletionInProgress" // NodePoolNotReadyReason used when the node pool is in a pending state. NodePoolNotReadyReason = "NodePoolNotReady" // NodePoolDeletedReason Node Pool is deleted. NodePoolDeletedReason = "NodePoolDeleted" // VirtualNodePoolReadyCondition reports on current status of the Virtual Node Pool. Ready indicates the group is provisioned. VirtualNodePoolReadyCondition clusterv1.ConditionType = "VirtualNodePoolReady" // VirtualNodePoolNotFoundReason used when the Virtual Node Pool couldn't be retrieved. VirtualNodePoolNotFoundReason = "VirtualNodePoolNotFound" // VirtualNodePoolProvisionFailedReason used for failures during Virtual Node Pool provisioning. VirtualNodePoolProvisionFailedReason = "VirtualNodePoolProvisionFailed" // VirtualNodePoolDeletionInProgress Virtual Node Pool is in a deletion in progress state. VirtualNodePoolDeletionInProgress = "VirtualNodePoolDeletionInProgress" // VirtualNodePoolNotReadyReason used when the virtual node pool is in a pending state. VirtualNodePoolNotReadyReason = "VirtualNodePoolNotReady" // VirtualNodePoolDeletedReason Virtual Node Pool is deleted. VirtualNodePoolDeletedReason = "VirtualNodePoolDeleted" // LaunchTemplateReadyCondition represents the status of an OCIachinePool's associated Instance Template. LaunchTemplateReadyCondition clusterv1.ConditionType = "LaunchTemplateReady" // LaunchTemplateNotFoundReason is used when an associated Launch Template can't be found. LaunchTemplateNotFoundReason = "LaunchTemplateNotFound" // LaunchTemplateCreateFailedReason used for failures during Launch Template creation. LaunchTemplateCreateFailedReason = "LaunchTemplateCreateFailed" )
const ( PodDefaultName = "pod" PodDefaultCIDR = "10.0.128.0/18" )
const (
// MachinePoolFinalizer is the finalizer for the machine pool.
MachinePoolFinalizer = "ocimachinepool.infrastructure.cluster.x-k8s.io"
)
const (
// ManagedMachinePoolFinalizer is the finalizer for managed machine pool.
ManagedMachinePoolFinalizer = "ocimanagedmachinepool.infrastructure.cluster.x-k8s.io"
)
const (
// VirtualMachinePoolFinalizer is the finalizer for virtual machine pool.
VirtualMachinePoolFinalizer = "ocivirtualmachinepool.infrastructure.cluster.x-k8s.io"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "infrastructure.cluster.x-k8s.io", Version: "v1beta2"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type InstanceConfiguration ¶
type InstanceConfiguration struct { InstanceConfigurationId *string `json:"instanceConfigurationId,omitempty"` Shape *string `json:"shape,omitempty"` // The shape configuration of the instance, applicable for flex instances. ShapeConfig *ShapeConfig `json:"shapeConfig,omitempty"` InstanceVnicConfiguration *infrastructurev1beta2.NetworkDetails `json:"instanceVnicConfiguration,omitempty"` // PlatformConfig defines the platform config parameters PlatformConfig *infrastructurev1beta2.PlatformConfig `json:"platformConfig,omitempty"` // AgentConfig defines the options for the Oracle Cloud Agent software running on the instance. AgentConfig *infrastructurev1beta2.LaunchInstanceAgentConfig `json:"agentConfig,omitempty"` // PreemptibleInstanceConfig Configuration options for preemptible instances. PreemptibleInstanceConfig *infrastructurev1beta2.PreemptibleInstanceConfig `json:"preemptibleInstanceConfig,omitempty"` // LaunchInstanceAvailabilityConfig defines the options for VM migration during infrastructure maintenance events and for defining // the availability of a VM instance after a maintenance event that impacts the underlying hardware. AvailabilityConfig *infrastructurev1beta2.LaunchInstanceAvailabilityConfig `json:"availabilityConfig,omitempty"` // DedicatedVmHostId defines the OCID of the dedicated VM host. DedicatedVmHostId *string `json:"dedicatedVmHostId,omitempty"` // LaunchOptions defines the options for tuning the compatibility and performance of VM shapes LaunchOptions *infrastructurev1beta2.LaunchOptions `json:"launchOptions,omitempty"` // InstanceOptions defines the instance options InstanceOptions *infrastructurev1beta2.InstanceOptions `json:"instanceOptions,omitempty"` // Is in transit encryption of volumes required. // +optional IsPvEncryptionInTransitEnabled *bool `json:"isPvEncryptionInTransitEnabled,omitempty"` // InstanceSourceViaImageConfig defines the options for booting up instances via images InstanceSourceViaImageDetails *InstanceSourceViaImageConfig `json:"instanceSourceViaImageConfig,omitempty"` // CapacityReservationId defines the OCID of the compute capacity reservation this instance is launched under. // You can opt out of all default reservations by specifying an empty string as input for this field. // For more information, see Capacity Reservations (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default). CapacityReservationId *string `json:"capacityReservationId,omitempty"` // Custom metadata key/value pairs that you provide, such as the SSH public key // required to connect to the instance. Metadata map[string]string `json:"metadata,omitempty"` }
func (*InstanceConfiguration) DeepCopy ¶
func (in *InstanceConfiguration) DeepCopy() *InstanceConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceConfiguration.
func (*InstanceConfiguration) DeepCopyInto ¶
func (in *InstanceConfiguration) DeepCopyInto(out *InstanceConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceSourceViaImageConfig ¶
type InstanceSourceViaImageConfig struct { // OCID of the image to be used to launch the instance. ImageId *string `json:"imageId,omitempty"` // KmsKeyId defines the OCID of the Key Management key to assign as the master encryption key for the boot volume. KmsKeyId *string `json:"kmsKeyId,omitempty"` // The size of boot volume. Please see https://docs.oracle.com/en-us/iaas/Content/Block/Tasks/extendingbootpartition.htm // to extend the boot volume size. BootVolumeSizeInGBs *int64 `json:"bootVolumeSizeInGBs,omitempty"` // BootVolumeVpusPerGB defines the number of volume performance units (VPUs) that will be applied to this volume per GB, // representing the Block Volume service's elastic performance options. // See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. // Allowed values: // * `10`: Represents Balanced option. // * `20`: Represents Higher Performance option. // * `30`-`120`: Represents the Ultra High Performance option. // For volumes with the auto-tuned performance feature enabled, this is set to the default (minimum) VPUs/GB. BootVolumeVpusPerGB *int64 `json:"bootVolumeVpusPerGB,omitempty"` }
InstanceSourceViaImageConfig The configuration options for booting up instances via images
func (*InstanceSourceViaImageConfig) DeepCopy ¶
func (in *InstanceSourceViaImageConfig) DeepCopy() *InstanceSourceViaImageConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSourceViaImageConfig.
func (*InstanceSourceViaImageConfig) DeepCopyInto ¶
func (in *InstanceSourceViaImageConfig) DeepCopyInto(out *InstanceSourceViaImageConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceVnicConfiguration ¶
type InstanceVnicConfiguration struct { // AssignPublicIp defines whether the instance should have a public IP address AssignPublicIp bool `json:"assignPublicIp,omitempty"` // SubnetName defines the subnet name to use for the VNIC SubnetName string `json:"subnetName,omitempty"` // Deprecated, use NsgNames parameter to define the NSGs NSGId *string `json:"nsgId,omitempty"` // SkipSourceDestCheck defines whether the source/destination check is disabled on the VNIC. SkipSourceDestCheck *bool `json:"skipSourceDestCheck,omitempty"` // NsgNames defines a list of the nsg names of the network security groups (NSGs) to add the VNIC to. NsgNames []string `json:"nsgNames,omitempty"` // HostnameLabel defines the hostname for the VNIC's primary private IP. Used for DNS. HostnameLabel *string `json:"hostnameLabel,omitempty"` // DisplayName defines a user-friendly name. Does not have to be unique, and it's changeable. // Avoid entering confidential information. DisplayName *string `json:"displayName,omitempty"` // AssignPrivateDnsRecord defines whether the VNIC should be assigned a DNS record. AssignPrivateDnsRecord *bool `json:"assignPrivateDnsRecord,omitempty"` }
InstanceVnicConfiguration defines the configuration options for the network
func (*InstanceVnicConfiguration) DeepCopy ¶
func (in *InstanceVnicConfiguration) DeepCopy() *InstanceVnicConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceVnicConfiguration.
func (*InstanceVnicConfiguration) DeepCopyInto ¶
func (in *InstanceVnicConfiguration) DeepCopyInto(out *InstanceVnicConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeyValue ¶
type KeyValue struct { // The key of the pair. Key *string `json:"key,omitempty"` // The value of the pair. Value *string `json:"value,omitempty"` }
KeyValue The properties that define a key value pair.
func (*KeyValue) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyValue.
func (*KeyValue) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LaunchDetails ¶
type LaunchDetails struct { // Custom metadata key/value pairs that you provide, such as the SSH public key // required to connect to the instance. Metadata map[string]string `json:"metadata,omitempty"` Shape string `json:"shape,omitempty"` }
LaunchDetails Instance launch details for creating an instance from an instance configuration https://docs.oracle.com/en-us/iaas/api/#/en/iaas/20160918/datatypes/InstanceConfigurationLaunchInstanceDetails
func (*LaunchDetails) DeepCopy ¶
func (in *LaunchDetails) DeepCopy() *LaunchDetails
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchDetails.
func (*LaunchDetails) DeepCopyInto ¶
func (in *LaunchDetails) DeepCopyInto(out *LaunchDetails)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineTypeEnum ¶ added in v0.13.0
type MachineTypeEnum string
const ( Managed MachineTypeEnum = "MANAGED_TYPE" Virtual MachineTypeEnum = "VIRTUAL_TYPE" SelfManaged MachineTypeEnum = "SELF_MANAGED_TYPE" // MachinePoolMachineFinalizer is the finalizer for managed machine pool. MachinePoolMachineFinalizer = "ocimachinepoolmachine.infrastructure.cluster.x-k8s.io" )
type NodeEvictionNodePoolSettings ¶
type NodeEvictionNodePoolSettings struct { // EvictionGraceDuration defines the duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M // +optional EvictionGraceDuration *string `json:"evictionGraceDuration,omitempty"` // IsForceDeleteAfterGraceDuration defines if the underlying compute instance should be deleted if you cannot evict all the pods in grace period // +optional IsForceDeleteAfterGraceDuration *bool `json:"isForceDeleteAfterGraceDuration,omitempty"` }
NodeEvictionNodePoolSettings defines the Node Eviction Details configuration.
func (*NodeEvictionNodePoolSettings) DeepCopy ¶
func (in *NodeEvictionNodePoolSettings) DeepCopy() *NodeEvictionNodePoolSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeEvictionNodePoolSettings.
func (*NodeEvictionNodePoolSettings) DeepCopyInto ¶
func (in *NodeEvictionNodePoolSettings) DeepCopyInto(out *NodeEvictionNodePoolSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodePoolCyclingDetails ¶ added in v0.11.0
type NodePoolCyclingDetails struct { // IsNodeCyclingEnabled refers if nodes in the nodepool will be cycled to have new changes. // +optional IsNodeCyclingEnabled *bool `json:"isNodeCyclingEnabled,omitempty"` // MaximumSurge refers to the maximum additional new compute instances that would be temporarily created and // added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. // Defaults to 1, Ranges from 0 to Nodepool size or 0% to 100% // +optional MaximumSurge *string `json:"maximumSurge,omitempty"` // OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0% to 100% // +optional MaximumUnavailable *string `json:"maximumUnavailable,omitempty"` }
NodePoolCyclingDetails defines the node pool recycling options
func (*NodePoolCyclingDetails) DeepCopy ¶ added in v0.11.0
func (in *NodePoolCyclingDetails) DeepCopy() *NodePoolCyclingDetails
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolCyclingDetails.
func (*NodePoolCyclingDetails) DeepCopyInto ¶ added in v0.11.0
func (in *NodePoolCyclingDetails) DeepCopyInto(out *NodePoolCyclingDetails)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodePoolNodeConfig ¶
type NodePoolNodeConfig struct { // IsPvEncryptionInTransitEnabled defines whether in transit encryption should be enabled on the nodes. // +optional IsPvEncryptionInTransitEnabled *bool `json:"isPvEncryptionInTransitEnabled,omitempty"` // KmsKeyId defines whether in transit encryption should be enabled on the nodes. // +optional KmsKeyId *string `json:"kmsKeyId,omitempty"` // PlacementConfigs defines the placement configurations for the node pool. // +optional PlacementConfigs []PlacementConfig `json:"placementConfigs,omitempty"` // NsgNames defines the names of NSGs which will be associated with the nodes. the NSGs are defined // in OCIManagedCluster object. // +optional NsgNames []string `json:"nsgNames,omitempty"` // NodePoolPodNetworkOptionDetails defines the pod networking details of the node pool // +optional NodePoolPodNetworkOptionDetails *NodePoolPodNetworkOptionDetails `json:"nodePoolPodNetworkOptionDetails,omitempty"` }
NodePoolNodeConfig describes the configuration of nodes in the node pool.
func (*NodePoolNodeConfig) DeepCopy ¶
func (in *NodePoolNodeConfig) DeepCopy() *NodePoolNodeConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolNodeConfig.
func (*NodePoolNodeConfig) DeepCopyInto ¶
func (in *NodePoolNodeConfig) DeepCopyInto(out *NodePoolNodeConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodePoolPodNetworkOptionDetails ¶
type NodePoolPodNetworkOptionDetails struct { // CniType describes the CNI plugin used by this node pool. Allowed values are OCI_VCN_IP_NATIVE and FLANNEL_OVERLAY. // +optional CniType infrastructurev1beta2.CNIOptionEnum `json:"cniType,omitempty"` // VcnIpNativePodNetworkOptions describes the network options specific to using the OCI VCN Native CNI // +optional VcnIpNativePodNetworkOptions VcnIpNativePodNetworkOptions `json:"vcnIpNativePodNetworkOptions,omitempty"` }
NodePoolPodNetworkOptionDetails describes the CNI related configuration of pods in the node pool.
func (*NodePoolPodNetworkOptionDetails) DeepCopy ¶
func (in *NodePoolPodNetworkOptionDetails) DeepCopy() *NodePoolPodNetworkOptionDetails
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolPodNetworkOptionDetails.
func (*NodePoolPodNetworkOptionDetails) DeepCopyInto ¶
func (in *NodePoolPodNetworkOptionDetails) DeepCopyInto(out *NodePoolPodNetworkOptionDetails)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeShapeConfig ¶
type NodeShapeConfig struct { // MemoryInGBs defines the total amount of memory available to each node, in gigabytes. // +optional MemoryInGBs *string `json:"memoryInGBs,omitempty"` // Ocpus defines the total number of OCPUs available to each node in the node pool. // +optional Ocpus *string `json:"ocpus,omitempty"` }
NodeShapeConfig defines the shape configuration of the nodes.
func (*NodeShapeConfig) DeepCopy ¶
func (in *NodeShapeConfig) DeepCopy() *NodeShapeConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeShapeConfig.
func (*NodeShapeConfig) DeepCopyInto ¶
func (in *NodeShapeConfig) DeepCopyInto(out *NodeShapeConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeSourceViaImage ¶
type NodeSourceViaImage struct { // BootVolumeSizeInGBs defines the size of the boot volume in GBs. // +optional BootVolumeSizeInGBs *int64 `json:"bootVolumeSizeInGBs,omitempty"` // ImageId defines the OCID of the image used to boot the node. // +optional ImageId *string `json:"imageId,omitempty"` }
NodeSourceViaImage defines the Details of the image running on the node.
func (*NodeSourceViaImage) DeepCopy ¶
func (in *NodeSourceViaImage) DeepCopy() *NodeSourceViaImage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSourceViaImage.
func (*NodeSourceViaImage) DeepCopyInto ¶
func (in *NodeSourceViaImage) DeepCopyInto(out *NodeSourceViaImage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OCIMachinePool ¶
type OCIMachinePool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OCIMachinePoolSpec `json:"spec,omitempty"` Status OCIMachinePoolStatus `json:"status,omitempty"` }
func (*OCIMachinePool) DeepCopy ¶
func (in *OCIMachinePool) DeepCopy() *OCIMachinePool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIMachinePool.
func (*OCIMachinePool) DeepCopyInto ¶
func (in *OCIMachinePool) DeepCopyInto(out *OCIMachinePool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OCIMachinePool) DeepCopyObject ¶
func (in *OCIMachinePool) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OCIMachinePool) GetConditions ¶
func (m *OCIMachinePool) GetConditions() clusterv1.Conditions
GetConditions returns the list of conditions for an OCIMachine API object.
func (*OCIMachinePool) Hub ¶
func (*OCIMachinePool) Hub()
Hub marks OCIMachinePool as a conversion hub.
func (*OCIMachinePool) SetConditions ¶
func (m *OCIMachinePool) SetConditions(conditions clusterv1.Conditions)
SetConditions will set the given conditions on an OCIMachine object.
type OCIMachinePoolList ¶
type OCIMachinePoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OCIMachinePool `json:"items"` }
OCIMachinePoolList contains a list of OCIMachinePool.
func (*OCIMachinePoolList) DeepCopy ¶
func (in *OCIMachinePoolList) DeepCopy() *OCIMachinePoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIMachinePoolList.
func (*OCIMachinePoolList) DeepCopyInto ¶
func (in *OCIMachinePoolList) DeepCopyInto(out *OCIMachinePoolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OCIMachinePoolList) DeepCopyObject ¶
func (in *OCIMachinePoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OCIMachinePoolList) Hub ¶
func (*OCIMachinePoolList) Hub()
Hub marks OCIMachinePoolList as a conversion hub.
type OCIMachinePoolMachine ¶ added in v0.13.0
type OCIMachinePoolMachine struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OCIMachinePoolMachineSpec `json:"spec,omitempty"` Status OCIMachinePoolMachineStatus `json:"status,omitempty"` }
func (*OCIMachinePoolMachine) DeepCopy ¶ added in v0.13.0
func (in *OCIMachinePoolMachine) DeepCopy() *OCIMachinePoolMachine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIMachinePoolMachine.
func (*OCIMachinePoolMachine) DeepCopyInto ¶ added in v0.13.0
func (in *OCIMachinePoolMachine) DeepCopyInto(out *OCIMachinePoolMachine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OCIMachinePoolMachine) DeepCopyObject ¶ added in v0.13.0
func (in *OCIMachinePoolMachine) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OCIMachinePoolMachine) Hub ¶ added in v0.13.0
func (*OCIMachinePoolMachine) Hub()
Hub marks OCIManagedMachinePoolMachine as a conversion hub.
type OCIMachinePoolMachineList ¶ added in v0.13.0
type OCIMachinePoolMachineList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OCIMachinePoolMachine `json:"items"` }
OCIMachinePoolMachineList contains a list of OCIMachinePoolMachine.
func (*OCIMachinePoolMachineList) DeepCopy ¶ added in v0.13.0
func (in *OCIMachinePoolMachineList) DeepCopy() *OCIMachinePoolMachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIMachinePoolMachineList.
func (*OCIMachinePoolMachineList) DeepCopyInto ¶ added in v0.13.0
func (in *OCIMachinePoolMachineList) DeepCopyInto(out *OCIMachinePoolMachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OCIMachinePoolMachineList) DeepCopyObject ¶ added in v0.13.0
func (in *OCIMachinePoolMachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OCIMachinePoolMachineList) Hub ¶ added in v0.13.0
func (*OCIMachinePoolMachineList) Hub()
Hub marks OCIManagedMachinePoolMachineList as a conversion hub.
type OCIMachinePoolMachineSpec ¶ added in v0.13.0
type OCIMachinePoolMachineSpec struct { // ProviderID is Oracle Cloud Identifier of the associated instance. // +optional ProviderID *string `json:"providerID,omitempty"` // OCID is the OCID of the associated instance. // +optional OCID *string `json:"ocid,omitempty"` // InstanceName is the name of the instance. // +optional InstanceName *string `json:"instanceName,omitempty"` // MachineType is the type of the machine. MachineType MachineTypeEnum `json:"machineType,omitempty"` }
OCIMachinePoolMachineSpec defines the desired state of OCIMachinePoolMachine
func (*OCIMachinePoolMachineSpec) DeepCopy ¶ added in v0.13.0
func (in *OCIMachinePoolMachineSpec) DeepCopy() *OCIMachinePoolMachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIMachinePoolMachineSpec.
func (*OCIMachinePoolMachineSpec) DeepCopyInto ¶ added in v0.13.0
func (in *OCIMachinePoolMachineSpec) DeepCopyInto(out *OCIMachinePoolMachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OCIMachinePoolMachineStatus ¶ added in v0.13.0
type OCIMachinePoolMachineStatus struct { // Flag set to true when machine is ready. // +optional Ready bool `json:"ready,omitempty"` // Conditions defines current service state of the OCIMachinePool. // +optional Conditions clusterv1.Conditions `json:"conditions,omitempty"` }
OCIMachinePoolMachineStatus defines the observed state of OCIMachinePoolMachine
func (*OCIMachinePoolMachineStatus) DeepCopy ¶ added in v0.13.0
func (in *OCIMachinePoolMachineStatus) DeepCopy() *OCIMachinePoolMachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIMachinePoolMachineStatus.
func (*OCIMachinePoolMachineStatus) DeepCopyInto ¶ added in v0.13.0
func (in *OCIMachinePoolMachineStatus) DeepCopyInto(out *OCIMachinePoolMachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OCIMachinePoolSpec ¶
type OCIMachinePoolSpec struct { // ProviderID is the OCID of the associated InstancePool in a provider format // +optional ProviderID *string `json:"providerID,omitempty"` // OCID is the OCID of the associated InstancePool // +optional OCID *string `json:"ocid,omitempty"` // PlacementDetails defines the placement details of the instance pool. PlacementDetails []PlacementDetails `json:"placementDetails,omitempty"` // InstanceConfiguration defines the configuration of the instance pool instances. InstanceConfiguration InstanceConfiguration `json:"instanceConfiguration,omitempty"` // ProviderIDList are the identification IDs of machine instances provided by the provider. // This field must match the provider IDs as seen on the node objects corresponding to a machine pool's machine instances. // +optional ProviderIDList []string `json:"providerIDList,omitempty"` }
OCIMachinePoolSpec defines the desired state of OCIMachinePool
func (*OCIMachinePoolSpec) DeepCopy ¶
func (in *OCIMachinePoolSpec) DeepCopy() *OCIMachinePoolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIMachinePoolSpec.
func (*OCIMachinePoolSpec) DeepCopyInto ¶
func (in *OCIMachinePoolSpec) DeepCopyInto(out *OCIMachinePoolSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OCIMachinePoolStatus ¶
type OCIMachinePoolStatus struct { // Ready is true when the provider resource is ready. // +optional Ready bool `json:"ready"` // Replicas is the most recently observed number of replicas // +optional Replicas int32 `json:"replicas"` // Conditions defines current service state of the OCIMachinePool. // +optional Conditions clusterv1.Conditions `json:"conditions,omitempty"` FailureReason *errors.MachineStatusError `json:"failureReason,omitempty"` FailureMessage *string `json:"failureMessage,omitempty"` // InfrastructureMachineKind is the kind of the infrastructure resources behind MachinePool Machines. // +optional InfrastructureMachineKind string `json:"infrastructureMachineKind,omitempty"` }
OCIMachinePoolStatus defines the observed state of OCIMachinePool
func (*OCIMachinePoolStatus) DeepCopy ¶
func (in *OCIMachinePoolStatus) DeepCopy() *OCIMachinePoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIMachinePoolStatus.
func (*OCIMachinePoolStatus) DeepCopyInto ¶
func (in *OCIMachinePoolStatus) DeepCopyInto(out *OCIMachinePoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OCIManagedMachinePool ¶
type OCIManagedMachinePool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OCIManagedMachinePoolSpec `json:"spec,omitempty"` Status OCIManagedMachinePoolStatus `json:"status,omitempty"` }
OCIManagedMachinePool is the Schema for the ocimanagedmachinepool API.
func (*OCIManagedMachinePool) DeepCopy ¶
func (in *OCIManagedMachinePool) DeepCopy() *OCIManagedMachinePool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIManagedMachinePool.
func (*OCIManagedMachinePool) DeepCopyInto ¶
func (in *OCIManagedMachinePool) DeepCopyInto(out *OCIManagedMachinePool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OCIManagedMachinePool) DeepCopyObject ¶
func (in *OCIManagedMachinePool) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OCIManagedMachinePool) Default ¶
func (m *OCIManagedMachinePool) Default()
func (*OCIManagedMachinePool) GetConditions ¶
func (m *OCIManagedMachinePool) GetConditions() clusterv1.Conditions
GetConditions returns the list of conditions for an OCIMachine API object.
func (*OCIManagedMachinePool) Hub ¶
func (*OCIManagedMachinePool) Hub()
Hub marks OCIManagedMachinePool as a conversion hub.
func (*OCIManagedMachinePool) SetConditions ¶
func (m *OCIManagedMachinePool) SetConditions(conditions clusterv1.Conditions)
SetConditions will set the given conditions on an OCIMachine object.
func (*OCIManagedMachinePool) SetupWebhookWithManager ¶
func (m *OCIManagedMachinePool) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*OCIManagedMachinePool) ValidateCreate ¶
func (m *OCIManagedMachinePool) ValidateCreate() (admission.Warnings, error)
func (*OCIManagedMachinePool) ValidateDelete ¶
func (m *OCIManagedMachinePool) ValidateDelete() (admission.Warnings, error)
func (*OCIManagedMachinePool) ValidateUpdate ¶
type OCIManagedMachinePoolList ¶
type OCIManagedMachinePoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OCIManagedMachinePool `json:"items"` }
OCIManagedMachinePoolList contains a list of OCIManagedMachinePool.
func (*OCIManagedMachinePoolList) DeepCopy ¶
func (in *OCIManagedMachinePoolList) DeepCopy() *OCIManagedMachinePoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIManagedMachinePoolList.
func (*OCIManagedMachinePoolList) DeepCopyInto ¶
func (in *OCIManagedMachinePoolList) DeepCopyInto(out *OCIManagedMachinePoolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OCIManagedMachinePoolList) DeepCopyObject ¶
func (in *OCIManagedMachinePoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OCIManagedMachinePoolList) Hub ¶
func (*OCIManagedMachinePoolList) Hub()
Hub marks OCIManagedMachinePoolList as a conversion hub.
type OCIManagedMachinePoolSpec ¶
type OCIManagedMachinePoolSpec struct { // ProviderID is the OCID of the associated NodePool in a provider format // +optional ProviderID *string `json:"providerID,omitempty"` // Version represents the version of the OKE node pool. Version *string `json:"version,omitempty"` // ID is the OCID of the associated NodePool // +optional ID *string `json:"id,omitempty"` // NodePoolNodeConfig defines the configuration of nodes in the node pool. // +optional NodePoolNodeConfig *NodePoolNodeConfig `json:"nodePoolNodeConfig,omitempty"` // NodeEvictionNodePoolSettings defines the eviction settings. // +optional NodeEvictionNodePoolSettings *NodeEvictionNodePoolSettings `json:"nodeEvictionNodePoolSettings,omitempty"` // NodeShape defines the name of the node shape of the nodes in the node pool. // +optional NodeShape string `json:"nodeShape,omitempty"` // NodeShapeConfig defines the configuration of the shape to launch nodes in the node pool. // +optional NodeShapeConfig *NodeShapeConfig `json:"nodeShapeConfig,omitempty"` // NodeSourceViaImage defines the image configuration of the nodes in the nodepool. // +optional NodeSourceViaImage *NodeSourceViaImage `json:"nodeSourceViaImage,omitempty"` // SshPublicKey defines the SSH public key on each node in the node pool on launch. // +optional SshPublicKey string `json:"sshPublicKey,omitempty"` // NodeMetadata defines a list of key/value pairs to add to each underlying OCI instance in the node pool on launch. // +optional NodeMetadata map[string]string `json:"nodeMetadata,omitempty"` // InitialNodeLabels defines a list of key/value pairs to add to nodes after they join the Kubernetes cluster. // +optional InitialNodeLabels []KeyValue `json:"initialNodeLabels,omitempty"` // NodePoolCyclingDetails defines the node pool recycling options. // +optional NodePoolCyclingDetails *NodePoolCyclingDetails `json:"nodePoolCyclingDetails,omitempty"` // ProviderIDList are the identification IDs of machine instances provided by the provider. // This field must match the provider IDs as seen on the node objects corresponding to a machine pool's machine instances. // +optional ProviderIDList []string `json:"providerIDList,omitempty"` }
OCIManagedMachinePoolSpec defines the desired state of an OCI managed machine pool. An OCIManagedMachinePool translates to an OKE NodePool. The properties are generated from https://docs.oracle.com/en-us/iaas/api/#/en/containerengine/20180222/datatypes/CreateNodePoolDetails
func (*OCIManagedMachinePoolSpec) DeepCopy ¶
func (in *OCIManagedMachinePoolSpec) DeepCopy() *OCIManagedMachinePoolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIManagedMachinePoolSpec.
func (*OCIManagedMachinePoolSpec) DeepCopyInto ¶
func (in *OCIManagedMachinePoolSpec) DeepCopyInto(out *OCIManagedMachinePoolSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OCIManagedMachinePoolStatus ¶
type OCIManagedMachinePoolStatus struct { // +optional Ready bool `json:"ready"` // NetworkSpec encapsulates all things related to OCI network. // +optional Conditions clusterv1.Conditions `json:"conditions,omitempty"` // Replicas is the most recently observed number of replicas // +optional Replicas int32 `json:"replicas"` FailureReason *errors.MachineStatusError `json:"failureReason,omitempty"` FailureMessages []string `json:"failureMessages,omitempty"` // InfrastructureMachineKind is the kind of the infrastructure resources behind MachinePool Machines. // +optional InfrastructureMachineKind string `json:"infrastructureMachineKind,omitempty"` }
OCIManagedMachinePoolStatus defines the observed state of OCIManagedMachinePool
func (*OCIManagedMachinePoolStatus) DeepCopy ¶
func (in *OCIManagedMachinePoolStatus) DeepCopy() *OCIManagedMachinePoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIManagedMachinePoolStatus.
func (*OCIManagedMachinePoolStatus) DeepCopyInto ¶
func (in *OCIManagedMachinePoolStatus) DeepCopyInto(out *OCIManagedMachinePoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OCIManagedMachinePoolTemplate ¶
type OCIManagedMachinePoolTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OCIManagedMachinePoolTemplateSpec `json:"spec,omitempty"` }
OCIManagedMachinePoolTemplate is the Schema for the OCIManagedMachinePoolTemplates API.
func (*OCIManagedMachinePoolTemplate) DeepCopy ¶
func (in *OCIManagedMachinePoolTemplate) DeepCopy() *OCIManagedMachinePoolTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIManagedMachinePoolTemplate.
func (*OCIManagedMachinePoolTemplate) DeepCopyInto ¶
func (in *OCIManagedMachinePoolTemplate) DeepCopyInto(out *OCIManagedMachinePoolTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OCIManagedMachinePoolTemplate) DeepCopyObject ¶
func (in *OCIManagedMachinePoolTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OCIManagedMachinePoolTemplateList ¶
type OCIManagedMachinePoolTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OCIManagedMachinePoolTemplate `json:"items"` }
OCIManagedMachinePoolTemplateList contains a list of OCIManagedMachinePoolTemplate.
func (*OCIManagedMachinePoolTemplateList) DeepCopy ¶
func (in *OCIManagedMachinePoolTemplateList) DeepCopy() *OCIManagedMachinePoolTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIManagedMachinePoolTemplateList.
func (*OCIManagedMachinePoolTemplateList) DeepCopyInto ¶
func (in *OCIManagedMachinePoolTemplateList) DeepCopyInto(out *OCIManagedMachinePoolTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OCIManagedMachinePoolTemplateList) DeepCopyObject ¶
func (in *OCIManagedMachinePoolTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OCIManagedMachinePoolTemplateResource ¶
type OCIManagedMachinePoolTemplateResource struct {
Spec OCIManagedMachinePoolSpec `json:"spec"`
}
OCIManagedMachinePoolSpec describes the data needed to create an OCIManagedMachinePool from a template.
func (*OCIManagedMachinePoolTemplateResource) DeepCopy ¶
func (in *OCIManagedMachinePoolTemplateResource) DeepCopy() *OCIManagedMachinePoolTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIManagedMachinePoolTemplateResource.
func (*OCIManagedMachinePoolTemplateResource) DeepCopyInto ¶
func (in *OCIManagedMachinePoolTemplateResource) DeepCopyInto(out *OCIManagedMachinePoolTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OCIManagedMachinePoolTemplateSpec ¶
type OCIManagedMachinePoolTemplateSpec struct {
Template OCIManagedMachinePoolTemplateResource `json:"template"`
}
OCIManagedMachinePoolTemplateSpec defines the desired state of OCIManagedMachinePoolTemplate.
func (*OCIManagedMachinePoolTemplateSpec) DeepCopy ¶
func (in *OCIManagedMachinePoolTemplateSpec) DeepCopy() *OCIManagedMachinePoolTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIManagedMachinePoolTemplateSpec.
func (*OCIManagedMachinePoolTemplateSpec) DeepCopyInto ¶
func (in *OCIManagedMachinePoolTemplateSpec) DeepCopyInto(out *OCIManagedMachinePoolTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OCIVirtualMachinePool ¶ added in v0.10.0
type OCIVirtualMachinePool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OCIVirtualMachinePoolSpec `json:"spec,omitempty"` Status OCIVirtualMachinePoolStatus `json:"status,omitempty"` }
OCIVirtualMachinePool is the Schema for the ocivirtualmachinepool API.
func (*OCIVirtualMachinePool) DeepCopy ¶ added in v0.10.0
func (in *OCIVirtualMachinePool) DeepCopy() *OCIVirtualMachinePool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIVirtualMachinePool.
func (*OCIVirtualMachinePool) DeepCopyInto ¶ added in v0.10.0
func (in *OCIVirtualMachinePool) DeepCopyInto(out *OCIVirtualMachinePool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OCIVirtualMachinePool) DeepCopyObject ¶ added in v0.10.0
func (in *OCIVirtualMachinePool) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OCIVirtualMachinePool) Default ¶ added in v0.10.0
func (m *OCIVirtualMachinePool) Default()
func (*OCIVirtualMachinePool) GetConditions ¶ added in v0.10.0
func (m *OCIVirtualMachinePool) GetConditions() clusterv1.Conditions
GetConditions returns the list of conditions for an OCIMachine API object.
func (*OCIVirtualMachinePool) Hub ¶ added in v0.10.0
func (*OCIVirtualMachinePool) Hub()
Hub marks OCIVirtualMachinePool as a conversion hub.
func (*OCIVirtualMachinePool) SetConditions ¶ added in v0.10.0
func (m *OCIVirtualMachinePool) SetConditions(conditions clusterv1.Conditions)
SetConditions will set the given conditions on an OCIMachine object.
func (*OCIVirtualMachinePool) SetupWebhookWithManager ¶ added in v0.10.0
func (m *OCIVirtualMachinePool) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*OCIVirtualMachinePool) ValidateCreate ¶ added in v0.10.0
func (m *OCIVirtualMachinePool) ValidateCreate() (admission.Warnings, error)
func (*OCIVirtualMachinePool) ValidateDelete ¶ added in v0.10.0
func (m *OCIVirtualMachinePool) ValidateDelete() (admission.Warnings, error)
func (*OCIVirtualMachinePool) ValidateUpdate ¶ added in v0.10.0
type OCIVirtualMachinePoolList ¶ added in v0.10.0
type OCIVirtualMachinePoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OCIVirtualMachinePool `json:"items"` }
OCIVirtualMachinePoolList contains a list of OCIVirtualMachinePool.
func (*OCIVirtualMachinePoolList) DeepCopy ¶ added in v0.10.0
func (in *OCIVirtualMachinePoolList) DeepCopy() *OCIVirtualMachinePoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIVirtualMachinePoolList.
func (*OCIVirtualMachinePoolList) DeepCopyInto ¶ added in v0.10.0
func (in *OCIVirtualMachinePoolList) DeepCopyInto(out *OCIVirtualMachinePoolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OCIVirtualMachinePoolList) DeepCopyObject ¶ added in v0.10.0
func (in *OCIVirtualMachinePoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OCIVirtualMachinePoolList) Hub ¶ added in v0.10.0
func (*OCIVirtualMachinePoolList) Hub()
Hub marks OCIVirtualMachinePool as a conversion hub.
type OCIVirtualMachinePoolSpec ¶ added in v0.10.0
type OCIVirtualMachinePoolSpec struct { // ProviderID is the OCID of the associated NodePool in a provider format // +optional ProviderID *string `json:"providerID,omitempty"` // ID is the OCID of the associated NodePool // +optional ID *string `json:"id,omitempty"` // PlacementConfigs defines the placement configurations for the node pool. // +optional PlacementConfigs []VirtualNodepoolPlacementConfig `json:"placementConfigs,omitempty"` // NsgNames defines the names of NSGs which will be associated with the nodes. the NSGs are defined // in OCIManagedCluster object. // +optional NsgNames []string `json:"nsgNames,omitempty"` // PodConfiguration defines pod configuration // +optional PodConfiguration PodConfig `json:"podConfiguration,omitempty"` // Taints describes the taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling. // +optional Taints []Taint `json:"taints,omitempty"` // InitialVirtualNodeLabels defines a list of key/value pairs to add to nodes after they join the Kubernetes cluster. // +optional InitialVirtualNodeLabels []KeyValue `json:"initialVirtualNodeLabels,omitempty"` // ProviderIDList are the identification IDs of machine instances provided by the provider. // This field must match the provider IDs as seen on the node objects corresponding to a machine pool's machine instances. // +optional ProviderIDList []string `json:"providerIDList,omitempty"` }
OCIVirtualMachinePoolSpec defines the desired state of an OCI virtual machine pool. An OCIVirtualMachinePool translates to an OKE Virtual node poo;. The properties are generated from https://docs.oracle.com/en-us/iaas/api/#/en/containerengine/20180222/datatypes/CreateVirtualNodePoolDetails
func (*OCIVirtualMachinePoolSpec) DeepCopy ¶ added in v0.10.0
func (in *OCIVirtualMachinePoolSpec) DeepCopy() *OCIVirtualMachinePoolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIVirtualMachinePoolSpec.
func (*OCIVirtualMachinePoolSpec) DeepCopyInto ¶ added in v0.10.0
func (in *OCIVirtualMachinePoolSpec) DeepCopyInto(out *OCIVirtualMachinePoolSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OCIVirtualMachinePoolStatus ¶ added in v0.10.0
type OCIVirtualMachinePoolStatus struct { // +optional Ready bool `json:"ready"` // NetworkSpec encapsulates all things related to OCI network. // +optional Conditions clusterv1.Conditions `json:"conditions,omitempty"` // Replicas is the most recently observed number of replicas // +optional Replicas int32 `json:"replicas"` // FailureReason will contains the CAPI MachinePoolStatusFailure if the virtual machine pool has hit an error condition. // +optional FailureReason *errors.MachinePoolStatusFailure `json:"failureReason,omitempty"` // FailureMessages contains the verbose erorr messages related to the virtual machine pool failures. // +optional FailureMessages []string `json:"failureMessages,omitempty"` // InfrastructureMachineKind is the kind of the infrastructure resources behind MachinePool Machines. // +optional InfrastructureMachineKind string `json:"infrastructureMachineKind,omitempty"` }
OCIVirtualMachinePoolStatus defines the observed state of OCIVirtualMachinePool
func (*OCIVirtualMachinePoolStatus) DeepCopy ¶ added in v0.10.0
func (in *OCIVirtualMachinePoolStatus) DeepCopy() *OCIVirtualMachinePoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIVirtualMachinePoolStatus.
func (*OCIVirtualMachinePoolStatus) DeepCopyInto ¶ added in v0.10.0
func (in *OCIVirtualMachinePoolStatus) DeepCopyInto(out *OCIVirtualMachinePoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlacementConfig ¶
type PlacementConfig struct { // AvailabilityDomain defines the availability domain in which to place nodes. // +optional AvailabilityDomain *string `json:"availabilityDomain,omitempty"` // CapacityReservationId defines the OCID of the compute capacity reservation in which to place the compute instance. // +optional CapacityReservationId *string `json:"capacityReservationId,omitempty"` // FaultDomains defines the list of fault domains in which to place nodes. // +optional FaultDomains []string `json:"faultDomains,omitempty"` // SubnetName defines the name of the subnet which need ot be associated with the Nodepool. // The subnets are defined in the OCiManagedCluster object. // +optional SubnetName *string `json:"subnetName,omitempty"` }
PlacementConfig defines the placement configurations for the node pool.
func (*PlacementConfig) DeepCopy ¶
func (in *PlacementConfig) DeepCopy() *PlacementConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementConfig.
func (*PlacementConfig) DeepCopyInto ¶
func (in *PlacementConfig) DeepCopyInto(out *PlacementConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlacementDetails ¶
type PlacementDetails struct { // The availability domain to place instances. AvailabilityDomain int `mandatory:"true" json:"availabilityDomain"` }
func (*PlacementDetails) DeepCopy ¶
func (in *PlacementDetails) DeepCopy() *PlacementDetails
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementDetails.
func (*PlacementDetails) DeepCopyInto ¶
func (in *PlacementDetails) DeepCopyInto(out *PlacementDetails)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodConfig ¶ added in v0.10.0
type PodConfig struct { // NsgNames defines the names of NSGs which will be associated with the pods. // +optional NsgNames []string `json:"nsgNames,omitempty"` // Shape described the shape of the pods. // +optional Shape *string `json:"shape,omitempty"` // SubnetName described the regional subnet where pods' VNIC will be placed. // +optional SubnetName *string `json:"subnetName,omitempty"` }
PodConfig describes the pod configuration of the virtual node pool.
func (*PodConfig) DeepCopy ¶ added in v0.10.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodConfig.
func (*PodConfig) DeepCopyInto ¶ added in v0.10.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ShapeConfig ¶
type ShapeConfig struct { // The total number of OCPUs available to the instance. Ocpus *string `json:"ocpus,omitempty"` // The total amount of memory available to the instance, in gigabytes. MemoryInGBs *string `json:"memoryInGBs,omitempty"` // The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a // non-burstable instance, or explicitly specify non-burstable with `BASELINE_1_1`. // The following values are supported: // - `BASELINE_1_8` - baseline usage is 1/8 of an OCPU. // - `BASELINE_1_2` - baseline usage is 1/2 of an OCPU. // - `BASELINE_1_1` - baseline usage is an entire OCPU. This represents a non-burstable instance. BaselineOcpuUtilization string `json:"baselineOcpuUtilization,omitempty"` // Nvmes defines the number of NVMe drives to be used for storage. A single drive has 6.8 TB available. Nvmes *int `json:"nvmes,omitempty"` }
ShapeConfig defines the configuration options for the compute instance shape https://docs.oracle.com/en-us/iaas/api/#/en/iaas/20160918/datatypes/LaunchInstanceShapeConfigDetails
func (*ShapeConfig) DeepCopy ¶
func (in *ShapeConfig) DeepCopy() *ShapeConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShapeConfig.
func (*ShapeConfig) DeepCopyInto ¶
func (in *ShapeConfig) DeepCopyInto(out *ShapeConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Taint ¶ added in v0.10.0
type Taint struct { // The key of the pair. Key *string `json:"key,omitempty"` // The value of the pair. Value *string `json:"value,omitempty"` // The effect of the pair. Effect *string `json:"effect,omitempty"` }
Taint describes a taint.
func (*Taint) DeepCopy ¶ added in v0.10.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Taint.
func (*Taint) DeepCopyInto ¶ added in v0.10.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VcnIpNativePodNetworkOptions ¶
type VcnIpNativePodNetworkOptions struct { // MemoryInGBs defines the max number of pods per node in the node pool. This value will be limited by the // number of VNICs attachable to the node pool shape // +optional MaxPodsPerNode *int `json:"maxPodsPerNode,omitempty"` // NSGNames defines the NSGs associated with the native pod network. // +optional NSGNames []string `json:"nsgNames,omitempty"` // SubnetNames defines the Subnets associated with the native pod network. // +optional SubnetNames []string `json:"subnetNames,omitempty"` }
VcnIpNativePodNetworkOptions defines the Network options specific to using the OCI VCN Native CNI
func (*VcnIpNativePodNetworkOptions) DeepCopy ¶
func (in *VcnIpNativePodNetworkOptions) DeepCopy() *VcnIpNativePodNetworkOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VcnIpNativePodNetworkOptions.
func (*VcnIpNativePodNetworkOptions) DeepCopyInto ¶
func (in *VcnIpNativePodNetworkOptions) DeepCopyInto(out *VcnIpNativePodNetworkOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VirtualNodepoolPlacementConfig ¶ added in v0.10.0
type VirtualNodepoolPlacementConfig struct { AvailabilityDomain *string `json:"availabilityDomain,omitempty"` // FaultDomains defines the list of fault domains in which to place nodes. // +optional FaultDomains []string `json:"faultDomains,omitempty"` // SubnetName defines the name of the subnet which need to be associated with the Virtual Node Pool. // The subnets are defined in the OCiManagedCluster object. // +optional SubnetName *string `json:"subnetName,omitempty"` }
VirtualNodepoolPlacementConfig defines the placement configurations for the virtual node pool.
func (*VirtualNodepoolPlacementConfig) DeepCopy ¶ added in v0.10.0
func (in *VirtualNodepoolPlacementConfig) DeepCopy() *VirtualNodepoolPlacementConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualNodepoolPlacementConfig.
func (*VirtualNodepoolPlacementConfig) DeepCopyInto ¶ added in v0.10.0
func (in *VirtualNodepoolPlacementConfig) DeepCopyInto(out *VirtualNodepoolPlacementConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- conditions_consts.go
- constants.go
- conversion.go
- doc.go
- groupversion_type.go
- ocimachinepool_machine_types.go
- ocimachinepool_types.go
- ocimanagedmachinepool_types.go
- ocimanagedmachinepool_webhook.go
- ocimanagedmachinepooltemplate_types.go
- ocivirtualmachinepool_types.go
- ocivirtualmachinepool_webhook.go
- zz_generated.deepcopy.go