*** rh-jelabarre has quit IRC | 01:31 | |
*** hongbin has joined #openstack-kuryr | 03:00 | |
*** gcheresh has joined #openstack-kuryr | 03:34 | |
*** gcheresh has quit IRC | 03:41 | |
*** gcheresh has joined #openstack-kuryr | 04:06 | |
*** hongbin has quit IRC | 04:21 | |
*** gcheresh has quit IRC | 04:28 | |
*** janki has joined #openstack-kuryr | 04:37 | |
*** gcheresh has joined #openstack-kuryr | 04:43 | |
*** yboaron_ has joined #openstack-kuryr | 04:57 | |
*** pcaruana has joined #openstack-kuryr | 05:02 | |
*** pcaruana has quit IRC | 05:11 | |
*** gcheresh has quit IRC | 05:16 | |
*** gcheresh has joined #openstack-kuryr | 05:21 | |
openstackgerrit | Alexey Perevalov proposed openstack/kuryr-kubernetes master: Use non local port for CNI Daemon https://review.opendev.org/660152 | 05:51 |
---|---|---|
*** gcheresh has quit IRC | 06:11 | |
*** jistr is now known as jistr|mtg | 06:20 | |
*** yboaron_ has quit IRC | 06:23 | |
*** gcheresh_ has joined #openstack-kuryr | 06:52 | |
*** pcaruana has joined #openstack-kuryr | 07:21 | |
*** maysams has joined #openstack-kuryr | 07:37 | |
*** pcaruana has quit IRC | 07:39 | |
openstackgerrit | Nayan Deshmukh proposed openstack/kuryr-kubernetes master: [WIP] Implement batching for port create requests https://review.opendev.org/660274 | 07:58 |
aperevalov | hi | 07:58 |
aperevalov | how did you manage to user ClusterIP from user pod created by kuryr-kubernetes. | 08:02 |
aperevalov | ? | 08:15 |
*** jistr|mtg is now known as jistr | 08:46 | |
dulek | aperevalov: I don't understand the question, can you elaborate? | 09:09 |
aperevalov | yes, 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 |
aperevalov | for 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 |
aperevalov | official 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 |
dulek | aperevalov: Ah, okay! So in case of Kuryr we expect the deployment tool to create the LB. | 10:20 |
dulek | For the kubernetes API service. | 10:20 |
dulek | And DevStack does it. | 10:20 |
dulek | You should have those env vars inside the pod. | 10:20 |
dulek | And K8s API should be accessible through `curl https://kubernetes.default` if you have `enable_service coredns` in local.con f. | 10:21 |
dulek | In case of non-DevStack deployments it's up to installer - e.g. in OpenShift it's openshift-ansible that configures this. | 10:21 |
aperevalov | dulek, thank you. I'l take a look into devstack installation. | 10:24 |
dulek | aperevalov: https://github.com/openstack/kuryr-kubernetes/blob/master/devstack/plugin.sh#L215-L262 | 10:26 |
*** snapiri has quit IRC | 11:03 | |
*** ccamposr has quit IRC | 11:40 | |
*** janki has quit IRC | 11:54 | |
*** ccamposr has joined #openstack-kuryr | 12:14 | |
*** ccamposr has quit IRC | 12:50 | |
*** ccamposr has joined #openstack-kuryr | 12:53 | |
*** janki has joined #openstack-kuryr | 13:11 | |
*** gcheresh_ has quit IRC | 13:29 | |
*** jchhatbar has joined #openstack-kuryr | 13:57 | |
*** rh-jelabarre has joined #openstack-kuryr | 14:00 | |
*** janki has quit IRC | 14:06 | |
*** maysams has quit IRC | 14:06 | |
*** ccamposr has quit IRC | 14:07 | |
*** ccamposr has joined #openstack-kuryr | 14:07 | |
*** ccamposr has quit IRC | 14:36 | |
*** jchhatbar is now known as janki | 15:02 | |
*** maysams has joined #openstack-kuryr | 15:30 | |
*** janki has quit IRC | 15:55 | |
*** aperevalov has quit IRC | 16:11 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!