The best course of action in the majority of these cases is to leave the animal alone. Surgery generally results in an animal which is going to need surgery if it becomes gravid again (the reproductive system is damaged by the surgery making passing eggs more difficult), so you're setting up another problem in the future, especially in the case of a Knob-tailed Gecko which is likely to produce eggs from retained sperm. And of course surgery has its own inherent risks and can often directly kill the animal.
Certainly not always, but most often, egg bound reptiles which are left alone will usually eventually get them out on their own, even if you have to wait until the eggs go bad, and generally this results in the full recovery of the animal.
Generally, the worst thing you can do is surgery. The second worst thing you can do is disturb the animal (handling etc, and especially taking it on a trip such as to a vet).
People usually want to intervene to assist when there is a problem but often they cause problems when there wasn't even one to begin with, and make it worse if there is one.
Your animal, your choice, but after decades of watching hundreds of people dealing with this problem in reptiles I've seen a very clear trend in the most likely path to success being to leave the animal alone and let nature do its thing. It's certainly what I do with my own animals and in cases of egg binding I've had personally (very few proportionately but when you work with thousands of animals you're going to see a fair few cases of it) where most people would get surgery, almost all of them pass the eggs and go on to have healthy lives. When I see people go for surgery, most of the animal survive but it's still multiples the fatality rate of animals left alone, and the future complication rate is very high.
Most keepers base their advice on the one or two cases they've personally had. Most vets will tell you to go for surgery because they're hardly going to say "Don't use my services, you'd just be paying me to make things worse, vets are an expensive waste of time/source of harm". Most people will advise you to go to a vet because 'they are the professionals'. Definitely risks either way, the only sure thing is paying for euthenasia (and even for that, I can do it at home far more humanely than a vet will charge money for... but why kill the lizard when it has a chance of recovery and if it doesn't, it's not going to be any more dead than if you deliberately killed it!).
Good luck with your gecko!