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

Way to predict the hash of created lbvservers? #632

Open
pbptaker opened this issue Feb 12, 2024 · 2 comments
Open

Way to predict the hash of created lbvservers? #632

pbptaker opened this issue Feb 12, 2024 · 2 comments

Comments

@pbptaker
Copy link

pbptaker commented Feb 12, 2024

We try to replace an ansible backed adc config using this product. We have several lb vservers where we use a backup-vserver as failover. If I want to specify this particular failover vserver we currently use the following annotation (which is working):

service.citrix.com/lbvserver: >-
{"backupvserver":"prefix-servicename_port_lbv_b3x6qzolfuhy3557f6doopsdfdddz52ce6","connfailover":"stateful"}

This particular string b3x6qzolfuhy3557f6doopsdfdddz52ce6 is not known before.
So in fact we have to apply the config twice. Once to learn the name of the backupverver, and once to add this name to the original vserver.

I tried to somehow predict this hash. Tried a base64 from the k8s-servicename (wrong).

I would like to know how this hash is being created. Using this I could prefill the backup server name. Thank you

@ankits123
Copy link
Contributor

@pbptaker just would like to know how many and how often the backup vserver is created .
I suppose if there is only one back up vserver then it would be better create it manually(just like default secret) and refer it in any ingress.
We will discuss this internally and get back. Please let us know on the above suggestion.

CC : @dheerajng

@pbptaker
Copy link
Author

Hi ankits123

Thanks.
Well we have about 25 vservers on which we have a backup-verver each. Doing things manually when we can do it automatically is not really an ideal solution in our opinion.

br

pbptaker

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

No branches or pull requests

2 participants