Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

Ability to specify a cidr for a virtual_ipaddress #86

Open
schplat opened this issue Mar 12, 2019 · 0 comments
Open

Ability to specify a cidr for a virtual_ipaddress #86

schplat opened this issue Mar 12, 2019 · 0 comments

Comments

@schplat
Copy link

schplat commented Mar 12, 2019

We have a unique constraint placed on us by a provider. We have two separate networks that are in the same VLAN. In order to make routing work correctly, the ability to set the virtual_ipaddress to match that network's subnet would be the ideal solution, ideally through a config map.

Something along the lines of:

apiVersion: v1
kind: ConfigMap
metadata:
  name: vip-configmap
data:
  10.0.0.10: ""
  vip_cidr: 27

resulting in:

  virtual_ipaddress {
    10.0.0.10/27
  }

inside the container's /etc/keepalived.conf, which is a valid keepalived configuration.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant