-
I apologize for my lack of knowledge, but I am trying to use your cluster-api-ipam-provider-in-cluster and have encountered some issues. Then I ran the following commands and confirmed that caip-in-cluster-system is running: Based on the README.md you provided, I created an inclusterippool-sample. Here are the specific details I used: Next, I tried to create a pod to verify that its IP address is within the inclusterippool, but it is clear that the pod's IP is not within the inclusterippool. Here is an example of the pod: I have reviewed the information you provided and did not see any indication that it can only be used in specific environments, such as AWS or vSphere. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey there. I think there is in fact a misunderstanding here. This IPAM provider is not intended for managing IP addresses of Pods within a cluster. It requires support from the infrastructure provider in order to be used. At the moment support is implemented in CAPV, and I have an open PR for CAPM3 as well. It is most useful for on-premise providers, but could also be used in a cloud environment. |
Beta Was this translation helpful? Give feedback.
-
Hi there |
Beta Was this translation helpful? Give feedback.
Hey there. I think there is in fact a misunderstanding here. This IPAM provider is not intended for managing IP addresses of Pods within a cluster.
Cluster API is about deploying entire clusters, and this IPAM provider can be used to assign IP addresses to Machines (which end up as Nodes in a deployed cluster) that are deployed by Cluster API. Have a look at the CAPI Proposal about the IPAM contract for more details.
It requires support from the infrastructure provider in order to be used. At the moment support is implemented in CAPV, and I have an open PR for CAPM3 as well. It is most useful for on-premise providers, but could also be used in a cloud environment.