Janet Kuo
b47508700c
(Auto-gen) Update bazel
2016-11-15 16:14:02 -08:00
Kubernetes Submit Queue
fedf17826b
Merge pull request #36738 from wojtek-t/fix_rollback_etcd3
...
Automatic merge from submit-queue
Remove v2 data before etcd rollback
Fix #36555
2016-11-15 16:09:15 -08:00
Kubernetes Submit Queue
bfee66124c
Merge pull request #36834 from fejta/gotest
...
Automatic merge from submit-queue
Delete gotest-dockerized
This file moved to kubernetes/test-infra
2016-11-15 16:09:06 -08:00
Kubernetes Submit Queue
0bd5bd60ac
Merge pull request #36812 from jakub-d/master
...
Automatic merge from submit-queue
Change ScheduledJob POD name suffix from hash to Unix Epoch
**What this PR does / why we need it**:
There is a bug in a ScheduledJob POD suffix hash function (#34447 ). If you generate more than ~20 PODs you will start having collisions. Here is the code which proves that:
```
package main
import "fmt"
import "time"
import "hash/adler32"
import hashutil "k8s.io/kubernetes/pkg/util/hash"
func main() {
start_time, _ := time.Parse("2006-Jan-02", "2016-Nov-14")
var hits map[uint32]int = make(map[uint32]int)
fmt.Println("| Date | Epoch | Hash | Hits |")
fmt.Println("| --------------- | ---------- | --- | ---- |")
for i:=0; i<30; i++ {
dt:=start_time.Add(time.Duration(i*5)*time.Minute)
hdt:=getTimeHash(dt)
_, ok := hits[hdt]
if ! ok {
hits[hdt]=0
}
hits[hdt]++
fmt.Printf("| %s | %d | %d | %d |\n",dt.Format(time.Stamp), dt.Unix(), hdt, hits[hdt])
}
}
func getTimeHash(tm time.Time) uint32 {
timeHasher := adler32.New()
hashutil.DeepHashObject(timeHasher, tm)
return timeHasher.Sum32()
}
```
The ouptut is:
| Date | Epoch | Hash | Hits |
| --------------- | ---------- | --- | ---- |
| Nov 14 00:00:00 | 1479081600 | 4175643772 | 1 |
| Nov 14 00:05:00 | 1479081900 | **4209853567** | 1 |
| Nov 14 00:10:00 | 1479082200 | **4141499513** | 1 |
| Nov 14 00:15:00 | 1479082500 | 4175709308 | 1 |
| Nov 14 00:20:00 | 1479082800 | 4209919103 | 1 |
| Nov 14 00:25:00 | 1479083100 | 4244128898 | 1 |
| Nov 14 00:30:00 | 1479083400 | 4072621171 | 1 |
| Nov 14 00:35:00 | 1479083700 | 4106830966 | 1 |
| Nov 14 00:40:00 | 1479084000 | 4141040761 | 1 |
| Nov 14 00:45:00 | 1479084300 | 4072686707 | 1 |
| Nov 14 00:50:00 | 1479084600 | 4106896502 | 1 |
| Nov 14 00:55:00 | 1479084900 | 4141106297 | 1 |
| Nov 14 01:00:00 | 1479085200 | 4072752243 | 1 |
| Nov 14 01:05:00 | 1479085500 | 4106962038 | 1 |
| Nov 14 01:10:00 | 1479085800 | 4141171833 | 1 |
| Nov 14 01:15:00 | 1479086100 | 4175381628 | 1 |
| Nov 14 01:20:00 | 1479086400 | 4107027574 | 1 |
| Nov 14 01:25:00 | 1479086700 | 4141237369 | 1 |
| Nov 14 01:30:00 | 1479087000 | 4175447164 | 1 |
| Nov 14 01:35:00 | 1479087300 | 4107093110 | 1 |
| Nov 14 01:40:00 | 1479087600 | 4141302905 | 1 |
| Nov 14 01:45:00 | 1479087900 | 4175512700 | 1 |
| Nov 14 01:50:00 | 1479088200 | 4107158646 | 1 |
| Nov 14 01:55:00 | 1479088500 | 4141368441 | 1 |
| Nov 14 02:00:00 | 1479088800 | 4175578236 | 1 |
| Nov 14 02:05:00 | 1479089100 | 4209788031 | 1 |
| Nov 14 02:10:00 | 1479089400 | 4141433977 | 1 |
| Nov 14 02:15:00 | 1479089700 | 4175643772 | 2 |
| Nov 14 02:20:00 | 1479090000 | **4209853567** | 2 |
| Nov 14 02:25:00 | 1479090300 | **4141499513** | 2 |
This PR is a proposal to abandon hashes and use Unix Epoch times instead.
Cons:
* It's easy to sort PODs this way
* The length of the Epoch time stamp is the same as the length of the current hash
* As it's epoch - we won't have collisions
**Which issue this PR fixes**
fixes #34447
2016-11-15 16:08:55 -08:00
Tim Hockin
69323c3c39
List generated files for the github size munger
...
This list used to exist in the github munger tree, but that tool should be more
generic. This needs to live near the code.
2016-11-15 15:47:22 -08:00
Matt Liggett
fd289c2d55
Add debug logging to all etcd migration operations.
2016-11-15 15:41:42 -08:00
Janet Kuo
45de9fbe34
Add e2e test for statefulset updates
2016-11-15 14:55:08 -08:00
Mandar U Jog
3fdc343a98
Handle Empty clusterCIDR
...
Empty clusterCIDR causes invalid rules generation.
Fixes issue #36652
2016-11-15 14:34:25 -08:00
Cole Mickens
6357c391f9
azure: support nics with multiple ipconfigs
2016-11-15 13:25:58 -08:00
Erick Fejta
92843728bd
Delete gotest-dockerized
2016-11-15 13:11:04 -08:00
Kubernetes Submit Queue
d51e27fe96
Merge pull request #36294 from madhusudancs/federation-kubefed-init-10d
...
Automatic merge from submit-queue
[Federation][init-10d] Use the right service names in controller manager.
Please review only the last commit here. This is based on PR #36048 which will be reviewed independently.
Design Doc: PR #34484
cc @kubernetes/sig-cluster-federation @nikhiljindal
2016-11-15 12:49:40 -08:00
Kubernetes Submit Queue
f4ea8d70e7
Merge pull request #36830 from mikedanese/doc-fix
...
Automatic merge from submit-queue
regenerate kubectl certificate docs
@bgrant0607
2016-11-15 12:07:41 -08:00
Kubernetes Submit Queue
09a6da3207
Merge pull request #36741 from wojtek-t/fix_migration_ports
...
Automatic merge from submit-queue
Fix ports in migration script
This may fix problems with migration that you observed.
2016-11-15 12:07:31 -08:00
sebgoa
db98a18898
Additional cleanups and addressing review
2016-11-15 20:55:42 +01:00
Kubernetes Submit Queue
d60d9f3269
Merge pull request #36674 from janetkuo/pull-request-template
...
Automatic merge from submit-queue
Fix PR template
<!-- 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**: Fix PR template for closing issues with PRs, see https://github.com/kubernetes/kubernetes/issues/32398#issuecomment-260073026
cc @ymqytw
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
**Special notes for your reviewer**:
**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`.
-->
```release-note
```
2016-11-15 11:23:02 -08:00
Kubernetes Submit Queue
f0aba3d6fe
Merge pull request #35811 from dashpole/garbage_collect_testing
...
Automatic merge from submit-queue
Garbage collection tests the MaxPerPodContainers and MaxContainers constraints
This is the first version of this test. It tests that containers are garbage collected according to the default configuration.
2016-11-15 11:22:52 -08:00
Mike Danese
2fd0b74bce
regenerate kubectl certificate docs
2016-11-15 11:10:47 -08:00
Kubernetes Submit Queue
98c68947ee
Merge pull request #36549 from cjcullen/closetunnel
...
Automatic merge from submit-queue
Close tunnels after failed healthchecks.
When we fail an ssh-tunnel healthcheck, we currently leak a file descriptor keeping the SSH connection open.
This closes the underlying tunnel before removing our pointer to it. It is possible that the tunnel was functional, but the healthcheck failed for some other reason (e.g. kubelet healthz down), which could close an in-use tunnel, but I think that is acceptable.
2016-11-15 10:42:53 -08:00
Madhusudan.C.S
2f00e0eeba
[Federation][init-10d] Use the right service and dns provider names in controller manager.
2016-11-15 10:42:31 -08:00
David Ashpole
f6224590f7
Test Container Garbage Collection
2016-11-15 09:15:31 -08:00
Eric Tune
70c4ece873
Fix typo: cloud -> gcloud in cluster/gce/util.sh
2016-11-15 09:13:40 -08:00
Kubernetes Submit Queue
2110f72e4c
Merge pull request #36800 from mdshuai/update-cgroups-per-qos
...
Automatic merge from submit-queue
[kubelet]update some --cgroups-per-qos to --experimental-cgroups-per-qos
Follow https://github.com/kubernetes/kubernetes/pull/36767 , there are some fields still need update in docs or hack/local-up-cluster.sh
2016-11-15 08:54:29 -08:00
Michael Taufen
6c5b4761c8
K8s 1.5 keeps container-vm as default node image on GCE
...
There is a concern that some GCE users may be running automation that
(a) turns up ephemeral clusters and (b) always uses the latest K8s
release. If any of these workloads fall outside the set supported on
GCI, cutting the release will break the automation. We are therefore
delaying this change until we have provided sufficient warning.
2016-11-15 08:34:10 -08:00
Dlugolecki, Jakub
d1896a695f
Change ScheduledJob POD name suffix from hash to Unix Epoch
2016-11-15 17:25:32 +01:00
Jan Safranek
76755034a1
Fix recycler pod deletion race.
...
We should use clone of recycler pod template instead of reusing the same
one for two or more recyclers running in parallel.
Also add some logs to relevant places to spot the error easily next time.
2016-11-15 17:22:32 +01:00
gmarek
7439a956ef
Add ServiceAccounts to Kubemark
2016-11-15 16:03:48 +01:00
Kevin
6211669a19
fix kubectl taint test flake
2016-11-15 23:02:48 +08:00
sebgoa
ec02f3bcc3
improve readme for contributor experience
2016-11-15 15:02:29 +01:00
Kubernetes Submit Queue
2bd8bb2699
Merge pull request #34873 from k82cn/k8s_34633
...
Automatic merge from submit-queue
Set non-zero exit code on failures for kubectl
fixes #34633
/cc @AdoHe
2016-11-15 03:40:53 -08:00
Kubernetes Submit Queue
b2cd67c31f
Merge pull request #36756 from gmarek/contention
...
Automatic merge from submit-queue
Add a flag allowing contention profiling of the API server
Useful for performance debugging.
cc @smarterclayton @timothysc @lavalamp
```release-note
Add a flag allowing contention profiling of the API server
```
2016-11-15 03:04:27 -08:00
Marko Luksa
389478f312
Improved validation error message when env.valueFrom contains no (or misspelled) ref
2016-11-15 10:36:34 +01:00
Wojciech Tyczynski
2bccbafb6d
Set --name flag in etcd migration script
2016-11-15 10:27:02 +01:00
Marko Luksa
d8ec7181b4
Improved validation error message when env.valueFrom contains no (or misspelled) ref
2016-11-15 10:08:47 +01:00
Kubernetes Submit Queue
05d067d6bb
Merge pull request #36210 from justinsb/flex_node_conditions
...
Automatic merge from submit-queue
Avoid hard-coding list of Node Conditions
2016-11-15 01:02:01 -08:00
Tim Hockin
6e3dfacb6e
Merge pull request #36366 from dims/fix-issue-36314
...
Fix broken link for docker install
2016-11-15 09:34:57 +01:00
Wojciech Tyczynski
c42729e967
Remove v2 data before etcd rollback
2016-11-15 09:03:49 +01:00
mdshuai
2189acdd4f
[kubelet]update --cgroups-per-qos to --experimental-cgroups-per-qos
2016-11-15 15:55:47 +08:00
Tim Hockin
7183042af9
tweak generated owenrs
2016-11-15 08:53:16 +01:00
Tim Hockin
19dd9c1271
Reduce to folks with context
2016-11-15 08:51:12 +01:00
Tim Hockin
1aeecd7847
Reduce to people with context
2016-11-15 08:50:14 +01:00
Tim Hockin
5bcaa09a5a
Trim to folks with context
2016-11-15 08:49:30 +01:00
Tim Hockin
4caa6e0b78
Trim down to the folks I think have real context
2016-11-15 08:48:31 +01:00
Kubernetes Submit Queue
79fc0a95a0
Merge pull request #35543 from philips/improve-version
...
Automatic merge from submit-queue
kubectl: add less verbose version
The kubectl version output is very complex and makes it hard for users
and vendors to give actionable information. For example during the
recent Kubernetes 1.4.3 TLS security scramble I had to write a one-liner
for users to get out the version number to give to figure out if they
are vulnerable:
```
$ kubectl version | grep -i Server | sed -n 's%.*GitVersion:"\([^"]*\).*%\1%p'
```
Instead this patch outputs simply output by default
```
./kubectl version
Client Version: v1.4.3
Server Version: v1.4.3
```
Adding the `--verbose` flag will output the old format.
2016-11-14 22:39:21 -08:00
Kubernetes Submit Queue
d8fa4f4d56
Merge pull request #35897 from k82cn/fix_mac_build
...
Automatic merge from submit-queue
Fixed failed build on Mac.
fixed build error on Mac.
2016-11-14 20:42:50 -08:00
shashidharatd
a779aca11d
Handle comments on upgrade tests
2016-11-15 09:59:51 +05:30
shashidharatd
a4f614f2db
Add Jobs to k8s upgrade tests
2016-11-15 09:59:51 +05:30
shashidharatd
e3840da83d
Add Daemonset to k8s upgrade tests
2016-11-15 09:59:51 +05:30
shashidharatd
bade01694a
Add Guestbook App to k8s upgrade tests
2016-11-15 09:59:51 +05:30
shashidharatd
4bbd40441f
Add ConfigMaps to k8s upgrade tests
2016-11-15 09:59:51 +05:30
shashidharatd
7380c1fe76
Add Secrets to k8s upgrade tests
2016-11-15 09:59:51 +05:30