Closed chicco785 closed 6 years ago
Hi @chicco785,
This one is already a well-known bug from the Gravitee team, but thanks for sharing links. IMHO, if we have to apply such fix, it must be done for a certain period only (I did not have a look to Netty roadmap), to wait for the bug to be fixed by the Netty team. So we can apply the change for next version (1.13) but it will be removed in a near future to move again to Netty DNS resolver.
Also, you talk about k8s. We are thinking about providing all required descriptors to support Gravitee.io on k!s. Perhaps you can help us and share some parts with us ? Your help will be greatly appreciated!
Thanks a lot.
HI @brasseld,
I have a sort of helm chart (some aspects may be custom, due to the need for example to have a custom image to solve the dns issue).
I am happy to share it. Where and how?
Thx, Federico
Hi @chicco785
There are already some work around Gravitee.io and Openshift support: https://github.com/barkbay/openshift-ansible-gravitee I think the best to start would be to create your own github repository to push your stuff and then we will exchange together about next steps.
WDYT ?
Fair enough, given that the official way of “packaging” for Kubernetes is helm charts, I will fork the official kubernetes charts repo and add my gravitee templates under incubator. Then you can review them, and once you think they are good, we can make a pull request to the official repo.
Is that good?
Il giorno 2 feb 2018, alle ore 18:17, Brassely David notifications@github.com ha scritto:
Hi @chicco785
There are already some work around Gravitee.io and Openshift support: https://github.com/barkbay/openshift-ansible-gravitee I think the best to start would be to create your own github repository to push your stuff and then we will exchange together about next steps.
WDYT ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
LGTM, perfect!
Upgrading Vert.x to 3.5.1 fix the issue.
Will be done in 1.14.x : https://github.com/gravitee-io/issues/issues/1092
Hello @chicco785
What about k8s support ?
Cheers
Hi @chicco785 , I am interested in your helm chart to deploy gravitee on kubernetes. Would you be ok to share it with me? Have you created a repo maybe? I could not find anything under your profile.
hi pierrick
due to a project requirement we are using gitlab for it. my plan was to clean it up and make it a proper chart. if you are in a rush, i will just copy it somewhere.
On 22 June 2018 at 16:54, Pierrick Lozach notifications@github.com wrote:
Hi @chicco785 https://github.com/chicco785 , I am interested in your helm chart to deploy gravitee on kubernetes. Would you be ok to share it with me? Have you created a repo maybe? I could not find anything under your profile.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gravitee-io/issues/issues/1040#issuecomment-399470297, or mute the thread https://github.com/notifications/unsubscribe-auth/AAvcAk_xddYey1kygsR-pIdZNBGs_wqFks5t_QUlgaJpZM4RufXQ .
Thanks @chicco785 . I would definitely appreciate if you could send me a copy. I can help you clean it up too.
@chicco785 can you push the code / conf files into a dedicated branch in the new repository gravitee-kubernetes ? I will ask the other guys to do so, it will be a good starting point to merge all of them and make a proper chart.
thanks a lot.
as mentioned in the other ticket, it seems I don't have access to any action on the repo.
On 26 June 2018 at 12:58, Brassely David notifications@github.com wrote:
@chicco785 https://github.com/chicco785 can you push the code / conf files into a dedicated branch in the new repository gravitee-kubernetes ? I will ask the other guys to do so, it will be a good starting point to merge all of them and make a proper chart.
thanks a lot.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gravitee-io/issues/issues/1040#issuecomment-400251772, or mute the thread https://github.com/notifications/unsubscribe-auth/AAvcAjHSPq8gOGqPpQ8y9S3PgoJUT3a3ks5uAgXFgaJpZM4RufXQ .
I've just pushed a first commit.
Tell me if it's working.
May I close this issue to avoid duplicates on the same subject ?
(y)
On 26 June 2018 at 16:14, Brassely David notifications@github.com wrote:
May I close this issue to avoid duplicates on the same subject ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gravitee-io/issues/issues/1040#issuecomment-400302988, or mute the thread https://github.com/notifications/unsubscribe-auth/AAvcAm25veX881a48pePOdf5Rr-02hsPks5uAjOdgaJpZM4RufXQ .
Expected Behavior
When an endpoint for an API is registered, Gravitee should be able to resolve it.
Current Behavior
DNS resolution fails, because netty version used by vert.x 3.5 does not support the advanced dns configuration created by k8s in resolv.conf on container deployment, as documented here: https://github.com/eclipse/vert.x/issues/2031
Possible Solution
Include the following option in the bash scripts launching gravitee, to disable vert.x dns resolution and use the operating system one:
full code for the gateway (for api manager, you need to apply the same change):
Steps to Reproduce (for bugs)
I can provide an example chart. But the solution (tested) is already above. So, I am not sure it is needed (and I am bit in overloaded to package the code). Still, if relevant for the community, I can put later on a pull request with the helm chart somewhere (where?).
Context
Trying to run gravitee cluster on k8s.
Your Environment