This is a feature request to make the fleet-agent configuration more granular.
For example on GKE the fleet-agent metrics port 8080 is already bound when also running the agent in hostNetwork: true mode.
A user can edit the FleetAddonConfig.spec.cluster.agentEnvVars to configure a different port, however this will apply to all other Clusters.
I'm not entirely sure how this feature can be implemented.
Two ideas are:
- Simply make
FleetAddonConfig.spec.cluster a list. Different selectors will apply different configurations.
- Use special annotations on the CAPI Cluster to override configuration. (however this is going to be awkward to map things like
agentEnvVars.
This is a feature request to make the fleet-agent configuration more granular.
For example on GKE the fleet-agent metrics port
8080is already bound when also running the agent inhostNetwork: truemode.A user can edit the
FleetAddonConfig.spec.cluster.agentEnvVarsto configure a different port, however this will apply to all other Clusters.I'm not entirely sure how this feature can be implemented.
Two ideas are:
FleetAddonConfig.spec.clustera list. Different selectors will apply different configurations.agentEnvVars.