Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Consider adding `conjure-up deis` #520
Comments
|
Sounds like a good improvement - as I understand it, this involves installing client programs for helm and deis-workflow on the system that you're running conjure-up on, and then using those to spin up a set of deis pods on the k8s, as per that link, right? I'm thinking this fits best as an optional 'step' on the kubernetes spell (so |
battlemidget
self-assigned this
Dec 14, 2016
battlemidget
added
the
enhancement
label
Dec 14, 2016
|
I've been trying to get deis/helm to work (well just helm so far) and having a few issues that I think is reported here: Stemmed from: kubernetes/helm#1455 Ive got my environment setup:
However, trying to run a
@chuckbutler, any idea here? |
chuckbutler
commented
Dec 21, 2016
|
This was discovered by a community member. I think the culprit is the nginx load balancer if you have the api-lb deployed. If you remove that and instead use the k8s master => k8s worker relationship directly, this goes away. Can you give that a go (with kubernetes-core bundle) and see if that resolves the issue? I think in our efforts to support HA master before we landed the actual HA Master code, has introduced this problem with an incorrectly configured load-balancer vs what helm is expecting. This begs the notion that we should probably be using HAProxy as it has better support for these types of integration. |
|
@chuckbutler could you outline the steps I would need to run to experiment getting this setup to work? Right now im using the localhost provider with ceph as my backend storage. Is removing the load balancer something I need to do with kubectl or is that a juju command? |
battlemidget
modified the milestone:
later
Jan 30, 2017
chuckbutler
commented
Jan 31, 2017
|
If you've deployed kubernetes-core, no additional changes need to be made. HELM should "just work" at this point. If you're using CDK, you'll need to remove the api-load-balancer charm, and add the kube-api-endpoint relation between kubernetes-master and kubernetes-worker. This will cause the kubeconfig to regenerate properly, and you can then use that kubeconfig for HELM deployments. |
rahworkx
commented
Feb 10, 2017
•
|
@chuckbutler, we just applied your work around and are now stuck at registering at the deis cluster fqdn. Any suggestions for what to do? deis register deis.kjuju.domainame.com
Error: Get https://deis.kjuju.domainname.com/v2/: dial tcp 54.145.155.12:443: getsockopt: operation timed out |
chuckbutler
commented
Feb 10, 2017
•
|
This looks suspiciously like something didn't happen as we expected it to. https://kubernetes.io/docs/getting-started-guides/ubuntu/troubleshooting/#common-problems This should give you a good overview of how to "manually" fix the kubeconfig and get you moving with helm charts on CDK. If this is not the case, I certainly need to move you out of this bug and into the bundle-canonical-kubernetes issue tracker and start aggregating reasons why it might be failing and find the root cause. |
castrojo commentedDec 14, 2016
If
conjure-up kubernetesis "give me infrastructure" then we're still missing the nice developer experience. Ben and I were thinking it'd be great if we just gave people a fully working PaaS so after deployment developers can just get to work:So ... https://deis.com/docs/workflow/installing-workflow/
The idea being
conjure-up deiswould give you canonical-kubernetes, and then conjure-up would follow those steps to get deis up and running, help the user create a new user so that they can start deploying applications right away.We'd need to consult with the deis folks to do more production-grade things, but I think this would be a great proof of concept of getting someone from zero-to-paas quickly.