Commit Graph

23968 Commits

Author SHA1 Message Date
deads2k
e90c2bd7dc make patch call update admission chain after applying the patch 2016-01-20 16:21:27 -05:00
Justin Santa Barbara
2958ea253a GCE: Allow for reuse of master
This is for internal use at the moment, for testing Ubernetes Lite, but
arguably makes the code a little cleaner.

Also rename KUBE_SHARE_MASTER -> KUBE_USE_EXISTING_MASTER
2016-01-20 15:37:00 -05:00
James DeFelice
b2013cb1ba replace pod-observer and check-for-lost-pod polling with a single pod watcher and task registry 2016-01-20 18:53:34 +00:00
Madhusudan.C.S
664589df71 Auto-generated code. 2016-01-20 10:44:26 -08:00
Madhusudan.C.S
bd3b476bbf Update types, add defaulting code, conversions and validation. 2016-01-20 10:44:19 -08:00
Madhusudan.C.S
6a6699a1b2 Add new types for DaemonSet update. 2016-01-20 10:33:49 -08:00
Justin Santa Barbara
9f44c72ba9 AWS: findInstancesByNodeNames should not make O(N) API calls
findInstancesByNodeNames was a simple loop around
findInstanceByNodeName, which made an EC2 API call for each call.

We've had trouble with this sort of behaviour hitting EC2 rate limits on
bigger clusters (e.g. #11979).

Instead, change this method to fetch _all_ the tagged EC2 instances, and
then loop through the local results.  This is one API call (modulo
paging).

We are currently only using findInstancesByNodeNames for the load
balancer, where we attach every node, so we were fetching all but one of
the instances anyway.

Issue #11979
2016-01-20 12:37:22 -05:00
Yu-Ju Hong
dc5b35a570 Set default status to pending for pods from non-apiserver sources 2016-01-20 09:36:01 -08:00
Justin Santa Barbara
cdd4caf4df Salt: force service provider to systemd if systemd
The version of Salt we're running doesn't do a good job of detecting
systemd.  Inspired by https://github.com/saltstack/salt/issues/13926,
I added a provider-force to the services.

With this change, salt-call -l debug state.highstate succeeds, even for
repeated invocations.

The issue was (probably) benign, but definitely caused noised (e.g. #11297)
2016-01-20 12:20:50 -05:00
Justin Santa Barbara
32d48c619c AWS: Fix the docker-engine package name
I got the package name wrong before, which meant that salt was failing
on invocations after the first (the name apparently doesn't matter on
the first invocation).
2016-01-20 12:19:36 -05:00
Isaac Hollander McCreery
041f152e80 Add flag to force pull on docker build 2016-01-20 09:14:57 -08:00
Paul Morie
a45cbcd8a2 Add validation for EnvVarSource variant 2016-01-20 11:10:09 -05:00
Justin Santa Barbara
0586d866de AWS: Eliminate assumptions about all load-balancer ports matching
It costs us basically nothing to just check all the ports, and
protects us against future changes to the controller.
2016-01-20 09:30:46 -05:00
Justin Santa Barbara
12dd568662 AWS: Fix comment to reflect new method name
TCPLoadBalancer.EnsureTCPLoadBalancer => LoadBalancer.EnsureLoadBalancer
2016-01-20 09:28:28 -05:00
Justin Santa Barbara
30882265b6 AWS: Remove dead code
I think I added these functions by mistake; they aren't used and
apparently never were.
2016-01-20 09:23:53 -05:00
Dan Mace
eb778217ad Support rolling update to 0 desired replicas
Support a desired replica count of 0 for the new RC. Users sometimes
want to roll out a new "inactive" template with the intent of scaling
it up manually later.
2016-01-20 09:21:13 -05:00
deads2k
14396fc464 add subject access review types 2016-01-20 08:24:15 -05:00
k8s-merge-robot
a5d2c1b0fb Merge pull request #18706 from eparis/upstream-godep
Auto commit by PR queue bot
2016-01-20 04:43:26 -08:00
k8s-merge-robot
1c861d43ac Merge pull request #18298 from pmorie/secret-env
Auto commit by PR queue bot
2016-01-20 03:55:40 -08:00
k8s-merge-robot
6c8bf484d2 Merge pull request #15322 from mattjmcnaughton/15229-rename-ValidatePositiveField-and-ValidatePositiveQuantity
Auto commit by PR queue bot
2016-01-20 02:35:12 -08:00
Josh Wood
d6d2f6f203 docs/getting-started/rkt: Correct spelling error 2016-01-20 02:10:40 -08:00
Josh Wood
75fcbbf2c6 docs/getting-started/rkt: Improve sans flannel example 2016-01-20 02:06:54 -08:00
Harry Zhang
0202a206b8 Integration test to verify alloc works
Add integration test to verify allocatable can works
2016-01-20 15:36:19 +08:00
Hitoshi Mitake
a33f459c39 clientcmd: remove needless format specifier in a log
Current BuildConfigFromFlags() seems to print a log like below when
config path isn't specified:
```
W0120 15:30:06.196820   13323 client_config.go:359] error creating
inClusterConfig, falling back to default config: %vunable to load
in-cluster configuration, KUBERNETES_SERVICE_HOST and
KUBERNETES_SERVICE_PORT must be defined
```

This commit removes the needless "%v"
2016-01-20 15:36:52 +09:00
k8s-merge-robot
ecf6038720 Merge pull request #19734 from caesarxuchao/generate-fake-client
Auto commit by PR queue bot
2016-01-19 20:42:59 -08:00
Yu-Ju Hong
cfb5442b2d Turn on kubecontainer.Cache in kubelet 2016-01-19 18:15:10 -08:00
Chao Xu
fb81b2278e client-gen now generates the fake client. 2016-01-19 17:27:17 -08:00
k8s-merge-robot
d351a0f626 Merge pull request #19826 from derekwaynecarr/update_vagrant_prereq
Auto commit by PR queue bot
2016-01-19 17:25:11 -08:00
k8s-merge-robot
2d137c1c00 Merge pull request #19821 from gmarek/fix
Auto commit by PR queue bot
2016-01-19 17:25:04 -08:00
k8s-merge-robot
89dea9f381 Merge pull request #19797 from justinsb/aws_docker_183
Auto commit by PR queue bot
2016-01-19 17:24:35 -08:00
k8s-merge-robot
864065be97 Merge pull request #19621 from mikedanese/retrofit-controller-manager
Auto commit by PR queue bot
2016-01-19 17:22:42 -08:00
k8s-merge-robot
064356775d Merge pull request #19280 from erictune/fix-munge-1
Auto commit by PR queue bot
2016-01-19 17:20:01 -08:00
k8s-merge-robot
2a79ac4a31 Merge pull request #18322 from mesosphere/licenses
Auto commit by PR queue bot
2016-01-19 17:17:17 -08:00
k8s-merge-robot
501f770401 Merge pull request #17958 from sils1297/patch-1
Auto commit by PR queue bot
2016-01-19 17:15:37 -08:00
k8s-merge-robot
16a78198c3 Merge pull request #17932 from GertiPoppel/DocContribution
Auto commit by PR queue bot
2016-01-19 17:15:33 -08:00
k8s-merge-robot
b80ed11cc2 Merge pull request #15998 from cilium-team/updating-vagrant
Auto commit by PR queue bot
2016-01-19 17:13:03 -08:00
Isaac Hollander McCreery
e95dd01a53 Pin golang build to 1.4.2 instead of floating on 1.4 2016-01-19 17:08:34 -08:00
Minhan Xia
64d267f251 add docs for enabling tls for kube-registry 2016-01-19 17:02:30 -08:00
Minhan Xia
42ac5d2bd9 add docs about running private registry with gcs 2016-01-19 16:57:39 -08:00
Isaac Hollander McCreery
2794ee092f Add docs about [Feature:...] tests for experimental, beta, and GA features 2016-01-19 16:51:18 -08:00
Yu-Ju Hong
f1535a0d4c Don't handle graceful deletion of mirror pods in status manager 2016-01-19 16:47:57 -08:00
James DeFelice
75f487f7bf AbsPath should be compatible with proxy-prefixes:
- replace Config.Prefix with .Host and .APIPath
- Request .path promoted to .pathPrefix, .baseURL holds required prefix
2016-01-20 00:31:58 +00:00
Jeff Grafton
ad8ea35d94 Update kubekins-test image to include netcat 2016-01-19 16:24:58 -08:00
Jeff Grafton
62bc09adf3 Only return unprivileged ports in get_random_port and fix nc argument bug 2016-01-19 16:24:43 -08:00
Mike Danese
39c7ea57b0 test: make ValidateCount throw an error instead of a log
We can either fix it here or at every callsite. Every callsite is
currently using this method incorrectly.

Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-19 15:59:32 -08:00
Isaac Hollander McCreery
39e0703ae6 Merge pull request #19829 from ihmccreery/fix-serial
Fix serial jobs by using right project and using selectors properly
2016-01-19 14:34:13 -08:00
Sami Wagiaalla
70fceeff92 Relabel Security Context e2e 2016-01-19 16:49:42 -05:00
Brendan Burns
6504b74823 Merge pull request #19800 from justinsb/aws_update_vivid_amis
AWS: Update AMIs for Ubuntu Vivid
2016-01-19 13:13:55 -08:00
Eric Tune
4a3d4defdf Validate kubernetes.io/dockerconfigjson secrets
Added unit test.
2016-01-19 12:35:30 -08:00
Joe Finney
f47bdc8a5c Add kubemark tests to source control. 2016-01-19 11:20:59 -08:00