Container Names

Registered by Kevin Fox

Each container has a name separate from the pod name. Our pod names are descriptive so it doesn't make too much sense to call them the same name as the pod:

kubectl exec --it neutron-l3-agent -c neutron-l3-agent /bin/bash

Its worse when you have multiple containers in the same pod as you must use the -c <containername> notation to get logs/exec in.

I'm proposing we change the container name to something simple, such as 'main' so it is always consistent that the main container inside a pod is named main. supporting containers (sidecars) can then easily be added with other simple names such as logging.

Blueprint information

Status:
Complete
Approver:
Ryan Hallisey
Priority:
Low
Drafter:
Kevin Fox
Direction:
Approved
Assignee:
Kevin Fox
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 0.3.0
Started by
Ryan Hallisey
Completed by
Ryan Hallisey

Related branches

Sprints

Whiteboard

This is good low hanging fruit. To make this work go into each pod/rc/service and change to the same. --rhallisey

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

Addressed by: https://review.openstack.org/368365
    Cleanup container names

(?)

Work Items

Work items:
rabbitmq: TODO
nova: TODO
neutron: TODO
glance: TODO
memcached: TODO
cinder: TODO
keystone: TODO
mariadb: TODO

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.