Tuesday, 2019-05-21

*** rh-jelabarre has quit IRC01:31
*** hongbin has joined #openstack-kuryr03:00
*** gcheresh has joined #openstack-kuryr03:34
*** gcheresh has quit IRC03:41
*** gcheresh has joined #openstack-kuryr04:06
*** hongbin has quit IRC04:21
*** gcheresh has quit IRC04:28
*** janki has joined #openstack-kuryr04:37
*** gcheresh has joined #openstack-kuryr04:43
*** yboaron_ has joined #openstack-kuryr04:57
*** pcaruana has joined #openstack-kuryr05:02
*** pcaruana has quit IRC05:11
*** gcheresh has quit IRC05:16
*** gcheresh has joined #openstack-kuryr05:21
openstackgerritAlexey Perevalov proposed openstack/kuryr-kubernetes master: Use non local port for CNI Daemon  https://review.opendev.org/66015205:51
*** gcheresh has quit IRC06:11
*** jistr is now known as jistr|mtg06:20
*** yboaron_ has quit IRC06:23
*** gcheresh_ has joined #openstack-kuryr06:52
*** pcaruana has joined #openstack-kuryr07:21
*** maysams has joined #openstack-kuryr07:37
*** pcaruana has quit IRC07:39
openstackgerritNayan Deshmukh proposed openstack/kuryr-kubernetes master: [WIP] Implement batching for port create requests  https://review.opendev.org/66027407:58
aperevalovhi07:58
aperevalovhow did you manage to user ClusterIP from user pod created by kuryr-kubernetes.08:02
aperevalov?08:15
*** jistr|mtg is now known as jistr08:46
dulekaperevalov: I don't understand the question, can you elaborate?09:09
aperevalovyes, you can see you cluster ip by kubectl get all. There will be cluster ip, it uses in incluster config (https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster/#accessing-the-api-from-a-pod). kube-proxy is responsible for creating iptables rules, dnat and masquarading to be able to access cluster ip from user pod.09:13
aperevalovfor example kuryr-controller connects to k8s api by ip, kube-apiserver is listening. But there is another way, if you are in the user pod in pod subnet, this way is using kube-apiserver by service ip address in pod subnet (and service port).09:19
aperevalovofficial k8s python client names this was as incluster config. It reads environment variables KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT_HTTPS and tries to connect there.09:22
dulekaperevalov: Ah, okay! So in case of Kuryr we expect the deployment tool to create the LB.10:20
dulekFor the kubernetes API service.10:20
dulekAnd DevStack does it.10:20
dulekYou should have those env vars inside the pod.10:20
dulekAnd K8s API should be accessible through `curl https://kubernetes.default` if you have `enable_service coredns` in local.con f.10:21
dulekIn case of non-DevStack deployments it's up to installer - e.g. in OpenShift it's openshift-ansible that configures this.10:21
aperevalovdulek, thank you. I'l take a look into devstack installation.10:24
dulekaperevalov: https://github.com/openstack/kuryr-kubernetes/blob/master/devstack/plugin.sh#L215-L26210:26
*** snapiri has quit IRC11:03
*** ccamposr has quit IRC11:40
*** janki has quit IRC11:54
*** ccamposr has joined #openstack-kuryr12:14
*** ccamposr has quit IRC12:50
*** ccamposr has joined #openstack-kuryr12:53
*** janki has joined #openstack-kuryr13:11
*** gcheresh_ has quit IRC13:29
*** jchhatbar has joined #openstack-kuryr13:57
*** rh-jelabarre has joined #openstack-kuryr14:00
*** janki has quit IRC14:06
*** maysams has quit IRC14:06
*** ccamposr has quit IRC14:07
*** ccamposr has joined #openstack-kuryr14:07
*** ccamposr has quit IRC14:36
*** jchhatbar is now known as janki15:02
*** maysams has joined #openstack-kuryr15:30
*** janki has quit IRC15:55
*** aperevalov has quit IRC16:11

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