diff options
| author | lixiaobing10051267 <li.xiaobing1@zte.com.cn> | 2016-07-22 15:12:06 +0800 |
|---|---|---|
| committer | lixiaobing10051267 <li.xiaobing1@zte.com.cn> | 2016-07-22 15:12:06 +0800 |
| commit | e5a36cd230620ee3337ff35d5dfbe91c40ed9766 (patch) | |
| tree | 9117c8a49da3f1d16b2526af314c34db64fd04e9 | |
| parent | b52fbc3170ea036c60d381b16560974dcf79653f (diff) | |
Give the complete and correct path to client/apiserver related
| -rw-r--r-- | daemon.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -195,15 +195,15 @@ some discussion of this topic). #### Client - Add support for DaemonSet commands to kubectl and the client. Client code was -added to client/unversioned. The main files in Kubectl that were modified are -kubectl/describe.go and kubectl/stop.go, since for other calls like Get, Create, +added to pkg/client/unversioned. The main files in Kubectl that were modified are +pkg/kubectl/describe.go and pkg/kubectl/stop.go, since for other calls like Get, Create, and Update, the client simply forwards the request to the backend via the REST API. #### Apiserver - Accept, parse, validate client commands -- REST API calls are handled in registry/daemon +- REST API calls are handled in pkg/registry/daemonset - In particular, the api server will add the object to etcd - DaemonManager listens for updates to etcd (using Framework.informer) - API objects for DaemonSet were created in expapi/v1/types.go and |
