Container Names
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:
- 0.3.0
- Started by
- Ryan Hallisey
- Completed by
- Ryan Hallisey
Related branches
Related bugs
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:/
Addressed by: https:/
Cleanup container names
Work Items
Work items:
rabbitmq: TODO
nova: TODO
neutron: TODO
glance: TODO
memcached: TODO
cinder: TODO
keystone: TODO
mariadb: TODO