Merged
Conversation
|
Commit 13d7eb6 does not contain "Signed-off-by". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/contributing/#developer-s-certificate-of-origin |
houndci-bot
reviewed
Feb 7, 2020
houndci-bot
reviewed
Feb 7, 2020
houndci-bot
reviewed
Feb 7, 2020
houndci-bot
reviewed
Feb 7, 2020
4fe88fa to
47a4807
Compare
47a4807 to
e3d039c
Compare
e3d039c to
ba48b37
Compare
Contributor
Author
|
test-me-please |
ba48b37 to
e589796
Compare
houndci-bot
reviewed
Feb 27, 2020
houndci-bot
reviewed
Feb 27, 2020
houndci-bot
reviewed
Feb 27, 2020
houndci-bot
reviewed
Feb 27, 2020
houndci-bot
reviewed
Feb 27, 2020
The concept of node specific IPAM and the relevant management required to do so has been part of pkg/eni and tightly coupled with it. This commit decouples the node management and base IPAM logic from pkg/eni and moves it into pkg/ipam to prepare support for additional IPAM backends. A couple of changes are required to do so: - Slight modifications to the calculations of needed addresses due to a split in code between pkg/ipam and pkg/eni - New tests in pkg/ipam/node_manager_test.go which does not assume interface creation is required prior to allocation and with removed address per interface limits. - The instances manager mock can be removed as the eni.InstancesManager now serves as the abstraction to the NodeManager and the NodeManager no longer requires an EC2 mock as all of those details are now isolated in pkg/eni. The existing tests in pkg/aws/eni/node_manager_test.go are mostly unchanged to verify that the refactoring does not change behavior of the existing ENI allocator. Signed-off-by: Thomas Graf <thomas@cilium.io>
This is a pure refactoring to move the CiliumNode update logic implementation out of being ENI specific. Signed-off-by: Thomas Graf <thomas@cilium.io>
Signed-off-by: Thomas Graf <thomas@cilium.io>
Contributor
Author
|
test-docs-please |
956b08e to
833b349
Compare
houndci-bot
reviewed
Feb 28, 2020
houndci-bot
reviewed
Feb 28, 2020
Contributor
Author
|
test-me-please |
Following the refactoring of the AWS ENI IPAM logic to be generic. This commit adds support for Azure IPAM. The function is similar to how AWS ENI mode operates with a couple of key differences: - A single interface provides enough IPs to host all local pods so support to create additional interfaces is not required. - The Azure API does not support allocating IP itself. It can only assign IPs to interfaces. The cilium-operator thus maintains a small allocator to keep track of available IPs in all subnets. In order to access the Azure API, a service principal is required. The credentials for the service principal is passed to the operator as environment variables or command line arguments. Signed-off-by: Thomas Graf <thomas@cilium.io>
Signed-off-by: Thomas Graf <thomas@cilium.io>
Add helm chart option to enable Azure support along with Documentation on how to use it. Add a concepts section to explain how Azure mode functions. Signed-off-by: Thomas Graf <thomas@cilium.io>
833b349 to
fa8aa88
Compare
Contributor
Author
|
test-me-please |
Contributor
Author
Ran |
Contributor
Author
|
test-docs-please |
tklauser
reviewed
Mar 2, 2020
tklauser
added a commit
that referenced
this pull request
Mar 2, 2020
As suggested in #10089 (comment) Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
aanm
pushed a commit
that referenced
this pull request
Mar 3, 2020
As suggested in #10089 (comment) Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
HadrienPatte
added a commit
that referenced
this pull request
Apr 2, 2026
Remove deprecated fields that have been unused for 5+ years: * Azure `AzureInterface.GatewayIP` (obsolete since v1.10, see #15182) * AWS `ENISpec.InstanceID` (obsolete since v1.8, see #10569) * AWS `ENISpec.{MinAllocate,PreAllocate,MaxAboveWatermark}` (obsolete since v1.8, see #10089) Signed-off-by: Hadrien Patte <hadrien.patte@datadoghq.com>
HadrienPatte
added a commit
that referenced
this pull request
Apr 2, 2026
Remove deprecated fields that have been unused for 5+ years: * Azure `AzureInterface.GatewayIP` (obsolete since v1.10, see #15182) * AWS `ENISpec.InstanceID` (obsolete since v1.8, see #10569) * AWS `ENISpec.{MinAllocate,PreAllocate,MaxAboveWatermark}` (obsolete since v1.8, see #10089) Signed-off-by: Hadrien Patte <hadrien.patte@datadoghq.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements IPAM using the Azure API similarly to how AWS ENI is currently supported:
The PR is split into two parts:
Part 1 - Refactoring of existing ENI code to prepare Azure IPAM:
Part 2 - Implementation of Azure IPAM
The function is similar to how AWS ENI mode operates with a couple of key differences:
This change is