Role of openstack running kubernetes

8/18/2017

I want to understand the role of openstack when kubernetes is deployed on top of it. Will the user be able to access the underlying openstack layer in this case? (I mean to ask if user can create instances, networks and access any other openstack resource)Or will the user be only provided with Kubernetes offerings? Any link or answer would help. I don't seem to find the functionality part mentioned in any guide.

-- NSP
kubernetes
openstack

1 Answer

8/18/2017

Openstack's role in the k8s world is to provide k8s with instances and storage to do it's job, just like GCE and Azure.

Kubernetes tries to abstract underlying cloud infrastructure so applications can be ported from one cloud provider to another transparently.

k8s achieves this by defining abstractions like persistent volumes and persistent volume claims allowing a pod to define a requirement for storage without needing to state it requires a cinder volume directly.

There should be no need to access openstack directly from your kubernetes-based app unless you app needs to actually manage an openstack cluster in which case you can provide your openstack credentials to your app and access the openstack api.

-- Colin Ryan
Source: StackOverflow