v1beta1

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
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"

	// 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"

	// ControlPlaneReadyCondition Ready indicates the control plane is in a Running state.
	ControlPlaneReadyCondition clusterv1.ConditionType = "ControlPlaneReady"
	// ControlPlaneProvisionFailedReason used for failures during control plane provisioning.
	ControlPlaneProvisionFailedReason = "ControlPlaneProvisionFailed"
	// ControlPlaneNotReadyReason used when the control plane is in a pending state.
	ControlPlaneNotReadyReason = "ControlPlaneNotReady"
	// ControlPlaneDeletionInProgress Control Plane deletion is in progress state.
	ControlPlaneDeletionInProgress = "ControlPlaneDeletionInProgress"
	// ControlPlaneNotFoundReason used when the control plane couldn't be retrieved.
	ControlPlaneNotFoundReason = "ControlPlaneNotFound"
	// ControlPlaneDeletedReason used when the control plane has been deleted.
	ControlPlaneDeletedReason = "ControlPlaneDeleted"
)
View Source
const (
	PodDefaultName = "pod"
	PodDefaultCIDR = "10.0.128.0/18"
)
View Source
const (
	// ControlPlaneFinalizer allows OCIManagedControlPlaneFinalizer to clean up OCI resources associated with control plane
	// of OCIManagedControlPlane
	ControlPlaneFinalizer = "ocimanagedcontrolplane.infrastructure.cluster.x-k8s.io"
)
View Source
const (
	// MachinePoolFinalizer is the finalizer for the machine pool.
	MachinePoolFinalizer = "ocimachinepool.infrastructure.cluster.x-k8s.io"
)

Constants block.

View Source
const (
	// ManagedClusterFinalizer allows OCIManagedClusterReconciler to clean up OCI resources associated with OCIManagedCluster.
	ManagedClusterFinalizer = "ocimanagedcluster.infrastructure.cluster.x-k8s.io"
)
View Source
const (
	// ManagedMachinePoolFinalizer is the finalizer for managed machine pool.
	ManagedMachinePoolFinalizer = "ocimanagedmachinepool.infrastructure.cluster.x-k8s.io"
)

Constants block.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "infrastructure.cluster.x-k8s.io", Version: "v1beta1"}

	// 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 AddOnOptions added in v0.6.0

type AddOnOptions struct {
	// IsKubernetesDashboardEnabled defines whether or not to enable the Kubernetes Dashboard add-on.
	// +optional
	IsKubernetesDashboardEnabled *bool `json:"isKubernetesDashboardEnabled,omitempty"`

	// IsKubernetesDashboardEnabled defines whether or not to enable the Tiller add-on.
	// +optional
	IsTillerEnabled *bool `json:"isTillerEnabled,omitempty"`
}

AddOnOptions defines the properties that define options for supported add-ons.

func (*AddOnOptions) DeepCopy added in v0.6.0

func (in *AddOnOptions) DeepCopy() *AddOnOptions

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

func (*AddOnOptions) DeepCopyInto added in v0.6.0

func (in *AddOnOptions) DeepCopyInto(out *AddOnOptions)

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

type AdmissionControllerOptions added in v0.6.0

type AdmissionControllerOptions struct {

	// IsPodSecurityPolicyEnabled defines whether or not to enable the Pod Security Policy admission controller.
	// +optional
	IsPodSecurityPolicyEnabled *bool `json:"isPodSecurityPolicyEnabled,omitempty"`
}

AdmissionControllerOptions defines the properties that define supported admission controllers.

func (*AdmissionControllerOptions) DeepCopy added in v0.6.0

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

func (*AdmissionControllerOptions) DeepCopyInto added in v0.6.0

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

type CNIOptionEnum added in v0.6.0

type CNIOptionEnum string
const (
	VCNNativeCNI CNIOptionEnum = "OCI_VCN_IP_NATIVE"
	FlannelCNI   CNIOptionEnum = "FLANNEL_OVERLAY"
)

type ClusterOptions added in v0.6.0

type ClusterOptions struct {

	// AddOnOptions defines the properties that define options for supported add-ons.
	// +optional
	AddOnOptions *AddOnOptions `json:"addOnOptions,omitempty"`

	// AdmissionControllerOptions defines the properties that define supported admission controllers.
	// +optional
	AdmissionControllerOptions *AdmissionControllerOptions `json:"admissionControllerOptions,omitempty"`
}

ClusterOptions defines Optional attributes for the cluster.

func (*ClusterOptions) DeepCopy added in v0.6.0

func (in *ClusterOptions) DeepCopy() *ClusterOptions

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

func (*ClusterOptions) DeepCopyInto added in v0.6.0

func (in *ClusterOptions) DeepCopyInto(out *ClusterOptions)

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

type ClusterPodNetworkOptions added in v0.6.0

type ClusterPodNetworkOptions struct {

	// The CNI to be used are OCI_VCN_IP_NATIVE and FLANNEL_OVERLAY
	CniType CNIOptionEnum `json:"cniType,omitempty"`
}

ClusterPodNetworkOptions defines the available CNIs and network options for existing and new node pools of the cluster

func (*ClusterPodNetworkOptions) DeepCopy added in v0.6.0

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

func (*ClusterPodNetworkOptions) DeepCopyInto added in v0.6.0

func (in *ClusterPodNetworkOptions) DeepCopyInto(out *ClusterPodNetworkOptions)

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

type EndpointConfig added in v0.6.0

type EndpointConfig struct {
	// Flag to enable public endpoint address for the OKE cluster.
	// If not set, will calculate this using endpoint subnet type.
	// +optional
	IsPublicIpEnabled bool `json:"isPublicIpEnabled,omitempty"`
}

EndpointConfig defines the network configuration for access to the Cluster control plane.

func (*EndpointConfig) DeepCopy added in v0.6.0

func (in *EndpointConfig) DeepCopy() *EndpointConfig

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

func (*EndpointConfig) DeepCopyInto added in v0.6.0

func (in *EndpointConfig) DeepCopyInto(out *EndpointConfig)

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

type ImagePolicyConfig added in v0.6.0

type ImagePolicyConfig struct {

	// IsPolicyEnabled defines Whether the image verification policy is enabled.
	// +optional
	IsPolicyEnabled *bool `json:"isPolicyEnabled,omitempty"`

	// KeyDetails defines a list of KMS key details.
	// +optional
	KeyDetails []KeyDetails `json:"keyDetails,omitempty"`
}

ImagePolicyConfig defines the properties that define a image verification policy.

func (*ImagePolicyConfig) DeepCopy added in v0.6.0

func (in *ImagePolicyConfig) DeepCopy() *ImagePolicyConfig

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

func (*ImagePolicyConfig) DeepCopyInto added in v0.6.0

func (in *ImagePolicyConfig) DeepCopyInto(out *ImagePolicyConfig)

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

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 *infrastructurev1beta1.NetworkDetails `json:"instanceVnicConfiguration,omitempty"`

	// PlatformConfig defines the platform config parameters
	PlatformConfig *infrastructurev1beta1.PlatformConfig `json:"platformConfig,omitempty"`

	// AgentConfig defines the options for the Oracle Cloud Agent software running on the instance.
	AgentConfig *infrastructurev1beta1.LaunchInstanceAgentConfig `json:"agentConfig,omitempty"`

	// PreemptibleInstanceConfig Configuration options for preemptible instances.
	PreemptibleInstanceConfig *infrastructurev1beta1.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 *infrastructurev1beta1.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 *infrastructurev1beta1.LaunchOptions `json:"launchOptions,omitempty"`

	// InstanceOptions defines the instance options
	InstanceOptions *infrastructurev1beta1.InstanceOptions `json:"instanceOptions,omitempty"`

	// Is in transit encryption of volumes required.
	// +kubebuilder:default=true
	// +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

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 added in v0.7.0

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 added in v0.7.0

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

func (*InstanceSourceViaImageConfig) DeepCopyInto added in v0.7.0

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

type InstanceVnicConfiguration added in v0.7.0

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 added in v0.7.0

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

func (*InstanceVnicConfiguration) DeepCopyInto added in v0.7.0

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

type KeyDetails added in v0.6.0

type KeyDetails struct {

	// KmsKeyId defines the OCID of the KMS key that will be used to verify whether the images are signed by an approved source.
	// +optional
	KmsKeyId *string `json:"keyDetails,omitempty"`
}

KeyDetails defines the properties that define the kms keys used by OKE for Image Signature verification.

func (*KeyDetails) DeepCopy added in v0.6.0

func (in *KeyDetails) DeepCopy() *KeyDetails

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

func (*KeyDetails) DeepCopyInto added in v0.6.0

func (in *KeyDetails) DeepCopyInto(out *KeyDetails)

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

type KeyValue added in v0.6.0

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 added in v0.6.0

func (in *KeyValue) DeepCopy() *KeyValue

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

func (*KeyValue) DeepCopyInto added in v0.6.0

func (in *KeyValue) DeepCopyInto(out *KeyValue)

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

type KubernetesNetworkConfig added in v0.6.0

type KubernetesNetworkConfig struct {

	// PodsCidr defines the CIDR block for Kubernetes pods. Optional, defaults to 10.244.0.0/16.
	// +optional
	PodsCidr string `json:"isPodSecurityPolicyEnabled,omitempty"`

	// PodsCidr defines the CIDR block for Kubernetes services. Optional, defaults to 10.96.0.0/16.
	// +optional
	ServicesCidr string `json:"servicesCidr,omitempty"`
}

KubernetesNetworkConfig defines the properties that define the network configuration for Kubernetes.

func (*KubernetesNetworkConfig) DeepCopy added in v0.6.0

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

func (*KubernetesNetworkConfig) DeepCopyInto added in v0.6.0

func (in *KubernetesNetworkConfig) DeepCopyInto(out *KubernetesNetworkConfig)

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 NodeEvictionNodePoolSettings added in v0.6.0

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 added in v0.6.0

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

func (*NodeEvictionNodePoolSettings) DeepCopyInto added in v0.6.0

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

type NodePoolNodeConfig added in v0.6.0

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 added in v0.6.0

func (in *NodePoolNodeConfig) DeepCopy() *NodePoolNodeConfig

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

func (*NodePoolNodeConfig) DeepCopyInto added in v0.6.0

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 added in v0.6.0

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 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 added in v0.6.0

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

func (*NodePoolPodNetworkOptionDetails) DeepCopyInto added in v0.6.0

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

type NodeShapeConfig added in v0.6.0

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 added in v0.6.0

func (in *NodeShapeConfig) DeepCopy() *NodeShapeConfig

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

func (*NodeShapeConfig) DeepCopyInto added in v0.6.0

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 added in v0.6.0

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 added in v0.6.0

func (in *NodeSourceViaImage) DeepCopy() *NodeSourceViaImage

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

func (*NodeSourceViaImage) DeepCopyInto added in v0.6.0

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) 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.

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"`
}

OCIMachinePoolStatus defines the observed state of OCIMachinePool

func (*OCIMachinePoolStatus) DeepCopy

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 OCIManagedCluster added in v0.6.0

type OCIManagedCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   OCIManagedClusterSpec   `json:"spec,omitempty"`
	Status OCIManagedClusterStatus `json:"status,omitempty"`
}

OCIManagedCluster is the Schema for the ocimanagedclusters API.

func (*OCIManagedCluster) DeepCopy added in v0.6.0

func (in *OCIManagedCluster) DeepCopy() *OCIManagedCluster

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

func (*OCIManagedCluster) DeepCopyInto added in v0.6.0

func (in *OCIManagedCluster) DeepCopyInto(out *OCIManagedCluster)

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

func (*OCIManagedCluster) DeepCopyObject added in v0.6.0

func (in *OCIManagedCluster) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*OCIManagedCluster) Default added in v0.6.0

func (c *OCIManagedCluster) Default()

func (*OCIManagedCluster) GetConditions added in v0.6.0

func (c *OCIManagedCluster) GetConditions() clusterv1.Conditions

GetConditions returns the list of conditions for an OCICluster API object.

func (*OCIManagedCluster) GetControlPlaneEndpointDefaultEgressRules added in v0.6.0

func (c *OCIManagedCluster) GetControlPlaneEndpointDefaultEgressRules() []infrastructurev1beta1.EgressSecurityRuleForNSG

func (*OCIManagedCluster) GetControlPlaneEndpointDefaultIngressRules added in v0.6.0

func (c *OCIManagedCluster) GetControlPlaneEndpointDefaultIngressRules() []infrastructurev1beta1.IngressSecurityRuleForNSG

func (*OCIManagedCluster) GetLBServiceDefaultEgressRules added in v0.6.0

func (c *OCIManagedCluster) GetLBServiceDefaultEgressRules() []infrastructurev1beta1.EgressSecurityRuleForNSG

func (*OCIManagedCluster) GetLBServiceDefaultIngressRules added in v0.6.0

func (c *OCIManagedCluster) GetLBServiceDefaultIngressRules() []infrastructurev1beta1.IngressSecurityRuleForNSG

func (*OCIManagedCluster) GetPodDefaultEgressRules added in v0.6.0

func (c *OCIManagedCluster) GetPodDefaultEgressRules() []infrastructurev1beta1.EgressSecurityRuleForNSG

func (*OCIManagedCluster) GetPodDefaultIngressRules added in v0.6.0

func (c *OCIManagedCluster) GetPodDefaultIngressRules() []infrastructurev1beta1.IngressSecurityRuleForNSG

func (*OCIManagedCluster) GetWorkerDefaultEgressRules added in v0.6.0

func (c *OCIManagedCluster) GetWorkerDefaultEgressRules() []infrastructurev1beta1.EgressSecurityRuleForNSG

func (*OCIManagedCluster) GetWorkerDefaultIngressRules added in v0.6.0

func (c *OCIManagedCluster) GetWorkerDefaultIngressRules() []infrastructurev1beta1.IngressSecurityRuleForNSG

func (*OCIManagedCluster) SetConditions added in v0.6.0

func (c *OCIManagedCluster) SetConditions(conditions clusterv1.Conditions)

SetConditions will set the given conditions on an OCICluster object.

func (*OCIManagedCluster) SetupWebhookWithManager added in v0.6.0

func (c *OCIManagedCluster) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*OCIManagedCluster) ValidateCreate added in v0.6.0

func (c *OCIManagedCluster) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type.

func (*OCIManagedCluster) ValidateDelete added in v0.6.0

func (c *OCIManagedCluster) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type.

func (*OCIManagedCluster) ValidateUpdate added in v0.6.0

func (c *OCIManagedCluster) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.

type OCIManagedClusterList added in v0.6.0

type OCIManagedClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []OCIManagedCluster `json:"items"`
}

OCIManagedClusterList contains a list of OCIManagedCluster.

func (*OCIManagedClusterList) DeepCopy added in v0.6.0

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

func (*OCIManagedClusterList) DeepCopyInto added in v0.6.0

func (in *OCIManagedClusterList) DeepCopyInto(out *OCIManagedClusterList)

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

func (*OCIManagedClusterList) DeepCopyObject added in v0.6.0

func (in *OCIManagedClusterList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OCIManagedClusterSpec added in v0.6.0

type OCIManagedClusterSpec struct {

	// The unique ID which will be used to tag all the resources created by this Cluster.
	// The tag will be used to identify resources belonging to this cluster.
	// this will be auto-generated and should not be set by the user.
	// +optional
	OCIResourceIdentifier string `json:"ociResourceIdentifier,omitempty"`

	// IdentityRef is a reference to an identity(principal) to be used when reconciling this cluster
	// +optional
	IdentityRef *corev1.ObjectReference `json:"identityRef,omitempty"`

	// NetworkSpec encapsulates all things related to OCI network.
	// +optional
	NetworkSpec infrastructurev1beta1.NetworkSpec `json:"networkSpec,omitempty"`

	// Free-form tags for this resource.
	// +optional
	FreeformTags map[string]string `json:"freeformTags,omitempty"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	// +optional
	DefinedTags map[string]map[string]string `json:"definedTags,omitempty"`

	// Compartment to create the cluster network.
	// +optional
	CompartmentId string `json:"compartmentId"`

	// Region the cluster operates in. It must be one of available regions in Region Identifier format.
	// See https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm
	Region string `json:"region,omitempty"`

	// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane. This will not be set by the user, this will be updated by the Cluster Reconciler after OKe cluster has been created and the cluster has an endpoint address
	// +optional
	ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint"`
}

OCIManagedClusterSpec defines the desired state of OCI OKE Cluster

func (*OCIManagedClusterSpec) DeepCopy added in v0.6.0

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

func (*OCIManagedClusterSpec) DeepCopyInto added in v0.6.0

func (in *OCIManagedClusterSpec) DeepCopyInto(out *OCIManagedClusterSpec)

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

type OCIManagedClusterStatus added in v0.6.0

type OCIManagedClusterStatus struct {
	// +optional
	FailureDomains clusterv1.FailureDomains `json:"failureDomains,omitempty"`

	// AvailabilityDomains encapsulates the clusters Availability Domain (AD) information in a map
	// where the map key is the AD name and the struct is details about the AD.
	// +optional
	AvailabilityDomains map[string]infrastructurev1beta1.OCIAvailabilityDomain `json:"availabilityDomains,omitempty"`

	// +optional
	Ready bool `json:"ready"`
	// NetworkSpec encapsulates all things related to OCI network.
	// +optional
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

OCIManagedClusterStatus defines the observed state of OCICluster

func (*OCIManagedClusterStatus) DeepCopy added in v0.6.0

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

func (*OCIManagedClusterStatus) DeepCopyInto added in v0.6.0

func (in *OCIManagedClusterStatus) DeepCopyInto(out *OCIManagedClusterStatus)

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

type OCIManagedClusterTemplate added in v0.6.0

type OCIManagedClusterTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec OCIManagedClusterTemplateSpec `json:"spec,omitempty"`
}

OCIManagedClusterTemplate is the Schema for the ocimanagedclustertemplates API.

func (*OCIManagedClusterTemplate) DeepCopy added in v0.6.0

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

func (*OCIManagedClusterTemplate) DeepCopyInto added in v0.6.0

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

func (*OCIManagedClusterTemplate) DeepCopyObject added in v0.6.0

func (in *OCIManagedClusterTemplate) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OCIManagedClusterTemplateList added in v0.6.0

type OCIManagedClusterTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []OCIManagedClusterTemplate `json:"items"`
}

OCIManagedClusterTemplateList contains a list of OCIManagedClusterTemplate.

func (*OCIManagedClusterTemplateList) DeepCopy added in v0.6.0

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

func (*OCIManagedClusterTemplateList) DeepCopyInto added in v0.6.0

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

func (*OCIManagedClusterTemplateList) DeepCopyObject added in v0.6.0

func (in *OCIManagedClusterTemplateList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OCIManagedClusterTemplateResource added in v0.6.0

type OCIManagedClusterTemplateResource struct {
	Spec OCIManagedClusterSpec `json:"spec"`
}

OCIManagedClusterSpec describes the data needed to create an OCIManagedCluster from a template.

func (*OCIManagedClusterTemplateResource) DeepCopy added in v0.6.0

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

func (*OCIManagedClusterTemplateResource) DeepCopyInto added in v0.6.0

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

type OCIManagedClusterTemplateSpec added in v0.6.0

type OCIManagedClusterTemplateSpec struct {
	Template OCIManagedClusterTemplateResource `json:"template"`
}

OCIManagedClusterTemplateSpec defines the desired state of OCIManagedClusterTemplate.

func (*OCIManagedClusterTemplateSpec) DeepCopy added in v0.6.0

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

func (*OCIManagedClusterTemplateSpec) DeepCopyInto added in v0.6.0

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

type OCIManagedControlPlane added in v0.6.0

type OCIManagedControlPlane struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   OCIManagedControlPlaneSpec   `json:"spec,omitempty"`
	Status OCIManagedControlPlaneStatus `json:"status,omitempty"`
}

OCIManagedControlPlane is the Schema for the ocimanagedcontrolplane API.

func (*OCIManagedControlPlane) DeepCopy added in v0.6.0

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

func (*OCIManagedControlPlane) DeepCopyInto added in v0.6.0

func (in *OCIManagedControlPlane) DeepCopyInto(out *OCIManagedControlPlane)

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

func (*OCIManagedControlPlane) DeepCopyObject added in v0.6.0

func (in *OCIManagedControlPlane) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*OCIManagedControlPlane) Default added in v0.6.0

func (c *OCIManagedControlPlane) Default()

func (*OCIManagedControlPlane) GetConditions added in v0.6.0

func (c *OCIManagedControlPlane) GetConditions() clusterv1.Conditions

GetConditions returns the list of conditions for an OCICluster API object.

func (*OCIManagedControlPlane) SetConditions added in v0.6.0

func (c *OCIManagedControlPlane) SetConditions(conditions clusterv1.Conditions)

SetConditions will set the given conditions on an OCICluster object.

func (*OCIManagedControlPlane) SetupWebhookWithManager added in v0.6.0

func (c *OCIManagedControlPlane) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*OCIManagedControlPlane) ValidateCreate added in v0.6.0

func (c *OCIManagedControlPlane) ValidateCreate() error

func (*OCIManagedControlPlane) ValidateDelete added in v0.6.0

func (c *OCIManagedControlPlane) ValidateDelete() error

func (*OCIManagedControlPlane) ValidateUpdate added in v0.6.0

func (c *OCIManagedControlPlane) ValidateUpdate(old runtime.Object) error

type OCIManagedControlPlaneList added in v0.6.0

type OCIManagedControlPlaneList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []OCIManagedControlPlane `json:"items"`
}

OCIManagedControlPlaneList contains a list of OCIManagedControlPlane.

func (*OCIManagedControlPlaneList) DeepCopy added in v0.6.0

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

func (*OCIManagedControlPlaneList) DeepCopyInto added in v0.6.0

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

func (*OCIManagedControlPlaneList) DeepCopyObject added in v0.6.0

func (in *OCIManagedControlPlaneList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OCIManagedControlPlaneSpec added in v0.6.0

type OCIManagedControlPlaneSpec struct {
	// ID of the OKEcluster.
	// +optional
	ID *string `json:"id,omitempty"`

	// ClusterPodNetworkOptions defines the available CNIs and network options for existing and new node pools of the cluster
	// +optional
	ClusterPodNetworkOptions []ClusterPodNetworkOptions `json:"clusterPodNetworkOptions,omitempty"`

	// ImagePolicyConfig defines the properties that define a image verification policy.
	// +optional
	ImagePolicyConfig *ImagePolicyConfig `json:"imagePolicyConfig,omitempty"`

	// ClusterOptions defines Optional attributes for the cluster.
	// +optional
	ClusterOption ClusterOptions `json:"clusterOptions,omitempty"`

	// KmsKeyId defines the OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption. When used,
	// +optional
	KmsKeyId *string `json:"kmsKeyId,omitempty"`

	// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane.
	// +optional
	ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint"`

	// Version represents the version of the Kubernetes Cluster Control Plane.
	Version *string `json:"version,omitempty"`
}

OCIManagedControlPlaneSpec defines the desired state of OCIManagedControlPlane. The properties are generated from https://docs.oracle.com/en-us/iaas/api/#/en/containerengine/20180222/datatypes/CreateClusterDetails

func (*OCIManagedControlPlaneSpec) DeepCopy added in v0.6.0

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

func (*OCIManagedControlPlaneSpec) DeepCopyInto added in v0.6.0

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

type OCIManagedControlPlaneStatus added in v0.6.0

type OCIManagedControlPlaneStatus struct {
	// +optional
	Ready bool `json:"ready"`
	// NetworkSpec encapsulates all things related to OCI network.
	// +optional
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`

	// Version represents the current Kubernetes version for the control plane.
	// +optional
	Version *string `json:"version,omitempty"`

	// Initialized denotes whether or not the control plane has the
	// uploaded kubernetes config-map.
	// +optional
	Initialized bool `json:"initialized"`
}

OCIManagedControlPlaneStatus defines the observed state of OCIManagedControlPlane

func (*OCIManagedControlPlaneStatus) DeepCopy added in v0.6.0

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

func (*OCIManagedControlPlaneStatus) DeepCopyInto added in v0.6.0

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

type OCIManagedControlPlaneTemplate added in v0.6.0

type OCIManagedControlPlaneTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec OCIManagedControlPlaneTemplateSpec `json:"spec,omitempty"`
}

OCIManagedControlPlaneTemplate is the Schema for the OCIManagedControlPlaneTemplates API.

func (*OCIManagedControlPlaneTemplate) DeepCopy added in v0.6.0

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

func (*OCIManagedControlPlaneTemplate) DeepCopyInto added in v0.6.0

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

func (*OCIManagedControlPlaneTemplate) DeepCopyObject added in v0.6.0

func (in *OCIManagedControlPlaneTemplate) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OCIManagedControlPlaneTemplateList added in v0.6.0

type OCIManagedControlPlaneTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []OCIManagedControlPlaneTemplate `json:"items"`
}

OCIManagedControlPlaneTemplateList contains a list of OCIManagedControlPlaneTemplate.

func (*OCIManagedControlPlaneTemplateList) DeepCopy added in v0.6.0

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

func (*OCIManagedControlPlaneTemplateList) DeepCopyInto added in v0.6.0

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

func (*OCIManagedControlPlaneTemplateList) DeepCopyObject added in v0.6.0

func (in *OCIManagedControlPlaneTemplateList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OCIManagedControlPlaneTemplateResource added in v0.6.0

type OCIManagedControlPlaneTemplateResource struct {
	Spec OCIManagedControlPlaneSpec `json:"spec"`
}

OCIManagedControlPlaneSpec describes the data needed to create an OCIManagedControlPlane from a template.

func (*OCIManagedControlPlaneTemplateResource) DeepCopy added in v0.6.0

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

func (*OCIManagedControlPlaneTemplateResource) DeepCopyInto added in v0.6.0

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

type OCIManagedControlPlaneTemplateSpec added in v0.6.0

type OCIManagedControlPlaneTemplateSpec struct {
	Template OCIManagedControlPlaneTemplateResource `json:"template"`
}

OCIManagedControlPlaneTemplateSpec defines the desired state of OCIManagedControlPlaneTemplate.

func (*OCIManagedControlPlaneTemplateSpec) DeepCopy added in v0.6.0

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

func (*OCIManagedControlPlaneTemplateSpec) DeepCopyInto added in v0.6.0

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

type OCIManagedMachinePool added in v0.6.0

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 added in v0.6.0

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

func (*OCIManagedMachinePool) DeepCopyInto added in v0.6.0

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 added in v0.6.0

func (in *OCIManagedMachinePool) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*OCIManagedMachinePool) Default added in v0.6.0

func (m *OCIManagedMachinePool) Default()

func (*OCIManagedMachinePool) GetConditions added in v0.6.0

func (m *OCIManagedMachinePool) GetConditions() clusterv1.Conditions

GetConditions returns the list of conditions for an OCIMachine API object.

func (*OCIManagedMachinePool) SetConditions added in v0.6.0

func (m *OCIManagedMachinePool) SetConditions(conditions clusterv1.Conditions)

SetConditions will set the given conditions on an OCIMachine object.

func (*OCIManagedMachinePool) SetupWebhookWithManager added in v0.6.0

func (m *OCIManagedMachinePool) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*OCIManagedMachinePool) ValidateCreate added in v0.6.0

func (m *OCIManagedMachinePool) ValidateCreate() error

func (*OCIManagedMachinePool) ValidateDelete added in v0.6.0

func (m *OCIManagedMachinePool) ValidateDelete() error

func (*OCIManagedMachinePool) ValidateUpdate added in v0.6.0

func (m *OCIManagedMachinePool) ValidateUpdate(old runtime.Object) error

type OCIManagedMachinePoolList added in v0.6.0

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 added in v0.6.0

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

func (*OCIManagedMachinePoolList) DeepCopyInto added in v0.6.0

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

func (*OCIManagedMachinePoolList) DeepCopyObject added in v0.6.0

func (in *OCIManagedMachinePoolList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OCIManagedMachinePoolSpec added in v0.6.0

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"`

	// 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 added in v0.6.0

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

func (*OCIManagedMachinePoolSpec) DeepCopyInto added in v0.6.0

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

type OCIManagedMachinePoolStatus added in v0.6.0

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"`
}

OCIManagedMachinePoolStatus defines the observed state of OCIManagedMachinePool

func (*OCIManagedMachinePoolStatus) DeepCopy added in v0.6.0

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

func (*OCIManagedMachinePoolStatus) DeepCopyInto added in v0.6.0

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

type OCIManagedMachinePoolTemplate added in v0.6.0

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 added in v0.6.0

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

func (*OCIManagedMachinePoolTemplate) DeepCopyInto added in v0.6.0

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

func (*OCIManagedMachinePoolTemplate) DeepCopyObject added in v0.6.0

func (in *OCIManagedMachinePoolTemplate) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OCIManagedMachinePoolTemplateList added in v0.6.0

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 added in v0.6.0

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

func (*OCIManagedMachinePoolTemplateList) DeepCopyInto added in v0.6.0

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

func (*OCIManagedMachinePoolTemplateList) DeepCopyObject added in v0.6.0

func (in *OCIManagedMachinePoolTemplateList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OCIManagedMachinePoolTemplateResource added in v0.6.0

type OCIManagedMachinePoolTemplateResource struct {
	Spec OCIManagedMachinePoolSpec `json:"spec"`
}

OCIManagedMachinePoolSpec describes the data needed to create an OCIManagedMachinePool from a template.

func (*OCIManagedMachinePoolTemplateResource) DeepCopy added in v0.6.0

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

func (*OCIManagedMachinePoolTemplateResource) DeepCopyInto added in v0.6.0

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

type OCIManagedMachinePoolTemplateSpec added in v0.6.0

type OCIManagedMachinePoolTemplateSpec struct {
	Template OCIManagedMachinePoolTemplateResource `json:"template"`
}

OCIManagedMachinePoolTemplateSpec defines the desired state of OCIManagedMachinePoolTemplate.

func (*OCIManagedMachinePoolTemplateSpec) DeepCopy added in v0.6.0

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

func (*OCIManagedMachinePoolTemplateSpec) DeepCopyInto added in v0.6.0

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

type PlacementConfig added in v0.6.0

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 added in v0.6.0

func (in *PlacementConfig) DeepCopy() *PlacementConfig

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

func (*PlacementConfig) DeepCopyInto added in v0.6.0

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 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 VcnIpNativePodNetworkOptions added in v0.6.0

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 added in v0.6.0

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

func (*VcnIpNativePodNetworkOptions) DeepCopyInto added in v0.6.0

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