Commit Graph

39 Commits

Author SHA1 Message Date
Tim St. Clair
f645d77f86 Clarify when pointers are used for optional types 2015-11-23 18:06:23 -08:00
k8s-merge-robot
8ce3f15165 Merge pull request #17377 from bgrant0607/docfix2
Auto commit by PR queue bot
2015-11-19 08:18:18 -08:00
Brian Grant
d625217285 Address feedback 2015-11-18 17:30:19 +00:00
Brian Grant
0141c53113 Add conventions about primitive types. 2015-11-17 15:18:17 +00:00
Tim Hockin
30e381e62a clarify experimental annotations doc 2015-11-16 10:52:26 -08:00
Tim Hockin
dab591b629 Run update-gendocs 2015-11-13 13:57:57 -08:00
Tim Hockin
c28ddf9ff8 Merge pull request #16197 from thockin/docs-nits
syntax is 'go' not 'golang'
2015-10-23 15:08:58 -07:00
Tim Hockin
76769d87f0 syntax is 'go' not 'golang' 2015-10-23 15:08:27 -07:00
dingh
b3f19128cd fix typo in api-converntions.md 2015-10-23 13:46:32 +08:00
k8s-merge-robot
6dc3dcf36a Merge pull request #15414 from thockin/exp-beta-annotations
Auto commit by PR queue bot
2015-10-20 17:45:32 -07:00
Eric Tune
a1549496ee Documented required/optional fields. 2015-10-19 11:16:24 -07:00
Tim Hockin
0bf5bfff5d update docs on experimental annotations 2015-10-14 15:31:37 -07:00
Mike Danese
8043c70304 fix incorrect merge MIME type in api-conventions doc 2015-10-12 11:35:30 -07:00
Clayton Coleman
363b616908 Expose exec and logs via WebSockets
Not all clients and systems can support SPDY protocols. This commit adds
support for two new websocket protocols, one to handle streaming of pod
logs from a pod, and the other to allow exec to be tunneled over
websocket.

Browser support for chunked encoding is still poor, and web consoles
that wish to show pod logs may need to make compromises to display the
output. The /pods/<name>/log endpoint now supports websocket upgrade to
the 'binary.k8s.io' subprotocol, which sends chunks of logs as binary to
the client. Messages are written as logs are streamed from the container
daemon, so flushing should be unaffected.

Browser support for raw communication over SDPY is not possible, and
some languages lack libraries for it and HTTP/2. The Kubelet supports
upgrade to WebSocket instead of SPDY, and will multiplex STDOUT/IN/ERR
over websockets by prepending each binary message with a single byte
representing the channel (0 for IN, 1 for OUT, and 2 for ERR). Because
framing on WebSockets suffers from head-of-line blocking, clients and
other server code should ensure that no particular stream blocks. An
alternative subprotocol 'base64.channel.k8s.io' base64 encodes the body
and uses '0'-'9' to represent the channel for ease of use in browsers.
2015-10-09 14:33:40 -04:00
Brian Grant
50acaa2259 Strengthen wording about status behavior. 2015-10-09 02:13:28 +00:00
Tim Hockin
cf1141220f Clarify experimental annotation format 2015-09-20 21:00:41 -07:00
Daniel Martí
586cb9126a Move pkg/util.Time to pkg/api/unversioned.Time
Along with our time.Duration wrapper, as suggested by @lavalamp.
2015-09-17 17:51:27 -07:00
Brian Grant
a21c8bcb37 A couple more naming conventions. 2015-09-15 18:24:02 +00:00
Brian Grant
97e505849f Start on expanding code expectations (aka "The bar") 2015-09-01 20:33:59 +00:00
Nikhil Jindal
b52eb159ec Merge pull request #13122 from bgrant0607/docfix3
Added more API conventions.
2015-08-24 17:54:24 -07:00
Brian Grant
165ca0df35 Added more API conventions. 2015-08-24 23:25:01 +00:00
Brian Grant
0b85045245 Add duration naming conventions. 2015-08-18 23:44:03 +00:00
Brian Grant
f04d721612 Update API conventions. Add kubectl conventions.
Ref #12322. Fixes #6797.
2015-08-14 01:32:38 +00:00
Mike Danese
fe6b15ba2f rewrite all links to issues to k8s links 2015-08-05 21:11:11 -07:00
Eric Paris
024208e39f Fix trailing whitespace in all docs 2015-07-30 20:41:30 -04:00
Alex Robinson
acd1bed70e Fix capitalization of Kubernetes in the documentation. 2015-07-20 14:39:36 -07:00
Brian Grant
8cfd3d669e Merge pull request #11551 from a-robinson/docs
Improve syntax highlighting for design and devel docs
2015-07-19 08:45:54 -07:00
Alex Robinson
68d6e3a8ae Replace `` with when emphasizing something inline in docs/ 2015-07-19 09:05:17 +00:00
Alex Robinson
b80c0e5177 Fix gendocs 2015-07-19 09:05:17 +00:00
Alex Robinson
4182c3b394 Improve devel docs syntax highlighting. 2015-07-19 08:54:49 +00:00
David Oppenheimer
d28a6656ae Merge pull request #11452 from thockin/docs-munge-headerlines
Munge headerlines
2015-07-17 15:52:08 -07:00
Tim Hockin
33f1862830 Run gendocs 2015-07-17 15:35:43 -07:00
Tim Hockin
6e4ec38f51 Make TOC munge include blank line before TOC 2015-07-17 15:06:54 -07:00
Abhi Shah
816f18a388 Merge pull request #11424 from lavalamp/mungePreformatted
Munge preformatted
2015-07-17 13:32:38 -07:00
Daniel Smith
f7873d2a1f apply changes 2015-07-17 11:04:46 -07:00
David Oppenheimer
2a26b7487e Various minor edits/clarifications to docs/admin/ docs.
Deleted docs/admin/namespaces.md as it was content-free and the topic is
already covered well in docs/user-guide/namespaces.md
2015-07-17 10:53:23 -07:00
Tim Hockin
542e13d2d3 Better scary message 2015-07-17 09:28:49 -07:00
Janet Kuo
2498f93938 MUNGE generated table of contents should strip comma 2015-07-16 23:21:09 -07:00
David Oppenheimer
8d5eb03c7b Move some docs from docs/ top-level into docs/{admin/,devel/,user-guide/}. 2015-07-14 22:07:44 -07:00