Merge pull request #11999 from brendandburns/attach2

Add support for attach to kubectl
This commit is contained in:
Mike Danese
2015-07-31 12:51:08 -07:00
25 changed files with 1257 additions and 43 deletions

View File

@@ -478,6 +478,7 @@ func (m *Master) init(c *Config) {
// TODO: Factor out the core API registration
m.storage = map[string]rest.Storage{
"pods": podStorage.Pod,
"pods/attach": podStorage.Attach,
"pods/status": podStorage.Status,
"pods/log": podStorage.Log,
"pods/exec": podStorage.Exec,