/srv/irclogs.ubuntu.com/2017/11/27/#juju.txt

=== frankban|afk is now known as frankban
assafhi guys , im trying to deploy the canonical distro of kubernetes in an offline enviorment , currently im stuck with deploying kube-proxy snaps , i tried manually downloading and attaching the snaps to the kubernetes-worker resource but they serivces fails to start17:22
=== frankban is now known as frankban|afk
ryebotassaf: Hey, I can try to help you with that. Can we start with which snaps you downloaded and attached?17:51
ryebotassaf: I'd also like to refer you to this documentation: https://github.com/juju-solutions/bundle-canonical-kubernetes/wiki/Running-CDK-in-a-restricted-environment17:52
ryebotassaf: In particular, you may find the cdk-shrinkwrap tool helpful in your case.17:54
torontoyesIs it possible to use juju to deploy windows 10 using Maas?18:43
jose-phillipshi20:04
jose-phillipsis posible remove ceph from openstack juju charm?20:04
jose-phillipsand where the charms are stored?20:04
jose-phillipsto perform a modification?20:04
jamesbensonstokachu:ping21:18
jamesbensonryebot: ping21:19
ryebotjamesbenson: Something I can help with?21:20
jamesbensonryebot: I was wondering if you could provide some input on canonical k8s deploy21:21
ryebotjamesbenson: Yes, definitely21:22
jamesbensonryebot: It's completed (I think) the conjure up, all services are active, and in juju status everything is active and idle, however, the conjure up window hasn't gone away yet... I thought there was post conjure things that happened.21:22
jamesbensonryebot: I can send screen shots if you want21:22
jamesbensonryebot: In conjure-up it has a "Setting relationship kubeapi-load-balancer:apiserver <-> kuberneters-master:kube-api-endpoint"21:23
jamesbensonryebot: But has been there for a while now.... 1+ hr.21:24
ryebotalright21:24
* ryebot thinks21:24
ryebotjamesbenson: can you open up another terminal and take a look at `juju status`21:25
jamesbensonryebot : yeah, I'm actively looking at that as well21:26
ryebotjamesbenson: okay great, can you send me a pastebin of that?21:27
jamesbensonhttp://paste.ubuntu.com/26060543/21:27
ryebotperfect, one sec21:27
ryebotjamesbenson: it appears that everything has deployed successfully.21:28
ryebotjamesbenson: There may have been a hiccup in the conjureup output, but that looks good to me.21:28
jamesbensonhttps://snag.gy/liuxHj.jpg21:29
jamesbensonryebot: so where do I go from here then?21:29
=== petevg_afk is now known as petevg
jamesbensonryebot : kubectl get nodes21:29
ryebotjamesbenson: yeah, you can log into one of the boxes and go to town with kubectl21:30
ryebotjamesbenson: or copy out the kubeconfig and use kubectl locally21:31
jamesbensonryebot : do you have a command for that?  which node is it in?21:31
ryebotjamesbenson: all workers and masters will have a copy21:32
jamesbensonokay21:32
ryebot`juju ssh kubernetes-master/0`21:32
jamesbensonyep, found the config file21:32
jamesbensoncopied it locally21:32
jamesbensonryebot: having issues the command: kubectl --kubeconfig=~/.kube/config  (I made the dir & copied the config file here).  The command isn't valid it seems...21:36
ryebotjamesbenson: do you have kubectl in your path?21:37
ryebotie can you kubectl --help ?21:37
jamesbensonyes21:37
jamesbensonhttp://paste.ubuntu.com/26060596/21:38
jamesbensonryebot: that's the output when I issue the kubeconfig command above.21:39
ryebotjamesbenson: oh, it may not expand ~21:39
ryebotjamesbenson: try it with the absolute path21:39
jamesbensonok21:39
jamesbensonryebot: same issue21:40
jamesbensonubuntu@k8s:~/.kube$ kubectl --kubeconfig=/home/ubuntu/.kube/config |pastebinit21:41
jamesbensonhttp://paste.ubuntu.com/26060615/21:41
ryebotjamesbenson: alright hmm21:42
jamesbensoncan I safely kill the conjure-up screen?21:42
jamesbensonryebot: I actually deployed twice on two different machines... both are stuck on the conjure up screen with different status' but same juju status, active/idle21:43
jamesbensonryebot: The other machine says it's stuck at "Setting relation easyrsa:client <-> kubernetes-master:certificates21:43
jamesbenson"21:43
ryebotjamesbenson: I -think- so, but am not entirely sure - maybe stokachu can weigh in21:45
jamesbensonhttps://snag.gy/rUToJM.jpg21:45
ryebotjamesbenson: oh, I'm being silly - you'll need to tack a command onto that21:45
jamesbenson?21:45
ryebotjamesbenson: so, `kubectl --kubeconfig=... get po`21:45
jamesbensonok21:45
stokachurelations are there21:45
stokachuyou can kill conjure-up21:45
ryebotstokachu: thanks :)21:45
jamesbensonah yeah, get nodes worked21:46
stokachucory_fu: ^ i see this on internal testing ci as well, where the deployment in conjure-up will stop at setting relations21:46
jamesbensonis there a way to set the config so I dont' always have to include that?21:47
jamesbensonah, I guess when I moved it into that dir, it did it...21:47
stokachui think there is  an environment var21:47
jamesbensonkubectl get nodes works now without issue.21:47
stokachuwe also want to do some magic later on to merge the configs and have you switch by context21:48
stokachujust not done yet21:48
jamesbensonsweet, I'm still pretty new to k8s, so learning a lot.21:48
jamesbensonthank you stokachu and ryebot21:48
stokachunp21:48
stokachujamesbenson: hit us up in #conjure-up if you have any more specific questiosn around that21:48
jamesbensonout of curiousity, where are you guys based out of?  I'm always curious how ^_^21:48
cory_fustokachu: conjure-up stops, but the relations exist?  That sounds like the AllWatcher not seeing the relations come through.  Not sure if that we could handle that in libjuju in a reasonable way.  Maybe a timeout after which it re-inspects the complete model status?21:49
cory_fuSeems heavy-handed21:49
cory_fuWe've already21:49
stokachucory_fu: yea, it's why majority of the auto ci runs fail21:49
cory_fu*gotten complaints about pulling in the full model state on connect21:49
stokachujamesbenson: im EST21:49
cory_fu"complaints"21:49
cory_fucomments21:49
stokachu"suggestions"21:49
jamesbensonstokachuL nice I used to be in NY,  now in Tx21:50
=== admcleod_ is now known as admcleod

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!