Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request for multiple Virtual Address's in a single CRD #2666

Closed
jmcalalang opened this issue Dec 8, 2022 · 1 comment · Fixed by #2727
Closed

Feature Request for multiple Virtual Address's in a single CRD #2666

jmcalalang opened this issue Dec 8, 2022 · 1 comment · Fixed by #2727

Comments

@jmcalalang
Copy link
Member

Title

Looking to have a single CRD definition for multiple virtual addresses, since cloud deployments could need multiple private addresses this would solve the need for two virtualservers deployed.

Description

I assumed reading the documentation that service_address would solve this, but looking into the schema this appears to just be an additional setting to the single virtual address. If this is actually possible, I have not been able to find an example on any F5 property.

Actual Problem

Maintaining two configuration files for one object is not a great way

Solution Proposed

AS3 accepts this as a string of addresses, that in turn become multiple virtual servers. CRD should be able to insert the same when crafting the as3 declaration

Something like:

apiVersion: cis.f5.com/v1
kind: VirtualServer
metadata:
  name: bigip-virtualserver-nginx
  namespace: nginx-ingress
  labels:
    f5cr: "true"
spec:
  virtualServerName: "ingresslink-calalang-net"
  serviceAddress: [{10.0.2.50, 10.0.2.51}]
  virtualServerHTTPSPort: 443
  tlsProfileName: bigip-calalang-net-tls
  httpTraffic: redirect
  pools:
    - monitor:
        interval: 20
        recv: ""
        send: "GET /\r\n"
        timeout: 10
        type: http
      path: /
      service: nginx-ingress
      servicePort: 80

Alternatives

Creating multiple CRD resources

Additional context

I thought maybe this class in CRD could do what I'm looking because the docs are worded that way. However, it only appears to just be an additional feature for the single address

https://clouddocs.f5.com/containers/latest/userguide/crd/virtualserver.html?highlight=serviceaddress

image

@trinaths
Copy link
Contributor

Created [CONTCNTR-3744] for internal PM tracking.

@trinaths trinaths added JIRA and removed untriaged no JIRA created labels Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants