Yu-Ju Hong
b906e34576
kubelet: trigger pod workers independently
...
Currently, whenever there is any update, kubelet would force all pod workers to
sync again, causing resource contention and hence performance degradation.
This commit flips kubelet to use incremental updates (as opposed to snapshots).
This allows us to know what pods have changed and send updates to those pod
workers only. The `SyncPods` function has been replaced with individual
handlers, each handling an operation (ADD, REMOVE, UPDATE). Pod workers are
still triggered periodically, and kubelet performs periodic cleanup as well.
This commit also spawns a new goroutine solely responsible for killing pods.
This is necessary because pod killing could hold up the sync loop for
indefinitely long amount of time now user can define the graceful termination
period in the container spec.
2015-08-25 17:52:01 -07:00
Yu-Ju Hong
3bc2157889
Merge pull request #13100 from pweil-/cap-priv-sources
...
use privileged source object
2015-08-25 16:10:50 -07:00
Sreekanth Pothanis
c841a20361
Cinder Volume Plugin
2015-08-25 15:13:56 -07:00
Clayton Coleman
8a62f1828d
Evict terminating pods
2015-08-25 14:17:39 -03:00
Yu-Ju Hong
9f508e9422
Merge pull request #13076 from invenfantasy/master
...
Cleanup deprecated Forever function
2015-08-25 10:07:10 -07:00
Jerzy Szczepkowski
2de49358ab
Added flags for horizontal pod autoscaler to controller-manager.
...
Added flags for horizontal pod autoscaler to controller-manager.
2015-08-25 17:28:17 +02:00
Marek Grabowski
1f6173bd01
Merge pull request #13115 from yifan-gu/oidc_doc
...
plugin/oidc: add minor documentation details.
2015-08-25 09:15:10 +02:00
Nikhil Jindal
a945785409
Merge pull request #13081 from mwielgus/hpa_heapster_query
...
Scale subresource and Heapster querying in HorizontalPodAutoscaler
2015-08-24 18:54:28 -07:00
Yifan Gu
aca6368e3c
plugin/oidc: add minor documentation details.
2015-08-24 15:25:26 -07:00
Paul Weil
709e654686
use privileged source object
2015-08-24 16:53:43 -04:00
Nikhil Jindal
a09425d828
Merge pull request #10933 from andronat/swagger_auto_type_docs
...
Automatic Generation of Swagger Documentation in Types
2015-08-24 10:35:58 -07:00
Marcin Wielgus
1ce8bb7bb2
Scale subresource querying in HorizontalPodAutoscaler
2015-08-24 16:42:25 +02:00
caogaojin
60cb4406e9
Cleanup deprecated Forever function
...
Since util.Forever function has been deprecated, we should cleanup these
pieces of code.
2015-08-24 10:31:59 +08:00
Anastasis Andronidis
9f21ae21e8
swagger type documentation generator
2015-08-22 02:26:03 +02:00
Yifan Gu
6376e41850
plugin/pkg/auth: add OpenID Connect token authenticator.
...
Also add related new flags to apiserver:
"--oidc-issuer-url", "--oidc-client-id", "--oidc-ca-file", "--oidc-username-claim",
to enable OpenID Connect authentication.
2015-08-21 15:27:08 -07:00
BenTheElder
81ab51709a
Add --cleanup-iptables flag to kube-proxy
...
Adds a flag to cleanup iptables rules created by kube-proxy per
https://github.com/mesosphere/kubernetes-mesos/issues/353#issuecomment-1
27382832
2015-08-21 14:44:11 -04:00
Jerzy Szczepkowski
3df1b9e151
Merge pull request #12986 from BenTheElder/masquerade_all_flag
...
Add flag to masquerade all in kube-proxy when using iptables proxier
2015-08-21 10:28:07 +02:00
BenTheElder
1f2076ce64
Add flag to masquerade all in kube-proxy when using iptables proxier
2015-08-20 20:12:32 -04:00
Saad Ali
9b01580946
Merge pull request #12872 from runningwild/master
...
Fix several problems with using rkt on gce
2015-08-20 15:46:16 -07:00
Eric Paris
bcf912667b
Use pflag functions instead of ours.
2015-08-20 15:00:55 -07:00
Wojciech Tyczynski
3b3a706eef
Merge pull request #12792 from jszczepkowski/hpa-controller2
...
Experimental client for horizontal pod autoscaler.
2015-08-20 10:50:02 +02:00
Clayton Coleman
9267f829eb
Update tests to prepare for graceful deletion
...
For cases where we want to immediately cleanup the pod, start using
gracePeriod 0 in test cases.
2015-08-19 22:20:29 -04:00
Saad Ali
25dfc9932f
Merge pull request #12913 from gmarek/remove_healthcheck
...
Remove unused (?) HealthCheck from KubeletClient
2015-08-19 14:49:00 -07:00
Saad Ali
c1a2c6dee7
Merge pull request #10713 from thockin/no-localhost-endpoints
...
Check loopback and link-local multicast endpoints
2015-08-19 12:48:33 -07:00
Jonathan Wills
80e799fc0c
Allow configuring the rkt binary in a kubelet with a flag.
...
This is necessary because coreos comes with rkt installed, and if we want to use a different version
we need some way to avoid the default one.
2015-08-19 09:42:13 -04:00
gmarek
33c894a6ae
Remove unused (?) HealthCheck from KubeletClient
2015-08-19 14:35:43 +02:00
gmarek
3c907b33e1
Remove external function setting Kubelet flags
2015-08-19 13:20:41 +02:00
Jerzy Szczepkowski
f2e15fd538
Experimental client for horizontal pod autoscaler.
...
Implementation of experimental client for horizontal pod autoscaler. Placeholder implementation for controller for horizontal pod autoscaler.
2015-08-19 09:39:17 +02:00
Tim Hockin
86f4535871
Check loopback and link-local multicast endpoints
...
Previously we just disallowed link-local (unicast). This disallows loopback
and link-local multicast.
2015-08-18 21:50:27 -07:00
Robert Bailey
08e6a43c1d
Revert "Merge pull request #9165 from smarterclayton/graceful"
...
This reverts commit 4f856b595d
, reversing
changes made to d78525a83b
.
Conflicts:
pkg/kubelet/status_manager.go
2015-08-18 17:34:49 -07:00
Kris Rousey
ae6c64d9bb
Moving everyone to unversioned client
2015-08-18 10:23:03 -07:00
Robert Bailey
4f856b595d
Merge pull request #9165 from smarterclayton/graceful
...
Enable graceful deletion using reconciliation loops in the Kubelet without TTL
2015-08-18 10:01:40 -07:00
Robert Bailey
c45747bfad
Merge pull request #12764 from thockin/proxy-nodeports
...
More corner cases with iptables proxy
2015-08-18 09:13:20 -07:00
Clayton Coleman
edb108802d
Handle gracefully terminated pods in node controller
...
Eviction should retry longer and wait for completion of the pod.
2015-08-18 09:08:45 -04:00
Clayton Coleman
89f1f3b1b8
Alter graceful deletion to not use TTL
...
Avoid TTL by deleting pods immediately when they aren't
scheduled, and letting the Kubelet delete them otherwise.
Ensure the Kubelet uses pod.Spec.TerminationGracePeriodSeconds
when no pod.DeletionGracePeriodSeconds is available.
2015-08-18 09:08:43 -04:00
Clayton Coleman
b842a7dd15
Revert "Revert "Gracefully delete pods from the Kubelet""
...
This reverts commit 98115facfd
.
2015-08-18 08:57:02 -04:00
Tim Hockin
3a5c23d727
test for and set bridge-nf-call-iptables sysctl
2015-08-17 20:57:44 -07:00
Bin Wang
0547c52c2c
Enforce specified service-cluster-ip-range is not too large
2015-08-18 10:35:21 +08:00
Robert Bailey
72830242de
Merge pull request #12756 from eparis/kube-apiserver-deprecated-flags
...
Mark some apiserver flags as deprecated so thus don't show up in help
2015-08-17 10:59:36 -07:00
Brendan Burns
9cc5156b69
Merge pull request #12685 from eparis/goimports
...
Remove dependancy on external goimports binary
2015-08-14 20:29:00 -07:00
Eric Paris
347c7b5b82
Mark some flags as deprecated so thus don't show up in help
2015-08-14 19:28:03 -04:00
Eric Paris
30d34d0e59
Reduce false positives with verify-flag-underscore.sh by updating regex
...
Check to make sure there is not an alphanumeric character immeditely
before or after the 'flag'. It there is an alphanumeric character then
this is obviously not actually the flag we care about. For example if
the project declares a flag "valid-name" but the regex finds something
like "invalid_name" we should not match. Clearly this "invalid_name" is
not actually a wrong usage of the "valid-name" flag.
2015-08-13 21:06:39 -04:00
Eric Paris
8f3577e5d2
Do not use goimports in hack/update-generated-conversions.sh
...
Stop depending on an external binary needing to be on people's system.
Use the code directly.
2015-08-13 19:37:01 -04:00
Eric Paris
00929ed7d8
Convert generated-deep-copies to use golang.org/x/tools/imports
...
I don't like users to need an external binary which can easily get out
of sync. Just include the tools.
2015-08-13 19:36:57 -04:00
Brendan Burns
d8a60d2271
Merge pull request #12623 from thockin/proxy-ipt
...
Auto commit by PR queue bot
2015-08-13 13:10:39 -07:00
Tim Hockin
776132e1ae
Make kube-proxy iptables sync period configurable
2015-08-13 09:53:32 -07:00
Ruddarraju, Uday Kumar Raju
937db3f70d
Keystone authentication plugin
2015-08-13 09:46:30 -07:00
Mike Danese
5caf5e0191
point mugnedocs at new organization
2015-08-12 16:37:43 -07:00
Kris Rousey
2a17dbff13
Moving clientauth package to be under client
2015-08-12 14:43:17 -07:00
CJ Cullen
b8dc963512
Merge pull request #9210 from BenTheElder/iptables_proxy
...
Implement Iptables based Proxy
2015-08-12 09:26:39 -07:00
BenTheElder
ae569e20b5
Partially Implement #3760
2015-08-12 02:39:15 -04:00
Bryan Stenson
9541414742
create cloudprovider "providers" package
...
move all providers into new package
update all references to old package path
2015-08-11 22:36:51 -07:00
CJ Cullen
077246219b
Merge pull request #12549 from eparis/remove-BindClientConfigFlags
...
Remove BindClientConfigFlags entirely
2015-08-11 18:08:00 -07:00
CJ Cullen
a77900a114
Merge pull request #12411 from uluyol/expconvcopy-dups
...
Generate conversions/deep-copies for experimental.
2015-08-11 18:07:30 -07:00
Muhammed Uluyol
567bb15432
Generate conversions/deep-copies for experimental. Currently we make (and register) duplicate functions but this is benign.
2015-08-11 17:12:24 -07:00
CJ Cullen
103a39c621
Merge pull request #12464 from jiangyaoguo/add-events-for-kube-proxy
...
Add Birthcry event to kube-proxy
2015-08-11 17:10:03 -07:00
Kris Rousey
565189f5b8
Correcting all go vet errors
2015-08-11 13:55:37 -07:00
Eric Paris
1333fad22a
Remove BindClientConfigFlags entirely
...
They are unused.
2015-08-11 16:26:24 -04:00
jiangyaoguo
6889f693db
Add birthcry event to kube-proxy
...
1. Add HostnameOverride parameter for kube-proxy as kubelet did.
2. Add Birthcry event for kube-proxy.
3. Because record event need apiserver client, adjust order of code partly.
2015-08-11 14:24:07 +08:00
markturansky
8e0d391b1e
Refactored persistent volume controllers to new packaging structure
2015-08-10 23:18:48 -04:00
Alex Robinson
59c0fbb6a9
Merge pull request #12444 from thockin/nix-cmd-kubernetes
...
Remove old 'kubernetes' cmd
2015-08-10 16:19:35 -07:00
Alex Robinson
11fcd3bb39
Merge pull request #12478 from eparis/use-pflag-network
...
Use pflags for net.IP and net.IPNet instead of custom flag types
2015-08-10 11:55:54 -07:00
Eric Paris
f3282ff4d2
Use pflag IPNet instead of our own helpers
...
Since pflag can handle net.IPNet arguements use that code. This means
that our code no longer has casts back and forth and just natively uses
net.IPNet.
2015-08-10 10:15:08 -04:00
Eric Paris
fe6b633e2a
Convert for util.IP to just use a net.IP
...
pflag can handle IP addresses so use the pflag code instead of doing it
ourselves. This means our code just uses net.IP and we don't have all of
the useless casting back and forth!
2015-08-10 10:15:05 -04:00
Tim Hockin
bef7c99619
Remove old 'kubernetes' cmd
2015-08-08 20:39:57 -07:00
Veres Lajos
9f77e49109
typofix - https://github.com/vlajos/misspell_fixer
2015-08-08 22:31:48 +01:00
BenTheElder
1f6baa6549
Move userspace code to sub-package in proxy.
...
Moves the userspace code in proxy to a sub-package and adds the
ProxyProvider interface.
This is in preparation for landing an implementation of
https://github.com/GoogleCloudPlatform/kubernetes/issues/3760 , which
will mostly be in another sub package for iptables.
2015-08-07 20:07:15 -04:00
Satnam Singh
991775e77b
Merge pull request #10724 from eparis/convert-underscore-to-dash
...
Convert underscore to dash
2015-08-07 16:40:05 -07:00
Satnam Singh
950ec96db0
Merge pull request #12182 from AnanyaKumar/qos-node
...
Add QoS support on node
2015-08-07 14:27:02 -07:00
Ananya Kumar
6ef3de1d5f
Add QoS support on node
2015-08-07 11:18:16 -07:00
Eric Paris
cfc9312b7f
Convert pkg/ and cmd/ from --flag_name= to --flag-name=
2015-08-07 11:00:13 -04:00
David Walter
792fc2269b
change underscores to dashes to match the command line argument
2015-08-06 22:13:44 -05:00
Eric Paris
7cbb52ce04
Use the pflag StringSlice instead of implementing it ourselves
...
Saves code and makes our code easier to read because we just use normal
[]string instead of custom type.
2015-08-06 19:16:13 -04:00
Clayton Coleman
bb79365e2a
Split kubelet server initialization into two parts
...
First is initializing a KubeletConfig that starts no background
processes. Second is running the config. Provide a legacy path
that won't impact older callers while making it easier to customize
the interfaces passed to the Kubelet.
Used by OpenShift to inject some custom interfaces to the Kubelet
for config management.
2015-08-06 09:59:58 -04:00
Mike Danese
17defc7383
run gofmt on everything we touched
2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
Piotr Szczesniak
ded48a3761
Merge pull request #12201 from gmarek/remove_flag
...
Deprecate register-retry-count flag from controller-manager
2015-08-05 12:27:18 +02:00
gmarek
e20536d16a
Remove register-retry-count flag from controller-manager
2015-08-05 10:07:59 +02:00
Alex Mohr
1311b9dce1
Merge pull request #11886 from gmarek/ratelimit
...
Auto commit by PR queue bot
2015-08-04 11:39:53 -07:00
gmarek
2201e75666
NodeController small cleanup
2015-08-04 14:44:14 +02:00
Alex Mohr
908b1e08f1
Merge pull request #12145 from mwielgus/deepcopy_fix
...
Fix split issues in overwrites in cmd/gendeepcopy
2015-08-03 21:27:36 -07:00
Alex Mohr
6d16c18d6f
Merge pull request #12078 from gmarek/move_nodecontroller
...
Auto commit by PR queue bot
2015-08-03 16:49:57 -07:00
Eric Paris
89dc3d56cd
Update go-md2man so godep restore/save work
2015-08-03 12:02:42 -04:00
gmarek
d27ad5b714
Controller codebase refactoring
2015-08-03 17:06:25 +02:00
gmarek
4cc0a2f117
Allow changing Schedulers RateLimitter setting during startup.
2015-08-03 15:27:19 +02:00
Marcin Wielgus
9fbe1453a2
Fix split issues in overwrites in cmd/gendeepcopy
2015-08-03 13:35:08 +02:00
Mike Danese
12b9da8f3d
Merge pull request #9976 from smarterclayton/nsenter_mount_broken
...
Fix mount issues in containerized Kubelet
2015-07-31 17:15:28 -07:00
Mike Danese
8372b0d927
Revert "Add Mesos hyperkube minion server "
2015-07-31 10:47:42 -07:00
Mike Danese
464e208f95
Merge pull request #11928 from mesosphere/km-minion
...
Add Mesos hyperkube minion server
2015-07-31 10:25:21 -07:00
Mike Danese
fd7a48f379
Merge pull request #11839 from eparis/munger-rewrite
...
Major rewrite for docs munger
2015-07-31 10:21:25 -07:00
Dr. Stefan Schimanski
2b1ecd28f0
Add Mesos hyperkube minion server
...
The minion server will
- launch the proxy and executor
- relaunch them when they terminate uncleanly
- logrotate their logs.
It is a replacement for a full-blown init process like s6 which is not necessary
in this case.
2015-07-31 12:28:40 +02:00
Dr. Stefan Schimanski
1200125137
Share KM_* constants
2015-07-31 11:27:52 +02:00
Muhammed Uluyol
58a875ac2c
Add (stopgap) support for an experimental API prefix.
2015-07-30 18:14:29 -07:00
Eric Paris
3c95bd4ee3
Add a whitespace munger
...
Strips all trailing whitespace from non-preformatted blocks
2015-07-30 20:41:30 -04:00
Eric Paris
8886a9940d
Rewrite how the munger works
...
The basic idea is that in the main mungedocs we run the entirefile and
create an annotated set of lines about that file. All mungers then act
on a struct mungeLines instead of on a bytes array. Making use of the
metadata where appropriete. Helper functions exist to make updating a
'macro block' extremely easy.
2015-07-30 20:41:30 -04:00
Eric Paris
4cbca2e63c
Make munger begin/end less generic
...
Just force the beginMungeTag() endMungeTag() macros on users, by hiding
it under the covers. It really simplies things for users.
2015-07-30 20:41:30 -04:00
Eric Paris
22fd8ac32d
Speed up mungedoc TOC by pre-compiling a regex
...
Brings the time to run the TOC over the docs directory from .7 seconds
to .1 seconds
2015-07-30 20:41:29 -04:00
Mike Danese
51a7a38f67
Merge pull request #12020 from wojtek-t/move_to_storage
...
Move storage-related code to pkg/storage
2015-07-30 16:23:03 -07:00
Mike Danese
a3cb57f48d
Merge pull request #12033 from smarterclayton/conversions_2
...
Revert conversion reversion with fixed tests
2015-07-30 13:53:32 -07:00
Mike Danese
9582c7e54e
Merge pull request #12024 from a-robinson/metadata
...
Support passing a header to the manifest URL in the kubelet.
2015-07-30 13:46:22 -07:00
Clayton Coleman
0f9fdcafea
Revert "Revert "Improve conversion to support multiple packages""
...
This reverts commit 94a387d5d1
.
2015-07-30 15:15:14 -04:00
Mike Danese
94a387d5d1
Revert "Improve conversion to support multiple packages"
2015-07-30 10:51:40 -07:00
Alex Robinson
cf011cad55
Support passing a header to the manifest URL in the kubelet.
...
Needed to support using GCE's v1 metadata API, which requires passing
the header "Metadata-Flavor: Google".
2015-07-30 17:11:27 +00:00
Mike Danese
1a613c43fe
Merge pull request #9971 from smarterclayton/make_conversion_more_flexible
...
Improve conversion to support multiple packages
2015-07-30 10:05:10 -07:00
Wojciech Tyczynski
3cbbe72f9f
Move etcd storage to pkg/storage/etcd
2015-07-30 15:42:06 +02:00
Wojciech Tyczynski
99d6b0e9f4
Rename storage interfaces
2015-07-30 10:34:57 +02:00
Wojciech Tyczynski
d17985f1ad
Move StorageInterface to pkg/storage.
2015-07-30 09:32:04 +02:00
Mike Danese
85781b674d
Merge pull request #11968 from brendandburns/flow
...
Optionally limit flow on all upgraded proxy connections
2015-07-29 16:00:43 -07:00
Clayton Coleman
732647ea97
Improve conversion to support multiple packages
...
OpenShift uses multiple API packages (types are split) which
Kube will also eventually have as we introduce more plugins.
These changes make the generators able to handle importing different
API object packages into a single generator function.
2015-07-29 17:05:54 -04:00
Brendan Burns
99b02bfe73
Add optional throttling to the proxy/exec/attach methods
2015-07-29 13:51:20 -07:00
Ananya Kumar
47dd0bc6f9
Refactor package controller
2015-07-29 09:54:35 -07:00
Ilya Dmitrichenko
5e7a6a8b89
Ignore home directory paths
2015-07-28 22:02:49 +01:00
Brendan Burns
a546a2979c
Merge pull request #11726 from caesarxuchao/fix-types-link
...
Auto commit by PR queue bot
2015-07-28 13:24:11 -07:00
Chao Xu
70a29c1a3a
address comments, wait for travis pass
2015-07-27 21:08:02 -07:00
Daniel Smith
a9948158eb
Merge pull request #11867 from kelseyhightower/node-cidrs-works-with-empty-cloud-provider
...
Allocating CIDRs for Pods works without a cloud provider.
2015-07-27 17:20:44 -07:00
Daniel Smith
6c36f0dfa4
Merge pull request #11891 from a-robinson/lb
...
Add a resync period for services in the service controller
2015-07-27 16:15:03 -07:00
Kelsey Hightower
93a374512e
Allocating CIDRs for Pods works without a cloud provider.
...
Currently setting the `--allocate-node-cidrs` flag to true with an
empty cloud provider causes the kube-controller-manager to crash during
startup.
Fix the issue by checking for an empty cloud provider before setting
up route management on the cloud provider. This change introduces a
change in behavior. The kube-controller-manager now supports allocating
pod CIDRs without a cloud provider. This means users must manage routes
through some other mechanism.
The controller manager logs a warning if `--allocate-node-cidrs` is set,
but not a cloud provider:
```
I0725 17:10:41.587888 43185 plugins.go:70] No cloud provider specified.
I0725 17:10:41.588036 43185 nodecontroller.go:114] Sending events to api server.
E0725 17:10:41.588122 43185 controllermanager.go:201] Failed to start service controller: ServiceController should not be run without a cloudprovider.
W0725 17:10:41.588136 43185 controllermanager.go:213] allocate-node-cidrs is set, but no cloud provider specified. Will not manage routes.
E0725 17:10:41.589703 43185 nodecontroller.go:187] Error monitoring node status: Get http://127.0.0.1:8080/api/v1/nodes : dial tcp 127.0.0.1
```
Fixes #11866
2015-07-27 16:13:19 -07:00
Janet Kuo
180798cfa4
Use example syncer tags instead of hard-coded examples in doc
2015-07-27 14:48:41 -07:00
Alex Robinson
60611c253e
Add a resync period for services in the service controller.
...
This should ensure all load balancers get deleted even if a reordering of
watch events causes us to strand one after its service has been deleted,
because the sync will notice that the service controller's cache has a
service in it that no longer exists in the apiserver.
It could still leak in the case that the controller manager is killed
between when it leaks something and the sync runs, but this should
improve things.
2015-07-27 18:03:13 +00:00
Marek Grabowski
7cc1855c27
Merge pull request #11806 from wojtek-t/private_etcd_helper
...
Make EtcdHelper private - expose only StorageInterface
2015-07-27 11:21:28 +02:00
Marek Grabowski
00cd52dd68
Merge pull request #10656 from krousey/timeouts
...
Adding proper timeouts.
2015-07-27 10:56:58 +02:00
Wojciech Tyczynski
9d943df397
Private EtcdHelper
2015-07-27 09:20:13 +02:00
Chao Xu
464385281b
add a tool in cmd/ to check links in go file. Currently it's only used to check the links in api descriptions (pkg/api/.../types.go).
2015-07-24 20:21:16 -07:00
Mike Danese
0b14613361
Merge pull request #11622 from nikhiljindal/refactormark-new-version
...
Extracting out the code to versionize docs from mark-new-version and fixing a bunch of issues
2015-07-24 11:32:40 -07:00
Mike Danese
b51b4e740f
Merge pull request #10639 from caseydavenport/master
...
Allow specification of a network plugins directory when starting kubelet
2015-07-24 11:09:11 -07:00
Mike Danese
859f440f74
Merge pull request #11666 from wojtek-t/refactor_etcd_helper
...
Extract EtcdHelper interface
2015-07-24 11:07:46 -07:00
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