Marcin Wielgus
1266ee7adf
Skip not registered nodes in labeling in CA e2e tests
2016-12-06 20:32:24 +01:00
deads2k
0a6193fbe4
add apiregistration types
2016-12-06 13:45:10 -05:00
Mike Danese
3352fd161f
autogenerated
2016-12-06 10:32:54 -08:00
Mike Danese
e225625a80
add a configuration for kubelet to register as a node with taints
...
and deprecate register-schedulable
2016-12-06 10:32:54 -08:00
deads2k
583dfbb0b1
generated
2016-12-06 13:10:38 -05:00
Hongchao Deng
7a0176da57
etcd2: remove unnecessary PrevValue in SetOption
2016-12-06 09:24:49 -08:00
Eric Paris
81b3644017
Merge pull request #38196 from deads2k/fix-mesos
...
fix mesos unit tests
2016-12-06 12:24:10 -05:00
Michail Kargakis
a8a7ca28f0
controller: sync stuck deployments in a secondary queue
2016-12-06 18:08:35 +01:00
Michail Kargakis
884b0a6f20
test: wait for ready replica set before adopting
2016-12-06 17:37:37 +01:00
deads2k
3fffad4d04
fix mesos unit tests
2016-12-06 11:14:59 -05:00
Dr. Stefan Schimanski
2d9908a812
Mark portforward e2e tests as flaky
2016-12-06 16:52:33 +01:00
Kubernetes Submit Queue
e4abc36d5d
Merge pull request #37636 from juanvallejo/jvallejo/bugfix/print-resource-kind-when-single-resource-type
...
Automatic merge from submit-queue
add resource prefix to multiple items w/ same kind
**Release note**:
```release-note
release-note-none
```
This patch ensures that a resource prefix is added to multiple items of
the same kind, when using `kubectl get all`. Before, a prefix was added only
when a single item was returned on `kubectl get all`, but ignored if only a
single resource kind existed but multiple items for that kind were
returned.
**Example**
```
$ kubectl get all
No resources found.
$ kubectl create service loadbalancer testsvc1 --tcp=8080
$ kubectl get all
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
svc/testsvc1 172.30.119.220 172.46.100.155,172.46.100.155 8080/TCP 1h
$ kubectl create service loadbalancer testsvc2 --tcp=8081
$ kubectl get all
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
svc/testsvc1 172.30.119.220 172.46.100.155,172.46.100.155 8080/TCP 1h
svc/testsvc2 172.30.241.197 172.46.164.158,172.46.164.158 8081/TCP 1h
```
@fabianofranz
2016-12-06 07:43:07 -08:00
Wojciech Tyczynski
aab227dd42
Collect controller-manager logs from kubemark
2016-12-06 16:30:52 +01:00
deads2k
b723333be3
move APIResourceConfigSource to master
2016-12-06 10:19:25 -05:00
deads2k
05b1074d0e
re-organize and document genericapiserver config
2016-12-06 10:16:56 -05:00
deads2k
6ea1d5d53d
join client CA bundles into the accept path for genericapiserver
2016-12-06 09:56:13 -05:00
Kubernetes Submit Queue
653fd97ba0
Merge pull request #37966 from p0lyn0mial/unify_restmapping_and_restmappings
...
Automatic merge from submit-queue (batch tested with PRs 38185, 37966)
decided to extract common logic for RESTMapping and RESTMappings to a…
<!-- Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->
**What this PR does / why we need it**: the changes introduced in this PR extract common logic of RESTMapping and RESTMappings to one common method.
**Special notes for your reviewer**: this is my first PR - be polite.
The only change in logic to what was before is when calling commonRESTMappings from RESTMapping
we search all defaultGroupVersion as opposed to just one when no mapping was found for provided versions.
2016-12-06 06:49:25 -08:00
deads2k
fdb0b2bca2
update local-up-cluster to allow full authentication proxying
2016-12-06 09:47:27 -05:00
Kenan Karamehmedovic
16453a3334
Fail fast if there is already a node with same name as the one being joined.
2016-12-06 15:46:15 +01:00
deads2k
fbb35b72ed
update delegating auth to include front-proxy
2016-12-06 09:40:07 -05:00
deads2k
4f625db133
move client-ca to authentication args
2016-12-06 09:34:49 -05:00
Bryan Boreham
0cfd09e161
Abandon setting hairpin mode if finding the peer interface fails
...
Instead of setting it on every bridge-connected interface which may
have unwanted effects on unrelated things installed on the machine.
2016-12-06 14:33:43 +00:00
Kubernetes Submit Queue
c3a2cc5370
Merge pull request #38185 from kargakis/restore-poll-for-test-util
...
Automatic merge from submit-queue
test: restore polling for stabilizing deployment tests
Discussed in 886052c225 (commitcomment-20081416)
@rmmh @janetkuo @wojtek-t ptal
2016-12-06 06:31:01 -08:00
Lucas Käldström
7a463eff08
Drain node on kubeadm reset and make it possible to specify if the node should be removed from the cluster as well
2016-12-06 15:43:59 +02:00
deads2k
985d502ed3
add basic wiring for kubernetes-discovery to become a kube-like api server
2016-12-06 08:19:39 -05:00
deads2k
f255e46ee4
refactor kubernetes-discovery to use cobra and prep for genericapiserver
2016-12-06 08:08:50 -05:00
Kubernetes Submit Queue
225abc4c78
Merge pull request #37696 from gmarek/load_deployment2
...
Automatic merge from submit-queue (batch tested with PRs 37365, 37696)
Make it possible to run Load and Density tests using Deployments or ReplicaSets
This is a first extension to our scalability tests.
cc @timothysc @jeremyeder
2016-12-06 05:00:29 -08:00
Kubernetes Submit Queue
2c63b6f5ca
Merge pull request #37365 from gmarek/nodecontroller
...
Automatic merge from submit-queue
gcOrphaned check via the API that the node doesn’t exist
It's needed to make sure we don't make invalid decisions when system is overloaded and cache is not keeping up.
@wojtek-t - this adds one `Node.List()` per 20 sec. Listing Nodes is an expensive operation, so I'd like you to chime in.
2016-12-06 04:49:03 -08:00
Lucas Käldström
67d4ddaf59
Improve the kubeadm reset command. Reorder the functions and log more user-friendly output
2016-12-06 14:45:29 +02:00
Lucas Käldström
51d733f418
Remove the cni directory when resetting; otherwise kubelet can pick up the wrong config on the next kubeadm init run
2016-12-06 14:45:19 +02:00
Alexander Kanevskiy
1eeb3f155f
Pass proxy environment variables to static pods
...
To access outside world or cloud provider APIs it might be
required to use proxy.
Fixes : kubernetes/kubernetes#36573 , kubernetes/kubeadm#5
2016-12-06 14:38:48 +02:00
Hemant Kumar
fcf5d79be7
Add integration tests for desire state of world populator
...
This adds tests for code introduced here :
https://github.com/kubernetes/kubernetes/issues/26994
Via integration test we can now verify that if pod delete
event is somehow missed by AttachDetach controller - it still
get cleaned up by Desired State of World populator.
2016-12-06 06:52:52 -05:00
Wojciech Tyczynski
c8711f29a5
Update autogenerated files
2016-12-06 12:25:57 +01:00
Kubernetes Submit Queue
cdb8c79415
Merge pull request #37434 from NickrenREN/eventclient-warn
...
Automatic merge from submit-queue (batch tested with PRs 38079, 37434)
eventclient create error info print
2016-12-06 03:23:25 -08:00
gmarek
070f0979c2
Make it possible to run Load test using Deployments or ReplicaSets
2016-12-06 12:22:58 +01:00
gmarek
15f2dbe13c
gcOrphaned check via the API that the node doesn’t exist
2016-12-06 12:17:38 +01:00
Dr. Stefan Schimanski
c1c4489a5d
Remove genericapiserver.Options.MasterServiceNamespace
2016-12-06 12:02:18 +01:00
Michail Kargakis
4949d61b39
test: restore polling for stabilizing deployment tests
2016-12-06 11:57:32 +01:00
shashidharatd
2807e8050e
Implement CoreDNS as external dns provider for federation
2016-12-06 16:20:55 +05:30
shashidharatd
367102e2b2
Add vendor code github.com/miekg/coredns/middleware/etcd/msg
2016-12-06 16:20:55 +05:30
Wojciech Tyczynski
61d9fd6afc
Register GetOptions in all api groups
2016-12-06 11:48:37 +01:00
Wojciech Tyczynski
3432fea8b2
Pipe GetOptions to storage
2016-12-06 11:48:37 +01:00
Kubernetes Submit Queue
8e8599fcd7
Merge pull request #38079 from hongchaodeng/e2
...
Automatic merge from submit-queue
etcd2: watching from 0 returns all initial states as ADDED events
ref:
https://github.com/kubernetes/kubernetes/pull/36797
https://github.com/kubernetes/kubernetes/issues/36545
https://github.com/kubernetes/kubernetes/pull/36561
https://github.com/kubernetes/kubernetes/issues/13969
Since we have made consensus and fixed the behavior in etcd3, we would also change etcd2 to make this uniform and consistent. The end goal is that we would have it explicit on interface docs.
**release note**:
```
etcd2: watching from 0 returns all initial states as ADDED events
```
2016-12-06 02:45:29 -08:00
Kubernetes Submit Queue
077b97e6d5
Merge pull request #37989 from timothysc/etcd_clientv3_enable
...
Automatic merge from submit-queue
Remove integration test dependencies on etcd client
<!-- Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->
**What this PR does**:
Remove integration test dependencies on etcd client
**Release note**:
<!-- Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access)
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`.
-->
```
NONE
```
2016-12-06 02:03:05 -08:00
NickrenREN
34d13c996a
eventclient create error info print
...
Need to print error info when creating eventClient error , just as create kubeClient does 8 lines above
2016-12-06 17:55:46 +08:00
yarntime@163.com
16c582ed37
fix typo
2016-12-06 17:18:25 +08:00
Kubernetes Submit Queue
7fe882c479
Merge pull request #37545 from NickrenREN/startkubelet
...
Automatic merge from submit-queue (batch tested with PRs 37870, 36643, 37664, 37545)
drop startKubelet's return
Since startKubelet() function will always return nil, we donot need to judge its return err
2016-12-06 00:22:58 -08:00
Kubernetes Submit Queue
9d7644286d
Merge pull request #37664 from euank/fix-gci-typo
...
Automatic merge from submit-queue (batch tested with PRs 37870, 36643, 37664, 37545)
cluster/gci: Fix typo
2016-12-06 00:22:56 -08:00
Kubernetes Submit Queue
67669f1fd0
Merge pull request #36643 from kzwang/ingress-controller
...
Automatic merge from submit-queue (batch tested with PRs 37870, 36643, 37664, 37545)
Add option to disable federation ingress controller
**What this PR does / why we need it**:
Added an option to enable/disable federation ingress controller as currently federated ingresses doesn't work in environments other than GCE/GKE. Also ignore reconcile config maps if no federated ingresses exist.
**Which issue this PR fixes**
fixes #33943
@quinton-hoole
**Release note**:
```release-note
Add `--controllers` flag to federation controller manager for enable/disable federation ingress controller
```
2016-12-06 00:22:54 -08:00
Random-Liu
6f92572209
Move ssh related functions into ssh.go.
2016-12-05 23:59:58 -08:00