Commit Graph

28514 Commits

Author SHA1 Message Date
k8s-merge-robot
f29d597d02 Merge pull request #25052 from ixdy/build-image-name-in-docker
Automatic merge from submit-queue

Use HOSTNAME in Docker build image tag hash

Fixes #24661 by including `$HOSTNAME` when generating the build image tag hash.

When running the verification checks under Docker, the `$KUBE_ROOT` will be identical across builds, so tags will collide unless we add additional uniqueness. By default, the hostname inside a Docker container is its ID, which should be unique enough for us.

I also deleted a misleading error message from the same check.

@kubernetes/sig-testing
2016-05-03 02:00:52 -07:00
k8s-merge-robot
9ded9cd936 Merge pull request #25029 from mikedanese/dns-fix
Automatic merge from submit-queue

revert the vsphere change to skydns plugin

Fixes #25020
2016-05-03 01:25:42 -07:00
Hongchao Deng
84c07b0bbf etcd3/store: userUpdate error should be returned 2016-05-03 14:42:29 +08:00
dlorenc
bc9877be3e Make flags hyphenated instead of using underscores. 2016-05-02 21:45:09 -07:00
dlorenc
e1c5791631 Add several arguments to boilerplate.py
This commit makes the root directory, boilerplate content directory and
the directories to skip configurable.

The defaults have remained the same, so no behavior changes should be expected.
2016-05-02 21:45:04 -07:00
k8s-merge-robot
49bf9d39bc Merge pull request #25044 from XiaoningDing/federation-apiserver-change-test-port
Automatic merge from submit-queue

change port of tests for federated-apiserver to avoid conflict

fix #24952, change port to 8082 on test
@nikhiljindal

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-05-02 21:33:39 -07:00
k8s-merge-robot
60db507b27 Merge pull request #24942 from ihmccreery/130-alpha3
Automatic merge from submit-queue

Update CHANGELOG.md for v1.3.0-alpha.3.
2016-05-02 19:18:22 -07:00
Gao Zheng
c75cb94be6 Squashed commit of the following:
commit 7bf1a05f61b78196c8d272e0d55980ba2254e81d
Author: gaozheng <gaozheng0123@163.com>
Date:   Thu Apr 28 01:23:42 2016 +0000

    fix gofmt

commit 54f6fa6ca76ee0fc5c4f8609fb2f875111ce2141
Author: Gao Zheng <gaozheng0123@163.com>
Date:   Sat Apr 23 13:09:41 2016 +0000

    reset session affinity if endpoint is unconnected
2016-05-03 01:36:32 +00:00
Jeff Grafton
83ac3ea0c9 Make comment explain why we need sudo
Also make the check more correct and quieter.
2016-05-02 16:25:03 -07:00
Random-Liu
4cca5b2290 Use fake clock in TestGetPodsToSync to fix flake. 2016-05-02 16:05:36 -07:00
Jeff Grafton
0f041382ee Use HOSTNAME in Docker build image tag hash
Additionally, use REPO_DIR in update-generated-protobuf, since this
should be more unique (when set).
2016-05-02 16:03:27 -07:00
Joe Finney
3da5c69307 Move test history into the test-infra repo. 2016-05-02 15:31:00 -07:00
Daniel Wang
f355222060 e2e-runner.sh: Ability to fetch multiple types of Trusty images 2016-05-02 15:20:19 -07:00
Clayton Coleman
99430cf5de
Strip side-effect imports from generated protobuf 2016-05-02 18:12:20 -04:00
Clayton Coleman
c4b192b67b
Protobuf generation should strip empty-imports
The imports are generated because the packages are in the search tree,
but nothing in the generated code needs them. For now, strip them.
2016-05-02 18:12:20 -04:00
Yu-Ju Hong
43fc67a5f6 kubelet: do not force update the runtime cache
Pod workers don't rely on the old runtime cache to sync pods anymore. There is
no need to force update the cache on every container event.
2016-05-02 15:10:00 -07:00
Jeff Grafton
3a4f179c75 Merge pull request #24949 from spxtr/remove-jjb
Remove JJB scripts and configs.
2016-05-02 15:04:18 -07:00
Joe Finney
f128b30318 Use v1.6.2-1 tag for build. 2016-05-02 14:43:06 -07:00
Joe Finney
60d50d7253 Update Jenkins README to point to test-infra. 2016-05-02 13:43:35 -07:00
Joe Finney
df832d15ce Remove Jenkins Job Builder scripts and configs. 2016-05-02 13:43:35 -07:00
k8s-merge-robot
879c1807c8 Merge pull request #24821 from freehan/kubenetmutex
Automatic merge from submit-queue

add mutex for kubenet

I saw a bunch of weird cases in kubenet suite. For instance, SetUpPod return successfully, but right after that, kubelet cannot retrieve podIP from podCIDR map.


cc: @dcbw @thockin 

ref: #24211
2016-05-02 13:16:23 -07:00
k8s-merge-robot
926ee5b90f Merge pull request #24641 from caesarxuchao/pods-test
Automatic merge from submit-queue

move pods.go to pods_test.go

fix #24635
2016-05-02 13:16:20 -07:00
k8s-merge-robot
708c1a5c95 Merge pull request #24636 from ixdy/dockerized-e2e
Automatic merge from submit-queue

Run Kubemark builds inside Docker

Since Docker-in-Docker is tricky to get right (esp. wrt volume mounts), I'm only enabling it when necessary for a build (e.g. for kubemark).

cc @spxtr @fejta @wojtek-t
2016-05-02 13:16:18 -07:00
Derek Parker
a7f4402e41 docs: Update self-hosted proposal 2016-05-02 12:09:37 -07:00
saadali
53bb527e35 Introduce a data structure for managing go routines by unique name. 2016-05-02 12:02:34 -07:00
Derek Parker
8db2677e9e docs: Update proposal to address node draining 2016-05-02 11:49:43 -07:00
Derek Parker
73973b429d docs: Update proposal based on feedback 2016-05-02 11:49:43 -07:00
Derek Parker
2588d2516b docs: update docs after running hack script 2016-05-02 11:49:43 -07:00
Derek Parker
aafb96a21c docs: update self-hosted proposal 2016-05-02 11:49:43 -07:00
Derek Parker
1d13a82e32 docs: Self-hosted Kubelet proposal
Provides a proposal for changes needed with Kubernetes to allow for a
self-hosted Kubelet bootstrap.
2016-05-02 11:49:43 -07:00
Andy Goldstein
e630070078 Fix node e2e startServer failure output
Correct the display of the output when e.g. starting the kubelet fails in the node e2e tests. This
change makes it display a string instead of an array of decimal values.
2016-05-02 14:30:59 -04:00
jianhuiz
e5bb7559b5 change port of tests for federated-apiserver to avoid conflict 2016-05-02 11:25:45 -07:00
k8s-merge-robot
928990730e Merge pull request #24457 from leokhoa/master
Automatic merge from submit-queue

AWS: Add support for ap-northeast-2 region (Seoul)

This PR does:
- Support AWS Seoul region: ap-northeast-2. 
Currently, I can not setup Kubernetes on AWS Seoul.  
Error Messages: 

> 
> ip-10-0-0-50 core # docker logs 0697db
> I0419 07:57:44.569174       1 aws.go:466] Zone not specified in configuration file; querying AWS metadata service
> F0419 07:57:44.570380       1 controllermanager.go:279] Cloud provider could not be initialized: could not init cloud provider "aws": not a valid AWS zone (unknown region): ap-northeast-2a
2016-05-02 09:46:47 -07:00
k8s-merge-robot
f500194d92 Merge pull request #23673 from metral/multiple-resources
Automatic merge from submit-queue

allow kubectl subcmds to process multiple resources

~~autoscale, expose & patch~~ Many kubectl subcommands were limited to processing one resource at a time.

This PR allows those subcommands to process multiple resources.

This PR is in reference to https://github.com/kubernetes/kubernetes/pull/23116#issuecomment-202360784 by @deads2k
2016-05-02 07:09:44 -07:00
Michail Kargakis
a25088fe15 kubectl: more sophisticated pod selection for logs and attach 2016-05-02 15:56:36 +02:00
k8s-merge-robot
c6157a2356 Merge pull request #24266 from spxtr/1.6.1
Automatic merge from submit-queue

Up to go 1.6.2 for build and test.

~~1.6.1 contains some security fixes. 1.6.2 should be out soon.~~ 1.6.2 is out :D

Images aren't pushed yet.
2016-05-02 05:23:16 -07:00
k8s-merge-robot
cbb0d32868 Merge pull request #24113 from timstclair/docker11-godeps
Automatic merge from submit-queue

Update cAdvisor & go-dockerclient for docker v1.11 compatability
2016-05-02 04:46:05 -07:00
k8s-merge-robot
c66b2b4e05 Merge pull request #23865 from rhcarvalho/unify-signal-handling
Automatic merge from submit-queue

Unify termination signal handling across platforms

The signals are used to ensure proper execution of cleaning up actions to restore a terminal in:
- [pkg/kubectl/cmd/attach.go#L163-L226](b8d000853e/pkg/kubectl/cmd/attach.go (L163-L226))
- [pkg/kubectl/cmd/util/editor/editor.go#L112-L137](b8d000853e/pkg/kubectl/cmd/util/editor/editor.go (L112-L137))

All supported platforms can handle the same set of signals we're interested in, thus we don't need build contraints to use a set of signals on Linux, while restricting ourselves to only SIGINT on Darwin and Windows.

According to the documentation of os/signal, similar to SIGINT and SIGTERM, SIGHUP causes the program to exit, therefore add it to the list of handled signals.

The fist commit is part of #23643.
2016-05-02 04:09:25 -07:00
k8s-merge-robot
66730c53c5 Merge pull request #24445 from vishh/framework-node-e2e
Automatic merge from submit-queue

Framework support for node e2e.

This should let us port existing e2e tests to the node e2e suite, if the tests are node specific.
2016-05-02 02:17:48 -07:00
Michail Kargakis
dbc1e356d3 kubectl: remove dead factory code 2016-05-02 11:03:44 +02:00
k8s-merge-robot
8fba6de835 Merge pull request #24117 from XiaoningDing/federation-client
Automatic merge from submit-queue

Federation client for cluster

generate v1alpha1 and unversioned client for federation/clusters

#23653, requires #23847, #23998

@nikhiljindal @quinton-hoole @caesarxuchao
2016-05-02 01:41:08 -07:00
Yifan Gu
d705cc5cf8 e2e_node: Disable auto restart on CoreOS. 2016-05-01 23:48:16 -07:00
Mike Metral
999c8e211e allow kubectl subcmds to process multiple resources
- use resource.Visit() to recursively process resources, as well as, aggregate
errors where possible
2016-05-01 20:27:37 -07:00
Mike Danese
181e95c073 rever the vspeher change to skydns plugin 2016-05-01 14:56:57 -07:00
Xiangpeng Zhao
d27127aaf8 Rename a func in order to be difference with variable
Rename `defaultSecurityOpt` to `getDefaultSecurityOpt`
2016-05-02 03:02:49 +08:00
Klaus Ma
59bab9bde4 Corrected cassandra example's indent. 2016-05-01 21:05:13 +08:00
Clayton Coleman
84dee0d9cc
Frame decoder was checking cap(), not len()
Resulted in bytes being missing from the streaming decoder. Update both
parts.
2016-04-30 17:57:17 -04:00
k8s-merge-robot
b930d58fcb Merge pull request #24994 from pmorie/kubectl-configmap
Automatic merge from submit-queue

Fix `kubectl create configmap` help

Resurrection of #23290

cc @bgrant0607 @janetkuo @ncdc
2016-04-29 23:09:42 -07:00
Jordan Liggitt
e41d504739 Move ThirdPartyResource to root scoped object 2016-04-30 01:06:07 -04:00
k8s-merge-robot
ee2a0694b6 Merge pull request #24872 from smarterclayton/propogate_int_types
Automatic merge from submit-queue

Convert internal types to use exact precision integers

This makes conversion more suitable for future optimizations, and we need to stop pretending for some of our internal types that the width of the int doesn't matter.

@wojtek-t
2016-04-29 18:50:37 -07:00