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

Doc Feedback: #166

Open
GeertsP opened this issue Sep 22, 2021 · 0 comments
Open

Doc Feedback: #166

GeertsP opened this issue Sep 22, 2021 · 0 comments

Comments

@GeertsP
Copy link

GeertsP commented Sep 22, 2021

Location : https://mg.docs.wso2.com/en/latest/install-and-setup/install-on-kubernetes/

Hi can someone enlighten me on how to get this example to work?

First remark is that the command listed on the webpage to do a microgateway build including docker/k8s artefacts
is incomplete : >micro-gw build <project_name> --deployment-config deployment.toml
This command only produces the jar file but nothing else , it turns out that a "--docker" flag needs to be added.
If I then run the command as follows:

micro-gw build Products --docker --deployment-config deployment.toml
It then at least tries to produce some docker artefacts however:

  1. There seems to be very minimal logging (basically none) so it is difficult to ascertain what happens
  2. If I screw up the file name after the --deployment-config flag nothing happens so I am uncertain whether this file and its content is used at all (see also previous point)
  3. I have a dockerhub repo which I tried to configure to the best of my knowledge in the toml file. Locally I have docker desktop running on win 10. However whatever I do the build keeps failing with the following error message :

error [docker plugin]: module [wso2/Products:3.2.0] unable to build docker image: connection refused to docker host

Since this setup is most likely used very often I hope someone can give this some time to troubleshoot this with me

Thanks

Peter Geerts

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

1 participant