It looks like we can just publish it using GitHub pages
https://gohugo.io/hosting-and-deployment/hosting-on-github/
Once we do that we could probably setup some redirects for kubeflow.org and or docs.kubeflow.org
Another option would be netlify https://gohugo.io/hosting-and-deployment/hosting-on-netlify/ One of the nice things is you have CD for draft and prod.
Do netlify/gh pages provide ssl support?
On Fri, Apr 20, 2018 at 4:39 PM Carol Willing notifications@github.com
wrote:
Another option would be netlify
https://gohugo.io/hosting-and-deployment/hosting-on-netlify/ One of the
nice things is you have CD for draft and prod.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kubeflow/website/issues/5#issuecomment-383248337, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAwpFaV8ZBwRnhI2fvadGwhOMJIV8yyCks5tqnGXgaJpZM4TeM_Z
.>
Ankush Agarwal
Software Engineer, Cloud ML
@ankushagarwal Yep. Let's Encrypt https://www.netlify.com/docs/ssl/#netlify-certificates
Personally, I prefer netlify since it supports CI. It could generate a preview for each PR and it could help us to accelerate review process.
SGTM.
Hi
Any progress here?
We could refer to https://github.com/kubernetes/website for the usage of netlify.
We need to get certain approvals on our side in order to launch this; we are working on it.
FWIW github pages now has https support https://blog.github.com/2018-05-01-github-pages-custom-domains-https/
We could use GitHub Pages for prod and Netlify for CI if you want. But I prefer to do CI/CD all in Netlify.
BTW, https://github.com/gaocegege/website/pull/1 uses Netlify to CI and we can see the preview for the PR: https://deploy-preview-1--kubeflow-website-dev.netlify.com/
Could you please enable Netlify for the repo? And I could help to setup the config to activate CI.
@gaocegege Can you send a GitHub request to enable Netify on this repository? Or send me instructions on how to enable netify for this repository? I couldn't find a link.
@jlewi
You could sign up an account on netlify and enable the repository, I can not send the request since I can not access the repository on netlify or on GitHub settings page.
Thanks @willingc
We're waiting on some approvals on our end; as soon as those are taken care of I can look into setting it up.
/priority p1
I've enabled netify and configured continuous deployment. Its supposed to be published to
https://competent-brattain-de2d6d.netlify.com/
But that's serving 404s.
My conjecture is that we need #9 to provide a hugo config.
I still need to setup a custom domain and SSL.
If Kubernetes is using netify I think that's a good reason to use netify.
@jlewi It looks like all is up and running now on your demo site.
I will try to get it published to
www.kubeflow.org
and kubeflow.org
this week.
Created a CNAME record to map www.kubeflow.org to competent-brattain-de2d6d.netlify.com per the netify instructions
https://www.netlify.com/docs/custom-domains/
The instructions recommend designating www.kubeflow.org as the primary domain to redirect kubeflow.org to it but I'm not sure how to do that.
Netlify docs recommend creating an A record for .kubeflow.org that points as netlify loadbalancers
kubeflow.org A 104.198.14.52
As a way of doing the redirection. I created that record but it doesn't look like that address is returned by nslookup; maybe it takes time to propogate?
It looks like https should be easy to setup once we have the DNS registration for kubeflow.org properly configured.
Looks like it propogated.
https is enabled. I also forced all traffic to be https.
https://www.kubeflow.org
if you want to try it out.
Most helpful comment
Thanks @willingc
We're waiting on some approvals on our end; as soon as those are taken care of I can look into setting it up.