Mike Danese
ae1c8e55ef
Merge pull request #11737 from thockin/cleanup-remove-v1beta3
...
Remove v1beta3
2015-07-24 10:25:56 -07:00
Wojciech Tyczynski
fdb3f45077
Extract EtcdHelper interface
2015-07-24 09:28:02 +02:00
Vish Kannan
0a715a72f1
Merge pull request #10464 from jiangyaoguo/reflector-in-proxy
...
replace Reflector in kube-proxy
2015-07-23 18:01:29 -07:00
nikhiljindal
b0dbb318fe
Extract out the versionize docs part in a separate script
2015-07-23 17:56:40 -07:00
Vish Kannan
2a5a6b99cb
Merge pull request #10635 from smarterclayton/cloud_provider_should_err
...
Cloud provider should return an error
2015-07-23 17:50:45 -07:00
Tim Hockin
1c3233a1d4
Remove v1beta3
2015-07-23 17:21:27 -07:00
Vish Kannan
a3985e36a9
Merge pull request #11499 from JanetKuo/docs-example-syncer
...
Implement mungedocs example syncer
2015-07-23 14:11:13 -07:00
Casey D
aeb7dc6b30
Allow specification of network plugins directory when starting kubelet
2015-07-23 11:21:39 -07:00
Wojciech Tyczynski
ee92aa3897
Prepare for extracting EtcdHelper interface
2015-07-23 09:37:39 +02:00
Janet Kuo
6778f7f103
Implement mungedocs example syncer
2015-07-20 13:23:19 -07:00
Tim Hockin
8172551763
Fix the munger for code blocks - ticks at start of line
2015-07-18 14:06:08 -07: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
aacc4c864c
Add a munger for header lines
2015-07-17 15:34:00 -07:00
Tim Hockin
6e4ec38f51
Make TOC munge include blank line before TOC
2015-07-17 15:06:54 -07:00
Daniel Smith
2c046685f6
fix util_test.go
2015-07-17 12:02:35 -07:00
Daniel Smith
b563bb3760
fix unversioned test
2015-07-17 11:58:50 -07:00
Daniel Smith
2a112a0004
preformat checker
2015-07-17 11:04:46 -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
Brian Grant
786b59427d
Merge pull request #11400 from lavalamp/munger
...
Add absolute path link checking to munger
2015-07-16 22:50:14 -07:00
Daniel Smith
4d1bf3a0ca
absolute link checking
2015-07-16 16:23:19 -07:00
Tim Hockin
f7512d007b
Add munger to verify kubectl -f targets, fix docs
2015-07-16 15:39:45 -07:00
Eric Tune
f1c7915d71
Merge pull request #11325 from JanetKuo/toc
...
Make MUNGE generated TOC bookmark work for symbols
2015-07-15 12:56:37 -07:00
Janet Kuo
de755bf59b
Make MUNGE generated table of contents (TOC) bookmark work when there are symbols in the headline
2015-07-15 11:26:51 -07:00
Mike Danese
d4d99deb97
make mungedoc exit 1 if manual changes are needed and wire up erro message.
2015-07-15 11:20:11 -07:00
Tim Hockin
6277801f82
Change warning.png to not go through a redirect
2015-07-14 17:28:10 -07:00
Tim Hockin
c4953c6287
Add an image to unversioned warnings
2015-07-14 15:28:59 -07:00
Daniel Smith
bf77ecc3a9
Various munger changes
...
* Add analytics munger w/ munge heading
* More link autofixes
* Allow running a subset of munges
* Fix repo root detection
* Only process non-preformatted blocks
* Gendocs no longer adds the analytics link; mungedocs does that in a
second pass.
2015-07-13 17:47:48 -07:00
Eric Tune
950b11f198
Ignore comments in code when generating ToC.
2015-07-13 15:53:05 -07:00
Tim Hockin
ad8f8731b6
Use a common set of tag prefixes for munges
...
All munges now start with `<!-- BEGIN MUNGE:` and end with `<!-- END MUNGE:`.
This lets me (in a followup) filter them better to normalize contents during
verification of generated docs.
2015-07-13 11:23:07 -07:00
Tim Hockin
8fceb754d8
Add 'warning: is unversioned' header to all docs
...
Mungedocs will keep this updated in head, and it will get stricken from
releases.
2015-07-13 11:23:07 -07:00
Zach Loafman
5c894b765b
Fix mungedocs for absolute paths
...
chdir into the parent of the docs directory, then walk docs.
Fixes #11111
2015-07-11 13:19:55 -07:00
Brendan Burns
9482487fe7
Merge pull request #11096 from thockin/docs-munge-infra
...
Docs munge infrastructure
2015-07-10 20:17:55 -07:00
Rohit Jnagal
0636214d5a
Merge pull request #11086 from thockin/docs-munge-run-all
...
Run all munges on all docs
2015-07-10 19:15:08 -07:00
Tim Hockin
8ff8559c4c
Add util functions
2015-07-10 17:13:19 -07:00
Tim Hockin
95cd66d3a0
use 'lines []string' for updateMacroBlock
2015-07-10 17:13:19 -07:00
Tim Hockin
2e781fed49
Break util func into a new file
2015-07-10 17:13:19 -07:00
Tim Hockin
84ad1792ea
Run all munges on all docs
...
Rather than terminating, Collect the errors and print them per-file-per-munge.
2015-07-10 17:13:19 -07:00
Rohit Jnagal
9544837e03
Merge pull request #11078 from dchen1107/config
...
Change kubelet flag --max-pods default value to 40 to match v1.0 roadmap
2015-07-10 16:29:01 -07:00
Tim Hockin
698b212491
Run all munges on all docs
...
Rather than terminating, Collect the errors and print them per-file-per-munge.
2015-07-10 15:33:50 -07:00
Kris Rousey
1d033b9912
Adding proper timeouts.
2015-07-10 14:42:59 -07:00
Dawn Chen
e810b229c0
Change kubelet flag --max-pods default value to 40 to match v1.0 roadmap.
2015-07-10 13:46:05 -07:00
Daniel Smith
c4aab16b04
Adds a link fixer/checker to mungedocs.
...
Links that don't work yet can be prefixed with "TODO:" to avoid the check.
2015-07-10 10:54:47 -07:00
Victor Marmol
edaa1a69e5
Merge pull request #10525 from nikhiljindal/delbeta3
...
Stop exposing v1beta3 by default
2015-07-09 08:38:32 -07:00
Victor Marmol
b7da593d7c
Merge pull request #10762 from erictune/toc
...
Automatic Doc Editing, with Table of Contents Generation
2015-07-09 08:13:45 -07:00
nikhiljindal
c465a50891
Stop exposing v1beta3 by default
2015-07-08 15:27:41 -07:00
Eric Tune
c51e35e835
Support for in-place modification of docs
...
Adds cmd/mungedocs which is framework for processing
all files under docs/ and either verifying that no changes needed or
making in-place changes.
Did not reuse kube::util::gen-docs because that seemed to be
centered around handling added files, and this pass does not
add files.
Planned uses:
- table of contents automatic updating
- linkification
- internal link checker
- link-path-relativizer or absolutizer
- example file syncer
- header inserter.
Just table-of-contents updating in this PR.
Added Table of Contents to docs/networking.md.
Demonstrates use of new TOC generator presubmit.
Other docs will be added in future PRs.
Additional development will be needed to handle some
of the more complex cases.
2015-07-08 14:58:54 -07:00
Eric Paris
cde68d294b
Do not create subject alt dns names for kubelet self signed certs
...
PR #10643 Started adding the dns names for the kubernetes master to self
sign certs which were created. The kubelet uses this same code, and thus
the kubelet cert started saying it was valid for these name as well.
While hardless, the kubelet cert shouldn't claim to be these things. So
make the caller explicitly list both their ip and dns subject alt names.
2015-07-04 23:01:01 -04:00
Eric Paris
7a29af4d2c
Add Subject Alt Names to self signed apiserver certs
...
A cert from GCE shows:
- IP Address:23.236.49.122
- IP Address:10.0.0.1
- DNS:kubernetes,
- DNS:kubernetes.default
- DNS:kubernetes.default.svc
- DNS:kubernetes.default.svc.cluster.local
- DNS:e2e-test-zml-master
A similarly configured self signed cert shows:
- IP Address:23.236.49.122
- IP Address:10.0.0.1
- DNS:kubernetes
- DNS:kubernetes.default
- DNS:kubernetes.default.svc
So we are missing the fqdn kubernetes.default.svc.cluster.local. The
apiserver does not even know the fqdn! it's defined entirely by the
kubelet! We also do not have the cluster name certificate. This may be
--cluster-name= argument to the apiserver but will take a bit more
research.
2015-07-01 17:05:17 -04:00
Clayton Coleman
d8bb4552de
Cloud provider should return an error
...
Not fatal - makes cloud provider useful in methods that
can return error.
2015-07-01 14:41:49 -04:00
jiangyaoguo
79ed954ec2
replace Reflector with client.cache.Reflector in kube-proxy
2015-06-29 11:21:50 +08:00
Aaron Levy
e991a1543f
Use blank default for old-etcd-prefix
2015-06-26 18:19:40 -07:00
Clayton Coleman
93b14b9ede
Search the parent FS for the proper binaries
2015-06-26 14:48:22 -04:00
Robert Bailey
91589143a3
Merge pull request #10370 from mikedanese/no-more-machines
...
remove --machines and related deprecated flags from code and docs
2015-06-26 10:54:01 -07:00
Robert Bailey
e5f44535a9
Merge pull request #10362 from bprashanth/latency_integration
...
Scrape latency stats from integration tests
2015-06-26 10:52:01 -07:00
Robert Bailey
0048eae8eb
Merge pull request #9965 from stevekuznetsov/skuznets/allow-https
...
Allowing for HTTPS Probes
2015-06-26 10:43:37 -07:00
Mike Danese
1e130e0794
remove --machines from code and docs
2015-06-25 18:29:11 -07:00
Steve Kuznetsov
3008ff6150
Changed HTTPGetAction to allow user-defined schemes
2015-06-25 16:59:12 -04:00
Prashanth Balasubramanian
cca4b720e5
Scrape latency stats from integration tests
2015-06-25 12:01:31 -07:00
Mike Danese
fbd03e5b90
fix variable shadowing bug where provided RootCA would always be a nil byte slice
2015-06-25 11:40:48 -07:00
Maxwell Forbes
655179dcfb
Merge pull request #10264 from mikedanese/ca-token
...
add ca cert to token controller and all service accounts
2015-06-25 09:56:35 -07:00
Mike Danese
56bde3342a
add ca to token controller and all service accounts
2015-06-24 15:10:20 -07:00
Dawn Chen
6ddfa512de
Revert "Revert "Fix the race between configuring cbr0 and restarting static pods""
...
This reverts commit fd0a95dd12
.
2015-06-24 11:10:10 -07:00
Piotr Szczesniak
fd0a95dd12
Revert "Fix the race between configuring cbr0 and restarting static pods"
2015-06-24 09:56:49 +02:00
Brendan Burns
192ffdfb25
Fix the container bridge so that it can create cbr0
...
Fix the kubelet so that it tries to sync status, even if Docker is down
2015-06-22 23:18:01 -07:00
Prashanth Balasubramanian
9ed9bd1c4f
Add a generation number to the object meta of all objects, and status of rcs
2015-06-19 14:32:08 -07:00
Clayton Coleman
8217495ee3
Kubelet event logging is classified as V(3)
...
Important, but not strictly required for normal operation V(2)
2015-06-18 19:21:14 -04:00
Satnam Singh
59876df736
Merge pull request #9927 from liggitt/fix_ecdsa_key
...
Re-enable ECDSA private server key use
2015-06-18 14:30:27 -07:00
Justin Santa Barbara
df87470ecf
Allow cloud providers to return a node identifier different from the hostname
2015-06-18 12:40:05 -07:00
Justin Santa Barbara
dee8d4b90b
For kubelet, differentiate between the nodeName and the hostname
...
This will allow us to use a nodeName that is not the hostname,
for example on clouds where the hostname is not the natural identifier
for a node.
2015-06-18 12:40:01 -07:00
Satnam Singh
e4f5529a2d
Revert "Allow nodename to be != hostname, use AWS instance ID on AWS"
2015-06-18 11:27:55 -07:00
Justin Santa Barbara
efaead81dc
Allow cloud providers to return a node identifier different from the hostname
2015-06-17 00:40:43 -04:00
Justin Santa Barbara
c28cdfbd43
For kubelet, differentiate between the nodeName and the hostname
...
This will allow us to use a nodeName that is not the hostname,
for example on clouds where the hostname is not the natural identifier
for a node.
2015-06-17 00:40:43 -04:00
Jordan Liggitt
64d61185eb
Re-enable ECDSA private server key use
2015-06-16 23:03:29 -04:00
Saad Ali
30180dbcc2
Merge pull request #9882 from mikedanese/fix-regexp
...
fix longRunningRequestRE to something that doesn't match pretty much all requests
2015-06-16 18:55:40 -07:00
Mike Danese
677855f1a9
fix longRunningRequestRE to something that doesn'tt push -f orig match pretty much all requests.
2015-06-16 13:48:10 -07:00
Chao Xu
34e443a1aa
update the api conversion tool to v1
2015-06-15 17:30:05 -07:00
Fabio Yeon
18a3932585
Merge pull request #9265 from mesosphere/upstream-k8sm-cm-and-km
...
Upstream Kubernetes Mesos controller manager and km binary
2015-06-15 09:28:12 -07:00
Mike Danese
5896ac9e07
skip GetHostIP call on standalone mode kubelet to fix spammy log statement
2015-06-12 11:37:53 -07:00
James DeFelice
022ff5196d
fix broken file refs
2015-06-12 14:03:01 +00:00
James DeFelice
1820114a2d
Upstream controller manager and km binary
...
Closes mesosphere/kubernetes-mesos#310
Depends on GoogleCloudPlatform/kubernetes#8882
- fix https://github.com/mesosphere/kubernetes-mesos/issues/336
- Fix comment typo
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/9265#commitcomment-11559038
- Add warning to k8s modules to also update mesos copies
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/9265#commitcomment-11558864
- Fixes https://github.com/GoogleCloudPlatform/kubernetes/pull/9265#commitcomment-11558855
- Add comments and TODO that hypercube and controllermanager need refactoring
2015-06-12 14:03:00 +00:00
Abhi Shah
52db576617
Merge pull request #8882 from mesosphere/upstream_k8sm
...
Upstream Kubernetes-Mesos framework
2015-06-12 06:36:20 -07:00
Abhi Shah
0f4f2eb05a
Merge pull request #9617 from davidopp/master
...
Add a warning that setting --port flag to Kubelet breaks "kubectl log…
2015-06-11 10:18:41 -07:00
David Oppenheimer
b83a32955b
Add a warning that setting --port flag to Kubelet breaks "kubectl logs." Temporary
...
fix for #9325 .
2015-06-10 17:24:49 -07:00
James DeFelice
7d66559725
added comments at the top of native k8s files which, if changed, might affect some of the k8sm code
2015-06-10 20:31:22 +00:00
Abhi Shah
0fbd4900d1
Merge pull request #9423 from mesosphere/create-api-server-client
...
refactor createAPIServerClient for easier integration with 3rd party …
2015-06-10 12:54:17 -07:00
James DeFelice
f54eeeb8d6
refactor createAPIServerClient for easier integration with 3rd party kubelet extensions, e.g. kubernetes-mesos
2015-06-10 02:13:58 +00:00
krousey
f62a2a1bb6
Merge pull request #9451 from cjcullen/mig
...
Use Node IP Address instead of Node.Name in minion.ResourceLocation.
2015-06-09 15:52:12 -07:00
CJ Cullen
2d85e4a094
Use Node IP Address instead of Node.Name in minion.ResourceLocation.
...
Refactor GetNodeHostIP into pkg/util/node (instead of pkg/util to break import cycle).
Include internalIP in gce NodeAddresses.
2015-06-08 16:58:00 -07:00
Justin Santa Barbara
6f3879e3bb
Actually pass down ServiceNodePortRange so it is used
...
Also fix default range to match what we've documented (off-by-one)
Fix #9318
2015-06-08 18:03:42 -04:00
krousey
5aa0219ada
Merge pull request #9292 from cjcullen/test_pull_8946
...
Add an ssh tunnel option to the /proxy endpoint
2015-06-08 14:30:12 -07:00
krousey
a7edbedcb9
Merge pull request #9262 from bprashanth/minion_proxy
...
Apiserver can proxy to nodes
2015-06-08 10:17:06 -07:00
CJ Cullen
cb317604ab
Some refactoring. Only selectively use ssh proxy.
...
Add NetworkName to gce.Config.
Add locking to uses of master.tunnels.
2015-06-05 14:55:16 -07:00
Brendan Burns
5115fd5703
Add key generation.
2015-06-05 14:55:15 -07:00
Brendan Burns
30a89968a4
Initial proxy tunnelling.
2015-06-05 14:54:20 -07:00
Prashanth Balasubramanian
50eb9ad598
Use https only for the kubelet port
2015-06-05 14:06:38 -07:00
Quinton Hoole
cd3eea43db
Merge pull request #9315 from jdef/refactor_kubelet_tls_init
...
refactor tls init for reuse
2015-06-05 12:57:14 -07:00
Quinton Hoole
8b01ecb53a
Merge pull request #9024 from markturansky/recyc_controllers
...
PersistentVolumeRecycler controller
2015-06-05 11:39:08 -07:00
James DeFelice
b3c8f71aca
refactor tls init for reuse
2015-06-05 11:45:40 +00:00
markturansky
deec5f26cd
Recycler controller
2015-06-04 15:47:36 -04:00