# Functions
LoadResourceConfig returns the Resource Configuration for all resources managed by the VPC Resource Controller.
No description provided by the author
ParseWinPDTargets parses config map for Windows prefix delegation configurations set by users.
# Constants
K8s Labels.
Trunk attaching status value.
No description provided by the author
EC2 Tags.
EC2 Tags.
EC2 Tags.
ControllerName is the name of the VPC Resource Controller.
EC2 Tags.
CustomNetworkingLabel is the label with the name of ENIConfig to be used by the node for custom networking.
No description provided by the author
API Server QPS.
DescribeNetworkInterfacesMaxResults defines the max number of requests to return for DescribeNetworkInterfaces API call.
No description provided by the author
No description provided by the author
HasTrunkAttachedLabel is the label denoting that the trunk ENI is attached to node or not.
in MB.
must be power of 2.
scaling < 1k nodes should be under 20 minutes.
No description provided by the author
EC2 API QPS for instance service client.
No description provided by the author
No description provided by the author
Default Configuration for IPv4 resource type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Default Configuration for IPv4 prefix resource type.
No description provided by the author
Since LeaderElectionNamespace and VpcCniConfigMapName may be different in the future.
No description provided by the author
No description provided by the author
MaxNodeConcurrentReconciles is the number of go routines that can invoke Reconcile in parallel.
No description provided by the author
EC2 Tags.
EC2 Tags.
EC2 Tags.
EC2 Tags.
NodeLabelOS is the Kubernetes Operating System label.
NodeLabelOS is the Kubernetes Operating System label used before k8s version 1.16.
Node termination finalizer on CNINode CRD.
K8s Labels.
No description provided by the author
OSLinux is the the linux Operating System.
OSWindows is the the windows Operating System.
Default Configuration for Pod ENI resource type.
ResourceNameIPAddress is the extended resource name for private IP addresses.
ResourceNameIPAddressFromPrefix is the resource name for prefix-deconstructed IP addresses, not a pod annotation.
ResourceNamePodENI is the extended resource name for Branch ENIs.
No description provided by the author
No description provided by the author
Events metadata They are used to identify valid events emitted from authorized agents.
EC2 Tags.
Events metadata They are used to identify valid events emitted from authorized agents.
EC2 API QPS for user service client Tested: 15 + 20 limits Tested: 15 + 8 limits (not seeing significant degradation from 15+20) Tested: 12 + 8 limits (not seeing significant degradation from 15+8) Larger number seems not make latency better than 12+8.
No description provided by the author
EC2 Tags.
No description provided by the author
No description provided by the author
Events metadata They are used to identify valid events emitted from authorized agents.
Events metadata They are used to identify valid events emitted from authorized agents.
Events metadata They are used to identify valid events emitted from authorized agents.
Events metadata They are used to identify valid events emitted from authorized agents.
VPCResourcePrefix is the common prefix for all VPC extended resources.
No description provided by the author
TODO: we will deprecate the confusing naming of Windows flags eventually.
No description provided by the author
No description provided by the author
these windows prefixed flags will be used for Windows support only eventully.
TODO: Should we always do this max retry no matter why it fails such deleted pods will also be retried 5 times, which could be an issue for large pods loads and high churning rate.
# Variables
CoolDownPeriod is the time to let kube-proxy propagates IP tables rules before assigning the resource back to new pod.
ENICleanUpInterval is the time interval between each dangling ENI clean up task.
# Structs
IPResourceCount contains the arguments for number of IPv4 resources to request.
ResourceConfig is the configuration for each resource type.
WarmPoolConfig is the configuration of Warm Pool of a resource.
# Type aliases
No description provided by the author