Commit 123c9ceb authored by lixiaobing10051267's avatar lixiaobing10051267

Give the complete and correct path to client/apiserver related

parent ee9de645
...@@ -195,15 +195,15 @@ some discussion of this topic). ...@@ -195,15 +195,15 @@ some discussion of this topic).
#### Client #### Client
- Add support for DaemonSet commands to kubectl and the client. Client code was - 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 added to pkg/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, 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 and Update, the client simply forwards the request to the backend via the REST
API. API.
#### Apiserver #### Apiserver
- Accept, parse, validate client commands - 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 - In particular, the api server will add the object to etcd
- DaemonManager listens for updates to etcd (using Framework.informer) - DaemonManager listens for updates to etcd (using Framework.informer)
- API objects for DaemonSet were created in expapi/v1/types.go and - API objects for DaemonSet were created in expapi/v1/types.go and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment