-
Notifications
You must be signed in to change notification settings - Fork 244
FIX #126 : helm charts #127
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #127 +/- ##
==========================================
+ Coverage 63.46% 63.56% +0.09%
==========================================
Files 24 24
Lines 2116 2116
==========================================
+ Hits 1343 1345 +2
+ Misses 618 617 -1
+ Partials 155 154 -1
Continue to review full report at Codecov.
|
@GSokol Hi! thank you for your contribution! At a first glance, could you please remove the accidental swap file .ingress.yaml.swp? :) Thanks! I'll review some more later on. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments and questions regarding the config files.
To be fair, it did start up the Gaia after deploy.
2018-10-16T19:25:11.506Z [WARN ] Gaia: using auto-generated key to sign jwt tokens, do not use in production
2018-10-16T19:25:11.675Z [INFO ] Gaia: vault file doesn't exist. creating...
⇨ http server started on [::]:8080
Makefile
Outdated
@@ -29,3 +32,6 @@ test-cover: | |||
go test -v ./... --coverprofile=cover.out | |||
|
|||
release: compile_frontend static_assets compile_backend | |||
|
|||
deploy: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rename this one to deploy-kube
or something as just deploy
is too ambiguous and could mean anything.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, might be prudent to add a dry-run option.
Testing:
@GSokol So um.. I don't have the ingress provider. EDIT oh so I have to create that on my own. Ah.. |
@GSokol yeah it's not working. I enabled ingress, plus refrained from using dnsmasq. I edited my etc host file to contain it. You are missing one more step or you did something that is not described here. :) http://gaia.k8s.dev -- trying to call this redirects to HTTPS which I don't know why because the rules aren't saying that. The ingress provider isn't created unless I do some magic. Which is I guess fine in some case? Is it created for you or are you doing that by hand somehow? |
@Skarlso I really do not remember. I use version 0.25.0. About https -- it seems to me, that's google chrome's problem: kubernetes/ingress-nginx#668. |
@Skarlso Oh, sorry! I've found my tpls! Just several minutes! |
@GSokol There we go. :P Nice. :) I'll give this a whirl once I get home. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@GSokol Fantastic work! Now I could make it work, and everything is working fine. I have a few other modification changes but they are really tiny. :) After that we can merge this baby. Thank you for your perseverance!
@GSokol could you please add the scope as well to the ingress for gaia namespace? That seems to be missing form the commit you made. 😊 |
@GSokol this stuff: If you don't do that, that means it will handle everything everywhere. Thus if you have an ingress and you need it only for one namespace you specify a scope. And then you can have multiple ingresses for different scopes. |
@Skarlso It's more useful to have only one ingress-controller, that looks for all ingress configs in all namespaces and if you want to disable one, you may do it using helm templates:
That's because of ingress-controller is shared resource between different services (and namespaces). |
On a large project you can have several with different settings. https://github.com/helm/charts/tree/master/stable/nginx-ingress Here, if you look for scope that's what it defines. Also, this: https://github.com/nginxinc/kubernetes-ingress/tree/master/examples/multiple-ingress-controllers Also, this: https://kubernetes.github.io/ingress-nginx/deploy/ Where this reads...:
so, normally, I would like to avoid putting an ingress control into a cluster which uses multiple ones that will catch every namespace. Gaia could maybe be deployed into a cluster which runs several things. |
@GSokol Would you like to change something else, or can I merge this? :) |
No description provided.