Kubernetes Submit Queue
ebb4b0f7c6
Merge pull request #46494 from xiangpengzhao/fix-pod-manifest
...
Automatic merge from submit-queue (batch tested with PRs 46782, 46719, 46339, 46609, 46494)
Do not log the content of pod manifest if parsing fails.
**What this PR does / why we need it**:
- ~~only accepts text/plain config file~~
- ~~not log config file content when it's invalid~~
Do not log the content of pod manifest if parsing fails.
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #46493
**Special notes for your reviewer**:
/cc @yujuhong
@sig-node-reviewers
**Release note**:
```release-note
NONE
```
2017-06-03 12:32:42 -07:00
xiangpengzhao
4ec3fc4e2a
Fix selfLinks of pods started from manifests
2017-05-31 11:11:59 +08:00
xiangpengzhao
4805252e0f
Do not log the content of pod manifest if parsing fails.
2017-05-31 11:03:46 +08:00
David Radcliffe
aa4fdf5907
use the base filename to check if the filename starts with a dot
2017-05-16 12:17:58 -04:00
Mike Danese
a05c3c0efd
autogenerated
2017-04-14 10:40:57 -07:00
Chao Xu
08aa712a6c
move helpers.go to helper
2017-04-11 15:49:11 -07:00
Random-Liu
fbc320af28
Use uid in config.go instead of pod full name.
2017-03-20 15:52:29 -07:00
Dawn Chen
d419efbe71
Fix unittest reflecting the default taint tolerations change for static
...
pods.
2017-03-17 14:06:34 -07:00
Dawn Chen
d26e906191
Apply taint tolerations for NoExecute for all static pods.
2017-03-17 09:50:27 -07:00
Harry Zhang
cba9a90fd1
Ignore file start with dots
2017-02-20 21:49:42 +08:00
Andrew Pilloud
3f8505022c
Use clientset.Interface for KubeClient
2017-02-03 07:36:16 -08:00
deads2k
8a12000402
move client/record
2017-01-31 19:14:13 -05:00
Dr. Stefan Schimanski
44ea6b3f30
Update generated files
2017-01-29 21:41:45 +01:00
Dr. Stefan Schimanski
79adb99a13
pkg/api: move Semantic equality to k8s.io/apimachinery/pkg/api/equality
2017-01-29 21:41:45 +01:00
deads2k
b0b156b381
make tools/cache authoritative
2017-01-25 08:29:45 -05:00
deads2k
5a8f075197
move authoritative client-go utils out of pkg
2017-01-24 08:59:18 -05:00
Clayton Coleman
9009c1ac14
generated: informer,client
2017-01-23 17:52:47 -05:00
Clayton Coleman
469df12038
refactor: move ListOptions references to metav1
2017-01-23 17:52:46 -05:00
Clayton Coleman
6ea557d4b2
Fix tests after new defaulted value added
2017-01-23 12:37:21 -05:00
deads2k
ee6752ef20
find and replace
2017-01-20 08:04:53 -05:00
Kubernetes Submit Queue
e9d4e4341c
Merge pull request #40087 from deads2k/generic-24-move-fields
...
Automatic merge from submit-queue
move pkg/fields to apimachinery
Purely mechanical move of `pkg/fields` to apimachinery.
Discussed with @lavalamp on slack. Moving this an `labels` to apimachinery.
@liggitt any concerns? I think the idea of field selection should become generic and this ends up shared between client and server, so this is a more logical location.
2017-01-19 08:48:17 -08:00
deads2k
11e8068d3f
move pkg/fields to apimachinery
2017-01-19 09:50:16 -05:00
Klaus Ma
c8c4b81963
Made multi-scheduler graduated to Beta and then v1.
2017-01-19 20:16:01 +08:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
Kubernetes Submit Queue
a6fa5c2bfd
Merge pull request #39814 from deads2k/api-58-multi-register
...
Automatic merge from submit-queue
replace global registry in apimachinery with global registry in k8s.io/kubernetes
We'd like to remove all globals, but our immediate problem is that a shared registry between k8s.io/kubernetes and k8s.io/client-go doesn't work. Since client-go makes a copy, we can actually keep a global registry with other globals in pkg/api for now.
@kubernetes/sig-api-machinery-misc @lavalamp @smarterclayton @sttts
2017-01-13 12:37:02 -08:00
deads2k
f1176d9c5c
mechanical repercussions
2017-01-13 08:27:14 -05:00
Kubernetes Submit Queue
082ce00eca
Merge pull request #39478 from rrati/pod-affinity-api-fields
...
Automatic merge from submit-queue (batch tested with PRs 39803, 39698, 39537, 39478)
[scheduling] Moved pod affinity and anti-affinity from annotations to api fields #25319
Converted pod affinity and anti-affinity from annotations to api fields
Related: #25319
Related: #34508
**Release note**:
```Pod affinity and anti-affinity has moved from annotations to api fields in the pod spec. Pod affinity or anti-affinity that is defined in the annotations will be ignored.```
2017-01-12 15:06:33 -08:00
Robert Rati
6a3ad93d6c
[scheduling] Moved pod affinity and anti-affinity from annotations to api
...
fields. #25319
2017-01-12 14:54:29 -05:00
NickrenREN
a12dea14e0
fix redundant alias clientset
2017-01-12 10:21:05 +08:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Jeff Grafton
20d221f75c
Enable auto-generating sources rules
2017-01-05 14:14:13 -08:00
Mike Danese
161c391f44
autogenerated
2016-12-29 13:04:10 -08:00
Robert Rati
91931c138e
[scheduling] Moved node affinity from annotations to api fields. #35518
2016-12-16 11:42:43 -05:00
Chao Xu
03d8820edc
rename /release_1_5 to /clientset
2016-12-14 12:39:48 -08:00
Mike Danese
c87de85347
autoupdate BUILD files
2016-12-12 13:30:07 -08:00
Jordan Liggitt
6819706adf
Pass addressable values to DeepCopy
2016-12-08 14:16:01 -05:00
Kubernetes Submit Queue
910912ea3b
Merge pull request #37364 from foxyriver/status-code
...
Automatic merge from submit-queue
use status code const to express http status
<!-- 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**:
Using status code const to express http status.
**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-12-07 22:47:46 -08:00
Clayton Coleman
3454a8d52c
refactor: update bazel, codec, and gofmt
2016-12-03 19:10:53 -05:00
Clayton Coleman
5df8cc39c9
refactor: generated
2016-12-03 19:10:46 -05:00
Chao Xu
8554d8e0db
fix concurrent read/write to map error caused by SetInitContainersAndStatuses in kubelet
2016-11-28 11:56:21 -08:00
foxyriver
ee6568a52a
use status code const to express http status
2016-11-24 09:07:04 +08:00
Chao Xu
bcc783c594
run hack/update-all.sh
2016-11-23 15:53:09 -08:00
Chao Xu
b50367cbdc
remove v1.Semantics
2016-11-23 15:53:09 -08:00
Chao Xu
5e1adf91df
cmd/kubelet
2016-11-23 15:53:09 -08:00
Clayton Coleman
ca2f1b87ad
Replace negotiation with a new method that can extract info
...
Alter how runtime.SerializeInfo is represented to simplify negotiation
and reduce the need to allocate during negotiation. Simplify the dynamic
client's logic around negotiating type. Add more tests for media type
handling where necessary.
2016-10-28 11:30:11 -04:00
Mike Danese
3b6a067afc
autogenerated
2016-10-21 17:32:32 -07:00
Jan Chaloupka
6079053407
Update clientset generator to use RESTClient interface instead of the RESTClient data type
2016-10-21 10:13:51 +02:00
deads2k
518d5500c7
remove testapi.Default.GroupVersion
2016-10-07 10:10:54 -04:00
MrHohn
dfa4e66b15
Fix #33784 , IN_CREATE event does not guarantee file content written
2016-10-03 15:07:08 -07:00
wu8685
4cedad1a9f
fix issue #27137 : kubelet detects pod manifest files in the directory using inotify
2016-09-28 10:34:56 +08:00
Justin Santa Barbara
54195d590f
Use strongly-typed types.NodeName for a node name
...
We had another bug where we confused the hostname with the NodeName.
To avoid this happening again, and to make the code more
self-documenting, we use types.NodeName (a typedef alias for string)
whenever we are referring to the Node.Name.
A tedious but mechanical commit therefore, to change all uses of the
node name to use types.NodeName
Also clean up some of the (many) places where the NodeName is referred
to as a hostname (not true on AWS), or an instanceID (not true on GCE),
etc.
2016-09-27 10:47:31 -04:00
Kubernetes Submit Queue
c4e2ade371
Merge pull request #31761 from ZTE-PaaS/zhangke-patch-032
...
Automatic merge from submit-queue
change sourcesSeenLock to sync.RWMutex
seenSources can be accessed concurrently
2016-09-05 23:58:27 -07:00
Ke Zhang
29edf62778
change sourcesSeenLock to sync.RWMutex
2016-08-31 09:10:14 +08:00
Jedrzej Nowak
9e51eea6a3
Fix various typos in pkg/kubelet
2016-08-30 22:57:47 +02:00
Clayton Coleman
5f8366aac3
Convert() should accept the new conversion Context value
...
Allows Convert() to reuse the same conversions as ConvertToVersion
without being overly coupled to the version.
2016-08-18 14:45:20 -04:00
Kubernetes Submit Queue
07b650e165
Merge pull request #29844 from ZTE-PaaS/zhangke-patch-013
...
Automatic merge from submit-queue
make the removing pods log standardized
2016-08-04 15:52:34 -07:00
Andrey Kurilin
9f1c3a4c56
Fix various typos in kubelet
2016-08-03 01:14:44 +03:00
Michal Rostecki
59ca5986dd
Print/log pointers of structs with %#v instead of %+v
...
There are many places in k8s where %+v is used to format a pointer
to struct, which isn't working as expected.
Fixes #26591
2016-08-01 22:27:56 +02:00
Ke Zhang
e143c38310
make the removing pods log standardized
2016-08-01 18:41:40 +08:00
k8s-merge-robot
3786701280
Merge pull request #28865 from ronnielai/image-gc-0
...
Automatic merge from submit-queue
Moving event.go from kubelet/container to kubelet/events
2016-07-18 22:54:03 -07:00
Davanum Srinivas
2b0ed014b7
Use Go canonical import paths
...
Add canonical imports only in existing doc.go files.
https://golang.org/doc/go1.4#canonicalimports
Fixes #29014
2016-07-16 13:48:21 -04:00
Ron Lai
e6b745122d
Moving event.go from kubelet/container to kubelet/events
2016-07-12 17:42:29 -07:00
k8s-merge-robot
72f6493376
Merge pull request #27349 from resouer/delete
...
Automatic merge from submit-queue
Generates DELETE pod update operations
fixes #27105
Generates DELETE pod update operations to make the code and log more intuitive.
1. main refactoring is in `kubelet/config`
2. kubelet will log if it received DELETE, just like other OPs
cc @Random-Liu :)
2016-07-12 01:04:35 -07:00
Harry Zhang
0d5dddcb71
Add DELETE event type
...
Signed-off-by: Harry Zhang <harryz@hyper.sh>
Combine delete with update
2016-07-12 14:08:01 +08:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
derekwaynecarr
582e662581
Clean-up sources ready tracking
2016-05-06 12:11:29 -04:00
zhouhaibing089
bf1a3f99c0
Uncomment the code that cause by #19254
2016-04-25 23:21:31 +08:00
Yu-Ju Hong
deafa44d61
kubelet: send all recevied pods in one update
...
The kubelet sync loop relies on getting one update as the signal that the
specific source is ready. This change ensures that we don't send multiple
updates (ADD, UPDATE) for the first batch of pods. This is required to prevent
the cleanup routine from killing pods prematurely.
2016-03-17 14:24:35 -07:00
Wojciech Tyczynski
525d14e0bc
Fix gofmt errors
2016-03-08 09:46:47 +01:00
k8s-merge-robot
0f335df106
Merge pull request #22192 from bprashanth/timeout_client
...
Auto commit by PR queue bot
2016-03-04 22:59:24 -08:00
Prashanth Balasubramanian
fe0f1121d5
Continue logging failure to contact metadata url, fix conn leak.
2016-02-29 12:47:19 -08:00
Kris
e664ef922f
Move restclient to its own package
2016-02-29 12:05:13 -08:00
laushinka
7ef585be22
Spelling fixes inspired by github.com/client9/misspell
2016-02-18 06:58:05 +07:00
Jan Chaloupka
4389b3f0d6
Rewritte util.* -> wait.* wherever reasonable
2016-02-07 12:02:20 +01:00
Chao Xu
184440f8ef
rename release_1_2 to internalclientset
2016-02-05 14:02:28 -08:00
Chao Xu
1b047f8e67
rename legacy to core
2016-02-04 14:26:56 -08:00
Chao Xu
f9f5736b01
grep sed
2016-02-03 13:06:07 -08:00
Chao Xu
cddd7b56a4
replace client with clientset in kubelet and other places
2016-02-02 20:28:45 -08:00
k8s-merge-robot
7e158006c0
Merge pull request #19940 from yujuhong/fix_update
...
Auto commit by PR queue bot
2016-02-01 13:35:54 -08:00
k8s-merge-robot
77dcd470d2
Merge pull request #20264 from Random-Liu/cleanup-config
...
Auto commit by PR queue bot
2016-01-30 12:06:04 -08:00
Random-Liu
488e14a5a9
Cleanup duplicated code in config.go
2016-01-28 01:04:35 -08:00
Fabio Yeon
7205a160ac
Remove all instances of "/tmp" from unit tests and replace with a common
...
tmp directory creator. Exception is documented.
2016-01-27 16:11:22 -08:00
Clayton Coleman
4a6935b31f
Remaining codec change refactors
2016-01-22 13:27:27 -05:00
Clayton Coleman
33085c0cf2
Update tests to handle codec changes
2016-01-22 13:27:26 -05:00
nikhiljindal
2ad642d370
Merge registered and latest and move to apimachinery
2016-01-21 14:42:21 -08:00
Yu-Ju Hong
0fada52788
Fix sending an empty update when the source is ready
2016-01-21 14:24:39 -08:00
Yu-Ju Hong
dc5b35a570
Set default status to pending for pods from non-apiserver sources
2016-01-20 09:36:01 -08:00
harry
98222b4d8b
Replace to tag
...
Use a testing pkg to replace testing util codes
2016-01-15 15:07:21 +08:00
k8s-merge-robot
0df7e695d4
Merge pull request #19458 from davidopp/notsclose
...
Auto commit by PR queue bot
2016-01-12 13:53:13 -08:00
k8s-merge-robot
67ac4e3838
Merge pull request #18410 from Random-Liu/reconcile-pod-status
...
Auto commit by PR queue bot
2016-01-12 02:17:09 -08:00
David Oppenheimer
8ac484793d
Comment out calls to httptest.Server.Close() to work around
...
https://github.com/golang/go/issues/12262 . See #19254 for
more details. This change should be reverted when we upgrade
to Go 1.6.
2016-01-11 23:02:11 -08:00
Random-Liu
5b4a210d49
Add reconcile support in kubelet
2016-01-10 01:35:07 -08:00
k8s-merge-robot
609cdfd267
Merge pull request #19331 from resouer/hash-util
...
Auto commit by PR queue bot
2016-01-09 13:08:01 -08:00
Yu-Ju Hong
712612c2dc
Treat first-seen, non-pending pods as updates
...
Kubelet doesn't perform checkpointing and loses all its internal states after
restarts. It'd then mistaken pods from the api server as new pods and attempt
to go through the admission process. This may result in pods being rejected
even though they are running on the node (e.g., out of disk situation). This
change adds a condition to check whether the pod was seen before and categorize
such pods as updates. The change also removes freeze/unfreeze mechanism used to
work around such cases, since it is no longer needed and it stopped working
correctly ever since we switched to incremental updates.
2016-01-08 17:21:43 -08:00
harry
2a52976983
Use hashutil to hold hash tools
2016-01-06 22:28:58 +08:00
Chao Xu
2b5b708b70
Refactor the API registration and installation
2015-12-23 22:44:25 -08:00
k8s-merge-robot
c2189fd60d
Merge pull request #18518 from Random-Liu/fix-potential-data-race
...
Auto commit by PR queue bot
2015-12-16 09:45:52 -08:00
deads2k
d0aaf13920
use constants for group names
2015-12-14 10:04:10 -05:00
Wojciech Tyczynski
960808bf08
Switch to versioned ListOptions in client.
2015-12-14 14:26:09 +01:00
Tim Hockin
7fb8f60735
Shorten names for better reading
2015-12-10 11:48:19 -08:00
Tim Hockin
87a35047dd
Move FieldPath and errors to a sub-package
...
This makes the naming and reading a lot simpler.
2015-12-10 11:48:16 -08:00
Random-Liu
eb551f388c
Fix potential data race
2015-12-10 10:35:02 -08:00
Wojciech Tyczynski
a915b8b29a
Merge pull request #18080 from wojtek-t/list_options_in_listwatch
...
Pass ListOptions to List in ListWatch.
2015-12-09 14:27:51 +01:00
deads2k
2ee3dfe415
update testapi to eliminate redundant fields
2015-12-07 15:54:26 -05:00
Wojciech Tyczynski
b0fcb5adef
Pass ListOptions to List in ListWatch.
2015-12-07 11:53:53 +01:00
k8s-merge-robot
810181fb7b
Merge pull request #17278 from ZJU-SEL/fix-nil-tag
...
Auto commit by PR queue bot
2015-12-06 12:52:39 -08:00
k8s-merge-robot
37d22999b4
Merge pull request #17572 from yujuhong/kubeutil
...
Auto commit by PR queue bot
2015-12-04 03:15:54 -08:00
Yu-Ju Hong
a4816b3bcb
Make kublet/util/format.go a separate package
...
The formatting function is used often in logging. This improves the readability
by shortening the length of the call. Also change the fomartted string to
include the pod UID.
2015-12-03 12:47:36 -08:00
Tim Hockin
e6df0b1a24
Convert validation to use FieldPath
...
Before this change we have a mish-mash of ways to pass field names around for
error generation. Sometimes string fieldnames, sometimes .Prefix(), sometimes
neither, often wrong names or not indexed when it should be.
Instead of that mess, this is part one of a couple of commits that will make it
more strongly typed and hopefully encourage correct behavior. At least you
will have to think about field names, which is better than nothing.
It turned out to be really hard to do this incrementally.
2015-12-03 08:19:44 -08:00
Chao Xu
6e192760e3
refactoring latest.go GroupVersion;
...
clean up latest.go GroupVersions;
remove latest.GroupMeta.Group;
remove latest.GroupMeta.Version.
2015-11-30 11:30:21 -08:00
Harry Zhang
5552d7007c
Add default when latest not claimed
2015-11-30 17:10:50 +08:00
k8s-merge-robot
3bd23b185b
Merge pull request #17730 from wojtek-t/use_unversioned_list_options_in_client
...
Auto commit by PR queue bot
2015-11-25 09:10:19 -08:00
k8s-merge-robot
3e56ce6490
Merge pull request #17327 from deads2k/gv-restmapper
...
Auto commit by PR queue bot
2015-11-24 19:08:49 -08:00
k8s-merge-robot
431c67710b
Merge pull request #17247 from thockin/airplane_validation_pt3
...
Auto commit by PR queue bot
2015-11-24 18:37:09 -08:00
Wojciech Tyczynski
b6ef62af24
Use unversioned.ListOptions in clients.
2015-11-24 16:52:09 +01:00
Avesh Agarwal
3d5207fd73
This commit adds type information to events.
...
This addresses issue #15624 .
2015-11-24 09:59:54 -05:00
deads2k
5077e9b644
make register.GroupVersion use GroupVersion
2015-11-24 09:45:36 -05:00
Tim Hockin
ceee678b29
Rename validation 'New' funcs
2015-11-23 10:01:43 -08:00
Tim Hockin
682f2a5a79
Stronger typing for validation ErrorList
2015-11-23 10:01:43 -08:00
Tim Hockin
0ff66da346
Move fielderrors into validation
2015-11-22 20:12:20 -08:00
jiangyaoguo
b0f0c294d9
make reasons constants with clarity
2015-11-09 23:42:14 +08:00
Wojciech Tyczynski
d47e21f19f
Reuse TCP connections in Reflector between resync periods.
2015-10-26 19:35:25 +01:00
Yu-Ju Hong
f8aa206ffa
Stores hash of pod manifest in mirror pod's annotation
...
Use the hash to track whether the mirror pod is a truthful representation of
the static pod.
2015-10-20 15:44:31 -07:00
eulerzgy
f8f9afb874
alias local packagename for pkg/util/errors
2015-10-18 09:37:46 +08:00
k8s-merge-robot
4736adee8f
Merge pull request #15621 from mesosphere/sttts-send-initial-set-to-get-seen
...
Auto commit by PR queue bot
2015-10-16 08:04:29 -07:00
eulerzgy
ea86e66fbe
Del capatical local packagename for kubeletUtil
2015-10-15 09:58:10 +08:00
Dr. Stefan Schimanski
651f02aec2
Add unit tests for first empty SET
2015-10-14 16:35:25 +02:00
Dr. Stefan Schimanski
7dddec6799
Switch to empty ADD PodUpdate for PodConfigNotificationIncremental mode
2015-10-14 15:38:44 +02:00
Dr. Stefan Schimanski
5cfeb53057
Enforce an initial empty SET PodConfig
...
In PodConfigNotificationIncremental PodConfig mode, when no pods are available
for a source, the Merge function correctly concluded that neither ADD, UPDATE nor
REMOVE updates are to be sent to the kubelet. But as a consequence the kubelet will
not mark that source as seen.
This is usually not a problem for the apiserver source. But it is a problem for
an empty "file" source, e.g. by passing an empty directory to the kubelet for
static pods. Then the file source will never be seen and the kubelet will stay
in its special not-all-source-seen mode.
2015-10-14 14:22:44 +02:00
Yu-Ju Hong
a3e60cc32e
Rename imported package local name kubeletTypes to kubetypes
...
According to the naming guidelines, package name should not include mixedCaps.
2015-10-09 10:24:31 -07:00
k8s-merge-robot
45cca144cb
Merge pull request #15167 from yujuhong/sources_seen
...
Auto commit by PR queue bot
2015-10-09 08:35:40 -07:00
Yu-Ju Hong
098ab05997
kubelet: move common types to kubelet/types
...
This would faciliate tasks such as moving code in pkg/kubelet to sub packages.
2015-10-08 14:38:01 -07:00
Yu-Ju Hong
5abdfcdfe6
kubelet: fix all sources ready condition
...
The current implementation considers a source seen when it receives a SET at
kubelet/config/config.go. However, the main kubelet sync loop may not have
received the pod update from the source via the channel. This change ensures
that kubelet would consider all sources are ready only after the sync loop has
seen all the sources.
2015-10-06 10:13:04 -07:00
Paul Morie
227dd82119
Add PodSecurityContext and backward compatibility tests
2015-10-05 21:05:27 -04:00
Salvatore Dario Minonne
32f56619a7
Partial fix for issue #14263
2015-09-25 15:29:00 +02:00
Brendan Burns
77fd388485
Increase a bunch of timeouts to reduce flakes
2015-09-23 11:09:03 -07:00
Nikhil Jindal
9e5ed1dc69
Merge pull request #13880 from yujuhong/fix_annotations
...
Fix source annotation in kubelet
2015-09-17 23:28:41 -07:00
Kris
f4ad00d9ae
Moving Status object to a common package
2015-09-17 14:09:53 -07:00
k8s-merge-robot
22f698f5b0
Merge pull request #13953 from liguangbo/change_iff_to_if_and_only_if
...
Auto commit by PR queue bot
2015-09-16 08:35:20 -07:00
liguangbo
4df68f03a3
change iff to if and only if to improve annotation readability
2015-09-16 08:29:36 +00:00
k8s-merge-robot
27e8a11378
Merge pull request #13916 from tmrts/refactor/iota
...
Auto commit by PR queue bot
2015-09-14 21:11:58 -07:00
Yu-Ju Hong
fb270779b5
kubelet: fix the config unit tests
2015-09-14 11:07:27 -07:00
Tamer Tas
6908790410
Add a default value to PodConfigNotificationMode
2015-09-14 15:00:01 +03:00
Chao Xu
0b6fd8c5c4
fixing tests
2015-09-11 17:33:22 -07:00
Chao Xu
dd6c121d7f
massive changes
2015-09-11 17:31:47 -07:00
Yu-Ju Hong
2816c9df78
config_test: clean up unused function arguements
2015-09-11 17:18:29 -07:00
Yu-Ju Hong
69c3aa0872
Fix source annotation in kubelet
...
kubelet relies on source annotation to distinguish pods from different sources.
It should always annotate the source when receiving the pod to avoid any
confusion. This commit fixes that and also make sure we don't overwrite the
first seen time.
2015-09-11 14:52:16 -07:00
Daniel Smith
b225c1d47a
Run gofmt (separate commit for easy rebases)
2015-09-10 17:17:59 -07:00
Daniel Smith
15b30b8b09
Move version agnostic parts of client
...
pkg/client/unversioned/cache -> pkg/client/cache
pkg/client/unversioned/record -> pkg/client/record
2015-09-10 17:17:59 -07:00
tummychow
78ce5da988
Move util.StringSet into its own package
...
A lot of packages use StringSet, but they don't use anything else from
the util package. Moving StringSet into another package will shrink
their dependency trees significantly.
2015-09-10 12:04:15 -07:00