Kolla Kubernetes Service Discovery

Registered by Serguei Bezverkhi on 2016-05-16

Due to a dynamic nature of IP allocation for PODs running in Kubernetes cluster, a service discovery mechanism must be used to interconnect different dependent services. Kubernetes offers dynamic dns functionality, but flexible service naming and port naming convention must be built in order to simplify deployment of OpenStack services in Kubernetes.

Blueprint information

Status:
Complete
Approver:
Steven Dake
Priority:
Essential
Drafter:
Serguei Bezverkhi
Direction:
Approved
Assignee:
Serguei Bezverkhi
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Ryan Hallisey on 2016-06-24
Completed by
Ryan Hallisey on 2016-08-29

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/kolla-kubernetes-service-discovery,n,z

Addressed by: https://review.openstack.org/317537
    blueprint kolla-kubernetes-service-discovery

Addressed by: https://review.openstack.org/321252
    WIP Adds Dynamic DNS functionality to k8s cluster

Addressed by: https://review.openstack.org/322447
    Adds --resolv-conf="" keyword to kubelet command line

Addressed by: https://review.openstack.org/325613
    Convert MariaDB to work without HostNetwork=True

Addressed by: https://review.openstack.org/326757
    Convert Memcached to work without HostNetwork=True

Addressed by: https://review.openstack.org/326763
    Convert RabbitMQ to work without HostNetwork=True

Addressed by: https://review.openstack.org/328567
    Convert Keystone to HostNetwork=False, Fix 2/3rds of bootstrap

Addressed by: https://review.openstack.org/329717
    Add documentation for setting up a local SkyDNS + Kube2Sky

Gerrit topic: https://review.openstack.org/#q,topic:bp/remove-net-host,n,z

Addressed by: https://review.openstack.org/333022
    Glance works without host network

Addressed by: https://review.openstack.org/333636
    Document briefly how services in k8s work and why 0.0.0.0 is OK.

Gerrit topic: https://review.openstack.org/#q,topic:bp/ansible-orchestration,n,z

Addressed by: https://review.openstack.org/335677
    WIP Adds ansible support to deploy skydns service

Addressed by: https://review.openstack.org/339273
    Split RabbitMQ management and service ports

Addressed by: https://review.openstack.org/341237
    Separate CLI commands into discrete bits of logic (smaller CLI commands)

Addressed by: https://review.openstack.org/342901
    WIP Adding dns service to kolla-kubernetes service list

Addressed by: https://review.openstack.org/343715
    Adding DNS deployment documentation

Kubernetes now includes DNS in most of its setup scripts/containers. We can leave the skydns container in place for a setup by hand.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.