Yu-Ju Hong
fda73c04ec
Change to include UID by default in formatting
2015-12-07 13:32:02 -08:00
Brendan Burns
9574a4b782
Switch to KindToResource for ThirdPartyResourceData
2015-12-07 12:54:41 -08:00
deads2k
2ee3dfe415
update testapi to eliminate redundant fields
2015-12-07 15:54:26 -05:00
k8s-merge-robot
ec1ba7438f
Merge pull request #17796 from deads2k/gv-object-typer
...
Auto commit by PR queue bot
2015-12-07 12:34:55 -08:00
k8s-merge-robot
dc4bc2a566
Merge pull request #18024 from deads2k/gv-kubectl02
...
Auto commit by PR queue bot
2015-12-07 11:47:40 -08:00
Yu-Ju Hong
e0d9ccde65
Minor clean up on checking container runtime status
...
Remove redundant function and consolidate the code.
2015-12-07 11:13:59 -08:00
k8s-merge-robot
0ed4dc55af
Merge pull request #17972 from deads2k/gv-admission
...
Auto commit by PR queue bot
2015-12-07 11:12:27 -08:00
Fabio Yeon
5457f5ace2
Merge pull request #18240 from timstclair/readiness
...
Update PodReady condition when updating container readiness
2015-12-07 10:43:22 -08:00
Abhi Shah
bb3f49e526
Merge pull request #18089 from ArtfulCoder/oneNSAgain
...
SkyDNS is the only NS for Pods with DNSPolicy=ClusterFirst
2015-12-07 10:20:29 -08:00
deads2k
66eecb963a
update more kubectl bits for groupversion
2015-12-07 09:01:44 -05:00
deads2k
3f045cf168
udpate admission for API groups
2015-12-07 08:55:01 -05:00
deads2k
f764e0099c
Update ObjectTyper to GroupVersion
2015-12-07 08:35:05 -05:00
Wojciech Tyczynski
b0fcb5adef
Pass ListOptions to List in ListWatch.
2015-12-07 11:53:53 +01:00
k8s-merge-robot
316a8ac41c
Merge pull request #18073 from ingvagabund/garbage-collector-low-high-threshold-test
...
Auto commit by PR queue bot
2015-12-07 02:10:57 -08:00
Wojciech Tyczynski
793da62c7f
Change resourceVersion to string in storage.Interface
2015-12-07 09:22:59 +01:00
Wojciech Tyczynski
788218d7bb
Better traces for api calls.
2015-12-07 09:15:54 +01:00
Tamer Tas
5ac372dfce
Alphabetize kubectl resource shortcuts list
2015-12-07 06:05:42 +02:00
jiangyaoguo
5f77f2b5a9
make PodContainerSpecChange private
2015-12-07 09:28:15 +08: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
db11f1b6c6
Merge pull request #17133 from derekwaynecarr/quota_controller_improvements
...
Auto commit by PR queue bot
2015-12-06 12:24:00 -08:00
k8s-merge-robot
c6b59353e1
Merge pull request #18022 from deads2k/gv-request
...
Auto commit by PR queue bot
2015-12-05 22:38:40 -08:00
k8s-merge-robot
8e496e3fa3
Merge pull request #18015 from wojtek-t/list_traces
...
Auto commit by PR queue bot
2015-12-05 22:10:01 -08:00
Chao Xu
c07c9dd450
let --version flag be treated as --version=true
2015-12-05 17:18:44 -08:00
Clayton Coleman
ac9fd648d3
Strip go2idl instructions from generated swagger doc
...
Ignore doc lines starting with +
2015-12-05 18:15:49 -05:00
Clayton Coleman
a512d83a87
Skip SetVersionAndKind for ConvertToVersion to internal
2015-12-05 18:15:48 -05:00
Clayton Coleman
9fea762917
Add protobuf preparation objects, guarded by proto tag
2015-12-05 18:15:48 -05:00
k8s-merge-robot
e2679abdb8
Merge pull request #18011 from sdminonne/podSelector_labelSelector
...
Auto commit by PR queue bot
2015-12-05 13:56:04 -08:00
k8s-merge-robot
fc92833238
Merge pull request #17973 from liggitt/validate_node_name
...
Auto commit by PR queue bot
2015-12-05 13:23:26 -08:00
k8s-merge-robot
e1230eb57e
Merge pull request #17420 from Random-Liu/use-raw-pod-status-in-docker
...
Auto commit by PR queue bot
2015-12-05 12:16:04 -08:00
k8s-merge-robot
50af1d6550
Merge pull request #17756 from zhengguoyong/check_ref_before_use
...
Auto commit by PR queue bot
2015-12-05 10:52:56 -08:00
k8s-merge-robot
510949261a
Merge pull request #17752 from yujuhong/docker_health
...
Auto commit by PR queue bot
2015-12-05 10:24:48 -08:00
Jordan Liggitt
7d10fd3591
Validate pod spec.nodeName
2015-12-05 11:34:09 -05:00
k8s-merge-robot
ab35fff6f0
Merge pull request #18234 from krousey/clienttest
...
Auto commit by PR queue bot
2015-12-05 07:36:34 -08:00
k8s-merge-robot
2f4d4d9e94
Merge pull request #17968 from dgonyeo/rkt_api_list_images
...
Auto commit by PR queue bot
2015-12-05 05:50:06 -08:00
k8s-merge-robot
3180b00f6c
Merge pull request #17673 from hongchaodeng/metrics
...
Auto commit by PR queue bot
2015-12-05 05:30:08 -08:00
Daniel Martí
5ec087fa30
Properly close http connection on TestList
...
If not, using `go test -count=n` would make them pile up and ultimately
get to the limit of open files:
apiserver_test.go:984: 17: unexpected error: Get http://127.0.0.1:44131/apis/test.group/version/simple : dial tcp 127.0.0.1:44131: socket: too many open files
Steps to reproduce (no longer fails):
godep go test -short -run '^$' -o test .
./test -test.run '^TestList$' -test.count 100
Note that this might not fail if your `ulimit -n` is not low enough.
2015-12-05 13:29:03 +01:00
k8s-merge-robot
ee8598fd91
Merge pull request #17137 from janetkuo/deployment-minreadysec
...
Auto commit by PR queue bot
2015-12-05 01:37:35 -08:00
jiangyaoguo
7153ff80ff
print absolute time when watch event
2015-12-05 13:52:53 +08:00
mqliang
0fd51b9e72
make 'deployment.kubernetes.io/podTemplateHash' as constant
2015-12-05 11:17:12 +08:00
Yifan Gu
4ac6129578
kubelet: Small refactor on GetPhase().
2015-12-04 18:43:09 -08:00
Random-Liu
3cbdf79f8c
Change original PodStatus to APIPodStatus, and start using kubelet internal PodStatus in dockertools
2015-12-04 17:37:39 -08:00
k8s-merge-robot
c55b136ae2
Merge pull request #17149 from zhengguoyong/refactor_set_node_status
...
Auto commit by PR queue bot
2015-12-04 16:10:04 -08:00
Tim St. Clair
2430454eea
Update PodReady condition when updating container readiness
2015-12-04 15:40:33 -08:00
Kris
e2583e294d
Cleaning up test organization for impending move
...
I'm moving/deleting some tests to make an upcoming RESTClient refactor
PR cleaner.
- TestDoRequestBearer is redundant to
pkg/client/transport.TestBearerAuthRoundTripper
- Added a case to pkg/client/transport.TestBasicAuthRoundTripper to
cover what TestDoRequestWithoutPassword was testing
- Moved TestSetsCodec, TestRESTClientRequires,
TestValidateHostParameter to helper_test.go since they were really
testing helper functions and not the RESTClient directly.
- Modified TestValidateHostParameter during the moved to just use
DefaultServerURL instead of creating a client.
2015-12-04 14:21:06 -08:00
Janet Kuo
8fb0caa15b
Implement MinReadySeconds for Deployment
2015-12-04 12:58:34 -08:00
Derek Gonyeo
7ae6bf9d39
rkt: rewrote ListImages to use rkt's API service
2015-12-04 11:25:56 -08:00
James Munnelly
61306c2a0f
Allow rolling-update of a single container in multi-container pods
...
Accept codec as parameter to CreateNewControllerFromCurrentController function. Add tests for performing a rolling update on a container in a multi-container pod.
2015-12-04 18:38:55 +00:00
k8s-merge-robot
9e896e3416
Merge pull request #16948 from swagiaal/move-formatAndMount
...
Auto commit by PR queue bot
2015-12-04 10:37:33 -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
zhengguoyong
08c6bab575
Refactor fun setNodeStatus
2015-12-04 19:00:33 +08:00
k8s-merge-robot
9bd5995841
Merge pull request #18158 from gmarek/master
...
Auto commit by PR queue bot
2015-12-04 02:14:38 -08:00
Salvatore Dario Minonne
80575c3093
renaming PodSelector to LabelSelector
2015-12-04 09:49:08 +01:00
Salvatore Dario Minonne
3288ce0dcb
renaming labels.LabelSelector to labels.internalSelector
2015-12-04 09:21:33 +01:00
Tim Hockin
29a2fded52
Revert "Change to alpha/beta for bandwidth annotations"
...
This reverts commit 2f4c3035be
.
2015-12-03 17:20:23 -08:00
Xiang Li
cf82d6b004
resource: optimize scale function
...
The original scale function takes around 800ns/op with more
than 10 allocations. It significantly slow down scheduler
and other components that heavily relys on resource pkg.
For more information see #18126 .
This pull request tries to optimize scale function. It takes
two approach:
1. when the value is small, only use normal math ops.
2. when the value is large, use math.Big with buffer pool.
The final result is:
BenchmarkScaledValueSmall-4 20000000 66.9 ns/op 0 B/op 0 allocs/op
BenchmarkScaledValueLarge-4 2000000 711 ns/op 48 B/op 1 allocs/op
I also run the scheduler benchmark again. It doubles the throughput of
scheduler for 1000 nodes case.
2015-12-03 17:00:13 -08:00
k8s-merge-robot
a5100ef057
Merge pull request #17248 from thockin/airplane_validation_pt4
...
Auto commit by PR queue bot
2015-12-03 16:59:23 -08:00
k8s-merge-robot
c849825d18
Merge pull request #16400 from caesarxuchao/fix-proxy-content-length
...
Auto commit by PR queue bot
2015-12-03 15:56:03 -08:00
Zach Loafman
a7da123836
Merge pull request #18173 from mikedanese/pod-stuck
...
actually validate semver in node controller rather than prefix checking
2015-12-03 15:55:22 -08:00
k8s-merge-robot
b9f31ca2c4
Merge pull request #11827 from deads2k/make-permissive-sas
...
Auto commit by PR queue bot
2015-12-03 15:16:50 -08:00
Mike Danese
f784be33ac
actually validate semver in node controller rather than prefix checking
2015-12-03 14:49:44 -08:00
derekwaynecarr
55d4f70f8e
Resource quota observes deletes faster
2015-12-03 17:35:05 -05:00
Mike Danese
2c49893733
Merge pull request #18032 from mikedanese/semver
...
add semver parsing of gitversion to pkg/version
2015-12-03 13:49:06 -08:00
Yu-Ju Hong
c8a075ad62
Do not delete pod status entry when apiserver returns NotFound error
...
The logic doesn't apply to static pods as their corresponding mirror pod may
not have been created yet, or may be in the process of recreation. Deleting the
pod status immediately resets the version of the status for the static pod,
while the apiStatusVersion remains unchanged. This could lead to incorrect
versioning and hence stale pod status in the apiserver.
2015-12-03 13:11:48 -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
k8s-merge-robot
611770778f
Merge pull request #16148 from liggitt/mkulke-fix_kubectl_for_namespaced_users
...
Auto commit by PR queue bot
2015-12-03 11:32:08 -08:00
deads2k
7ae4d4f424
allow enforcing SA mountable secrets per SA
2015-12-03 13:53:01 -05:00
k8s-merge-robot
13b0fd3cda
Merge pull request #16942 from swagiaal/distinguish-format-and-mount
...
Auto commit by PR queue bot
2015-12-03 10:51:26 -08:00
k8s-merge-robot
51c5e66e7a
Merge pull request #18105 from mikedanese/vagrant-provider
...
Auto commit by PR queue bot
2015-12-03 10:37:41 -08:00
Jordan Liggitt
2321651518
Add non-resource and API group support to ABAC authorizer, version ABAC policy rules
2015-12-03 12:31:13 -05:00
Hongchao Deng
ba80892cec
Rate limiter: Add Saturation() method
2015-12-03 08:39:35 -08:00
Hongchao Deng
9781a838da
change tickRateLimiter to tokenBucketRateLimiter
2015-12-03 08:39:35 -08:00
Tim Hockin
0fe29232eb
Remove obsolete ErrorList Prefix logic
2015-12-03 08:19:52 -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
Tim Hockin
102eced0b1
Introduce a FieldPath type for validation
2015-12-03 08:17:02 -08:00
gmarek
38b9132e3f
Remove unused KubeletStatusPort from ports.go
2015-12-03 16:00:49 +01:00
k8s-merge-robot
f9715c6455
Merge pull request #17479 from mqliang/hardcode
...
Auto commit by PR queue bot
2015-12-03 06:13:15 -08:00
k8s-merge-robot
c5924d20a5
Merge pull request #17817 from mqliang/eventtype
...
Auto commit by PR queue bot
2015-12-03 05:55:46 -08:00
deads2k
0fd17b7b2e
update client.Request for GroupVersion
2015-12-03 08:16:41 -05:00
k8s-merge-robot
3cbfcdcdba
Merge pull request #16810 from lavalamp/go2idl.2
...
Auto commit by PR queue bot
2015-12-03 04:25:08 -08:00
k8s-merge-robot
6479f5e93f
Merge pull request #18136 from nikhiljindal/del-new-etcd-storage
...
Auto commit by PR queue bot
2015-12-03 04:10:00 -08:00
feihujiang
ad10ca1da8
Add type for StatusReason constants
2015-12-03 19:22:03 +08:00
Marek Grabowski
ffdfc68d11
Merge pull request #18075 from wojtek-t/only_list_options_in_list
...
Simplify List() signature in clients.
2015-12-03 10:38:33 +01:00
nikhiljindal
5c556baa2f
Removing duplicate NewEtcdStorage code
2015-12-03 01:37:44 -08:00
Marek Grabowski
348e7ecc5d
Merge pull request #17349 from PeterLamar/master
...
Small readability improvements in Kubelet
2015-12-03 10:08:58 +01:00
Wojciech Tyczynski
6dcb689d4e
Simplify List() signature in clients.
2015-12-03 09:54:07 +01:00
Marek Grabowski
5d92cb229f
Merge pull request #18031 from soltysh/issue17364
...
Changing ─ (U+2500) to ASCII hyphen in describe command
2015-12-03 09:24:58 +01:00
Marek Grabowski
813a4c9d19
Merge pull request #17819 from mqliang/eventValidate
...
remove TODO: There is no namespace required for node.
2015-12-03 09:22:06 +01:00
Wojciech Tyczynski
0736d5c893
Better traces in list operations.
2015-12-03 09:16:37 +01:00
Marek Grabowski
f633aa67b1
Merge pull request #18065 from jszczepkowski/hpa-fix
...
Fixed forbidden window enforcement in horizontal pod autoscaler.
2015-12-03 08:36:10 +01:00
Jerzy Szczepkowski
8cdda36b1e
Fixed forbidden window enforcement in horizontal pod autoscaler.
...
Fixed forbidden window enforcement in horizontal pod autoscaler: time of the oldest report instead of now is taken into account. Fixes #17992 .
2015-12-03 08:29:24 +01:00
k8s-merge-robot
106cf2b6b5
Merge pull request #17755 from timstclair/status-manager
...
Auto commit by PR queue bot
2015-12-02 22:07:44 -08:00
mqliang
8547a5c1ae
remove TODO: validate namespace
2015-12-03 08:56:17 +08:00
k8s-merge-robot
51e7042295
Merge pull request #16590 from ncdc/create-all-streams-before-copying
...
Auto commit by PR queue bot
2015-12-02 16:51:49 -08:00
k8s-merge-robot
1a750b95e6
Merge pull request #17892 from mqliang/parallizeHealthCheck
...
Auto commit by PR queue bot
2015-12-02 16:16:09 -08:00
Andy Goldstein
e30b8a36d2
Create all streams before copying in exec/attach
...
Create error, stdin, stdout, stderr streams first, and only start
copying once all the streams have been created. This fixes an issue
where the client immediately starts sending data for stdin before all
the other streams have been created. This ends up blocking the spdy
connection frame handler and causes the entire exec/attach session to
time out.
2015-12-02 17:16:33 -05:00
Daniel Smith
56cae7c719
re-run set-gen
2015-12-02 14:14:50 -08:00
Daniel Smith
ad925dd2e8
Add verification to code gen
2015-12-02 14:14:49 -08:00
Mike Danese
dcdd7f1ca8
remove vagrant cloud provider
2015-12-02 13:20:54 -08:00
deads2k
675d8a235e
remove Versions from GroupMeta
2015-12-02 16:16:36 -05:00
Abhishek Shah
6c3a88cb3a
SkyDNS is the only NS for Pods with DNSPolicy=ClusterFirst
2015-12-02 10:26:49 -08:00
k8s-merge-robot
71f2d5ed4d
Merge pull request #18038 from slaws/os-domain-config
...
Auto commit by PR queue bot
2015-12-02 08:49:29 -08:00
k8s-merge-robot
494f47b0d4
Merge pull request #18071 from jhadvig/typo
...
Auto commit by PR queue bot
2015-12-02 08:18:23 -08:00
Sami Wagiaalla
66c905d63e
Distinguish normal mount from format and mount in SafeFormatAndMount
2015-12-02 11:16:00 -05:00
k8s-merge-robot
ee71ddcefe
Merge pull request #17956 from deads2k/gv-requestscope
...
Auto commit by PR queue bot
2015-12-02 08:00:33 -08:00
k8s-merge-robot
8a8639d7af
Merge pull request #17863 from wojtek-t/only_list_options_in_watch
...
Auto commit by PR queue bot
2015-12-02 06:28:28 -08:00
k8s-merge-robot
689586c6ae
Merge pull request #16153 from gmarek/use_api_ports
...
Auto commit by PR queue bot
2015-12-02 05:57:49 -08:00
Jan Chaloupka
9590b23264
LowThresholdPercent can not be higher than HighThresholdPercent
...
if LowThresholdPercent > HighThresholdPercent, amountToFree at image_manager.go:208 is negative and image GC will not free memory properly.
Justification:
1) LowThresholdPercent > HighThresholdPercent implies (LowThresholdPercent * capacity / 100) > (HighThresholdPercent * capacity / 100)
2) usage is at least (HighThresholdPercent * capacity / 100)
3) amountToFree = usage - (LowThresholdPercent * capacity / 100)
Combining 1), 2) and 3) implies amountToFree can be negative.
What happens if amountToFree is negative? in freeSpace method, "for _, image := range images " loops at least once
and if everything goes fine, "delete(im.imageRecords, image.id)" is executed.
When checking for condition "if spaceFreed >= bytesToFree", it is always true as bytesToFree is negative
and spaceFreed is positive. The loop is finished, so is image GC.
At the end, only the oldest image is deleted. In situations where there is a lot of dead containers,
each container corresponing to distinct image, number of unused images can get higher.
If two new images get pulled in every 5 minutes, image GC will not work properly and will not free enough space.
Secondly, it will take a lot of time to free all unused images (hours depending on a number of unused images).
This is an incorrect configuration. Image GC should report it and refuse to work.
2015-12-02 14:28:51 +01:00
jhadvig
f7785bcdb4
Typo fix
2015-12-02 13:59:58 +01:00
k8s-merge-robot
e28404b23b
Merge pull request #17946 from jhadvig/label_msg
...
Auto commit by PR queue bot
2015-12-02 04:46:26 -08:00
gmarek
459131fd92
Use KubeletPort reported in NodeStatus instead of cluster-wide master config, take 2.
2015-12-02 13:38:17 +01:00
k8s-merge-robot
b3846ea748
Merge pull request #17862 from feihujiang/ensureHeadlessServicePortEqualToTargetPort
...
Auto commit by PR queue bot
2015-12-02 03:35:36 -08:00
k8s-merge-robot
ac68536d44
Merge pull request #17832 from wojtek-t/list_options_in_list
...
Auto commit by PR queue bot
2015-12-02 02:34:17 -08:00
k8s-merge-robot
5e53e281e5
Merge pull request #17545 from yujuhong/no_auto_updates
...
Auto commit by PR queue bot
2015-12-02 02:03:08 -08:00
k8s-merge-robot
60925e67fe
Merge pull request #17920 from abutcher/check-endpoints
...
Auto commit by PR queue bot
2015-12-02 01:35:00 -08:00
Fabio Yeon
7100d278e3
Revert "SkyDNS is the only NS for Pods with DNSPolicy=ClusterFirst"
2015-12-01 20:58:27 -08:00
mqliang
70cce2847a
remove TODO:parallize health check
2015-12-02 09:51:13 +08:00
Sebastien LAWNICZAK
3eae5895f8
Passing DomainID/DomainName to AuthOptions
...
To be able to use Domains with IdentityV3, domain-id/domain-name in provider config should be passed to gophercloud.AuthOptions
2015-12-01 23:12:25 +01:00
k8s-merge-robot
4602220ad0
Merge pull request #15645 from ArtfulCoder/oneNS
...
Auto commit by PR queue bot
2015-12-01 13:51:37 -08:00
deads2k
a7dd09ec47
update requestScope to fully qualify kind and resource
2015-12-01 16:50:24 -05:00
k8s-merge-robot
727412c5ce
Merge pull request #15533 from ZJU-SEL/git-volume
...
Auto commit by PR queue bot
2015-12-01 13:14:23 -08:00
Mike Danese
ac097bfe70
add semver parsing of gitversion to pkg/version
2015-12-01 12:03:37 -08:00
Maciej Szulik
db0df10b9c
Changing ─ (U+2500) to ASCII hyphen in describe command
2015-12-01 20:40:51 +01:00
Andrew Butcher
101a9927e4
Do not update kubernetes endpoints when endpoint address count is less than or equal to master count.
...
checkEndpointSubsetFormat ensures that,
1. the current master's IP is in the list of addresses
2. the number of IPs in the list exactly matches the master count
This is problematic while masters are in the process of starting
because it causes frequent updates to the kubernetes endpoints until
all masters have started and added themselves to the list.
checkEndpointSubsetFormat should report success if the current
master's IP is found and the count of addresses is less than or equal
to the expected count.
2015-12-01 14:31:22 -05:00
Harry Zhang
70a9c0bf56
Add directory in GitRepo and updated tests.
...
Update validate and gitRepo
Update generated code
2015-12-02 00:20:38 +08:00
k8s-merge-robot
77e9066ebb
Merge pull request #17099 from feihujiang/moveDefaultingFuncsFromInternalToV1
...
Auto commit by PR queue bot
2015-12-01 07:13:26 -08:00
mqliang
9ff765978a
add filedselector for Event
2015-12-01 23:02:48 +08:00
k8s-merge-robot
355ac2c58d
Merge pull request #17581 from swagiaal/correct-management-predicates
...
Auto commit by PR queue bot
2015-12-01 06:42:15 -08:00
Wojciech Tyczynski
8343c8ce6c
Pass ListOptions to List() methods.
2015-12-01 15:00:36 +01:00
k8s-merge-robot
7644d34759
Merge pull request #15775 from mesosphere/sur-k8sm-482-resource-roles
...
Auto commit by PR queue bot
2015-12-01 05:36:52 -08:00
Wojciech Tyczynski
d2dfc912e6
Simplify Watch() signature in clients.
2015-12-01 14:19:26 +01:00
k8s-merge-robot
a836b1e261
Merge pull request #17326 from caesarxuchao/grooupVersion-lastest
...
Auto commit by PR queue bot
2015-12-01 05:05:40 -08:00
k8s-merge-robot
940c7fbbd5
Merge pull request #17823 from wojtek-t/use_versioned_params
...
Auto commit by PR queue bot
2015-12-01 03:21:44 -08:00
k8s-merge-robot
329567ecb4
Merge pull request #17739 from ncdc/fix-port-forward-test-flake
...
Auto commit by PR queue bot
2015-12-01 02:48:37 -08:00
k8s-merge-robot
74049947d2
Merge pull request #12589 from slaws/os-vip-with-floatingip
...
Auto commit by PR queue bot
2015-12-01 02:01:39 -08:00
Wojciech Tyczynski
68b3701176
Merge pull request #17836 from wojtek-t/support_selectors_in_versioned_params
...
Handle selectors correctly in VersionedParams().
2015-12-01 10:29:53 +01:00
Wojciech Tyczynski
cdded4f011
Use VersionedParams in "extensions" client.
2015-12-01 10:18:55 +01:00
k8s-merge-robot
d1075370bd
Merge pull request #17560 from jiangyaoguo/return-http-code-after-http-probe
...
Auto commit by PR queue bot
2015-12-01 00:53:02 -08:00
feihujiang
81b095ee52
Ensure headless service port equal to targetPort
2015-12-01 14:37:26 +08:00
k8s-merge-robot
0ca2182192
Merge pull request #17827 from jiangyaoguo/move-GetNodeInfo-to-scheduler
...
Auto commit by PR queue bot
2015-11-30 21:16:16 -08:00
k8s-merge-robot
f4ea77bede
Merge pull request #17822 from wojtek-t/remove_api_list_options
...
Auto commit by PR queue bot
2015-11-30 20:48:38 -08:00
k8s-merge-robot
d8c1a9a4fb
Merge pull request #17442 from WeixuZhuang/daemon_controller
...
Auto commit by PR queue bot
2015-11-30 19:47:38 -08:00
Karl Isenberg
629409ffa6
Merge pull request #18000 from fabioy/fix-date-test
...
Fix test failure due to days-in-month check. Issue #17998 .
2015-11-30 18:42:01 -08:00
k8s-merge-robot
55f5e48047
Merge pull request #16628 from caesarxuchao/change-error-type
...
Auto commit by PR queue bot
2015-11-30 17:21:52 -08:00
fabioy
3d75105ee5
Fix test failure due to days-in-month check. Issue #17998 .
2015-11-30 17:17:52 -08:00
Wojciech Tyczynski
4e7fd55922
Handle selectors correctly in VersionedParams().
2015-11-30 20:56:16 +01:00
Weixu Zhuang
c7756ce8d5
Enqueue DaemonSet only it has new or updated nodes in it.
...
When add node or update node func is called, all DaemonSets are enqueued to workqueue
of DaemonSet Controller. The consumer of the workqueue does an iteration of node.List
for every DaemonSet in the workqueue.
This change examinate the daemonSet before we enqueue it into DaemonSetController's work queue.
It will enqueue the DaemonSet only when it is related to the changed node.
2015-11-30 11:51:43 -08:00
k8s-merge-robot
8752165fb6
Merge pull request #16853 from jayunit100/backoffresets
...
Auto commit by PR queue bot
2015-11-30 11:39:10 -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
jhadvig
f55809b5b5
Pod labeling should return correct messages
2015-11-30 17:47:08 +01:00
k8s-merge-robot
69bb774dd4
Merge pull request #17798 from deads2k/gv-kubectl-01
...
Auto commit by PR queue bot
2015-11-30 07:40:40 -08:00
Sami Wagiaalla
a7fc99933b
Fix predicates for SELinux and ownership management
2015-11-30 10:31:28 -05:00
deads2k
1ac6d8afd3
update reaper, scaler, describer for GroupKind
2015-11-30 09:22:39 -05:00
k8s-merge-robot
63dc126739
Merge pull request #17886 from fabianofranz/pod_logs_validate_container
...
Auto commit by PR queue bot
2015-11-30 05:25:20 -08:00
k8s-merge-robot
cc71db9f99
Merge pull request #17304 from ZJU-SEL/fix-todo-master
...
Auto commit by PR queue bot
2015-11-30 04:51:10 -08:00
k8s-merge-robot
140df5f809
Merge pull request #17220 from kargakis/kubectl-scale-deployments
...
Auto commit by PR queue bot
2015-11-30 04:19:58 -08:00
Harry Zhang
5552d7007c
Add default when latest not claimed
2015-11-30 17:10:50 +08:00
harry
477da92002
Move hostIP detection from master to server
...
Add PublicAddress in test files
Move valid public addr into util
2015-11-30 16:17:37 +08:00
harry zhang
121c7046aa
Move parsers into util
2015-11-29 22:15:11 -08:00
Fabiano Franz
afd56495a1
Pod log location must validate container if provided
2015-11-29 23:20:01 -02:00
k8s-merge-robot
c1af9dcb7f
Merge pull request #17885 from hongchaodeng/register
...
Auto commit by PR queue bot
2015-11-29 02:24:47 -08:00
k8s-merge-robot
bd7984266a
Merge pull request #17818 from mqliang/eventFmt
...
Auto commit by PR queue bot
2015-11-27 13:01:40 -08:00
k8s-merge-robot
158fecd474
Merge pull request #17776 from wojtek-t/move_etcd_errors_from_tools
...
Auto commit by PR queue bot
2015-11-27 11:57:18 -08:00
Hongchao Deng
0521481655
client request metrics should be registered only once
2015-11-27 10:10:08 -08:00
jiangyaoguo
f4c5d00b0c
Implement a cachedNodeInfo in predicates
2015-11-27 21:49:14 +08:00
k8s-merge-robot
5f10b70652
Merge pull request #17766 from hurf/doc_nits
...
Auto commit by PR queue bot
2015-11-27 02:22:41 -08:00
k8s-merge-robot
7cc83b347e
Merge pull request #17607 from yifan-gu/rm_rkt_image_manager
...
Auto commit by PR queue bot
2015-11-27 01:49:00 -08:00
k8s-merge-robot
d3d3f94e2f
Merge pull request #17711 from anish/iqn_format
...
Auto commit by PR queue bot
2015-11-26 23:22:17 -08:00
k8s-merge-robot
4ce6a16816
Merge pull request #17709 from ddysher/missing-valid-resources
...
Auto commit by PR queue bot
2015-11-26 22:49:07 -08:00
k8s-merge-robot
b9537245ec
Merge pull request #17702 from hurf/logs_cleanup
...
Auto commit by PR queue bot
2015-11-26 19:13:12 -08:00
k8s-merge-robot
70d2a02959
Merge pull request #17701 from hurf/anno_label
...
Auto commit by PR queue bot
2015-11-26 15:29:46 -08:00
k8s-merge-robot
4eb010b1f7
Merge pull request #17694 from hongchaodeng/ratelimit
...
Auto commit by PR queue bot
2015-11-26 13:12:26 -08:00
Clayton Coleman
e9e02bdd50
Review comments
2015-11-26 11:53:38 -05:00
Clayton Coleman
9d19238f6c
Fix tests to pass with changed external types
2015-11-26 11:53:37 -05:00
Clayton Coleman
af7e7f146d
Generated code
2015-11-26 11:53:36 -05:00
Clayton Coleman
1d592e4c28
Unversioned types should not use ambiguous go-int
...
All external types that are not int64 are now marked as int32,
including
IntOrString. Prober is now int32 (43 years should be enough of an initial
probe time for anyone).
Did not change the metadata fields for now.
2015-11-26 11:45:25 -05:00
Clayton Coleman
8046bb46df
Update conversions to handle primitive conversion
2015-11-26 11:45:25 -05:00
k8s-merge-robot
492782c942
Merge pull request #17401 from aaronlevy/condition_order
...
Auto commit by PR queue bot
2015-11-26 04:29:34 -08:00
k8s-merge-robot
5f8743ea7b
Merge pull request #17108 from kargakis/fix-editor-env
...
Auto commit by PR queue bot
2015-11-26 03:53:53 -08:00
k8s-merge-robot
39cabe3580
Merge pull request #17684 from Random-Liu/cleanup-gc-test
...
Auto commit by PR queue bot
2015-11-26 03:26:39 -08:00
Wojciech Tyczynski
97c8f1d4fa
Remove api.ListOptions
2015-11-26 10:04:12 +01:00
mqliang
793cc14c68
remove unnecessary fmt.Printf()
2015-11-26 15:37:32 +08:00
k8s-merge-robot
fc694ea787
Merge pull request #16725 from wojtek-t/update_ugorji
...
Auto commit by PR queue bot
2015-11-25 22:14:20 -08:00
Phillip Wittrock
6b358e43dd
Merge pull request #17747 from saad-ali/fixErrorCreatingPDTry2
...
Refactor GCE wrapper library to allow execution from E2E test suite
2015-11-25 15:57:42 -08:00
Abhishek Shah
015df14a4a
SkyDNS is the only NS for Pods with DNSPolicy=ClusterFirst
2015-11-25 15:02:40 -08:00
k8s-merge-robot
851ed7a9f2
Merge pull request #17335 from deads2k/gv-restmapper-api
...
Auto commit by PR queue bot
2015-11-25 12:53:54 -08:00
k8s-merge-robot
7f2f7aa091
Merge pull request #16432 from markturansky/recycler_race
...
Auto commit by PR queue bot
2015-11-25 11:54:06 -08:00
Aaron Levy
3dc7c64ce9
kubelet: report NodeReady last in status list
...
Addresses a version skew issue where the last condition status is always
evaluated as the NodeReady status. As a workaround force the NodeReady
condition to be the last in the list of node conditions.
ref: https://github.com/kubernetes/kubernetes/issues/16961
2015-11-25 11:53:31 -08:00
saadali
42b200a0a0
Refactor GCE wrapper library to allow execution from E2E test suite
...
This reverts commit 147b6911f5
, reversing
changes made to 6fd986065b
.
2015-11-25 11:48:06 -08:00
deads2k
8679925847
update RESTMapping API to be properly typed
2015-11-25 14:02:37 -05:00
deads2k
5c4fb5bcbe
make RESTMapper.KindFor
2015-11-25 14:02:37 -05:00
Random-Liu
c6d02b83e5
Cleanup container_gc_test.go
2015-11-25 10:37:39 -08:00
Chao Xu
a4700707b3
change the "too old resource version" error from InternalError to 410 Gone.
2015-11-25 10:27:03 -08:00
deads2k
9e9b9f2da3
fix outputversion restmapper
2015-11-25 12:15:48 -05:00
deads2k
ed95a6d77f
update scheme to use GroupVersion
2015-11-25 12:15:48 -05:00
deads2k
47e496364d
update generators for groupVersion
2015-11-25 12:14:06 -05:00
deads2k
e0b7f52633
hack up queryToObject to continue to work as it used to
2015-11-25 12:14:06 -05:00
deads2k
68b0572974
internal versions
2015-11-25 12:14:06 -05:00
deads2k
6231404682
update decoder to use GroupVersion
2015-11-25 12:14:06 -05: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
ff3f240de2
Merge pull request #17533 from Random-Liu/fix-fake-docker-client
...
Auto commit by PR queue bot
2015-11-25 08:44:26 -08:00
Marek Grabowski
62009344cc
Merge pull request #17761 from gmarek/flannel
...
Rebase of @bprashant Flannel out of the box
2015-11-25 16:04:35 +01:00
k8s-merge-robot
27c2f5fb52
Merge pull request #17526 from yifan-gu/rkt_api_service
...
Auto commit by PR queue bot
2015-11-25 06:24:55 -08:00
Wojciech Tyczynski
65c381bfdb
Hide internal etcd errors.
2015-11-25 14:47:08 +01:00
k8s-merge-robot
e95e3dec42
Merge pull request #17414 from timstclair/apiserver
...
Auto commit by PR queue bot
2015-11-25 05:28:07 -08:00
Wojciech Tyczynski
58062bc347
Regenerate files
2015-11-25 12:34:05 +01:00
hurf
8b6ef01667
fix description of -f option of autoscale command
...
use 'autoscale' instead of 'get form the server'
2015-11-25 19:00:56 +08:00
hurf
27d6b58ba5
fix a nit in long description of attach command
...
remove an extra 'a'
2015-11-25 18:57:03 +08:00
Michail Kargakis
99fc35880b
kubectl: Support scaling deployments
...
This commit adds support for using kubectl scale to scale deployments. Makes use of the
deployments/scale endpoint instead of updating deployment.spec.replicas directly.
2015-11-25 11:26:40 +01:00
kargakis
523b6ec7e3
edit: Make environment variables composable
...
It also adds support for KUBE_EDITOR and GIT_EDITOR which were already
advertised in the edit usage message.
2015-11-25 11:23:23 +01:00
Prashanth Balasubramanian
9aa0efa393
Turn flannel off by default
2015-11-25 09:43:48 +01:00
Prashanth Balasubramanian
ad2d3d4c20
Docs etc
2015-11-25 09:42:59 +01:00
Prashanth Balasubramanian
321bc73264
Flannel server in static pod with private etcd.
2015-11-25 09:42:59 +01:00
Prashanth Balasubramanian
7aa8ebe30f
Flannel handshakes with kubelet.
2015-11-25 09:42:59 +01:00
hurf
ad26db7f45
Annotate support label
...
allow "kubectl annotate pods -l app=nginx"
2015-11-25 14:13:39 +08:00
hurf
91ad5b4ec3
Cleanup logs command
...
use 'logs' instead of 'log'
2015-11-25 14:11:27 +08:00
jay vyas
7ffaef63d1
Backoff and Randomness additions for use in client utilities
...
Updated String to use int, and int not to panic, and panic to test panic
Format fixes.
2015-11-25 00:01:06 -05: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
zhengguoyong
2b5a655a5d
check ref before use it
2015-11-25 11:02:14 +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
Tim St. Clair
d2532b50ce
Correct backwards pod mappings
...
The mapping of static pod <--> mirror pod UIDs was backwards in a couple
places. Fortunately, they canceled each other out. Fixed, and added a
test case.
2015-11-24 18:32:44 -08:00
k8s-merge-robot
cc3515d702
Merge pull request #17136 from kargakis/use-deprecation-field-in-stop
...
Auto commit by PR queue bot
2015-11-24 17:37:19 -08:00
Yu-Ju Hong
26b6b18fad
Remove docker health handler from kubelet /healthz
...
Docker's health is checked separately from kubelet by the processing monitoring
tool (e.g., supervisord). kubelet should not be killed when docker is down.
This change removes the docker health handler from kubelet's /healthz handler.
2015-11-24 17:22:55 -08:00
k8s-merge-robot
d42030170b
Merge pull request #15999 from aveshagarwal/master-issue-15624
...
Auto commit by PR queue bot
2015-11-24 17:07:10 -08:00
krousey
981b5a6a1e
Merge pull request #17732 from timstclair/status-manager
...
More detailed logging of pod status updates.
2015-11-24 13:31:35 -08:00
Andy Goldstein
2fae847120
Fix TestPortForward flake
...
TestPortForward was failing occasionally due to the way the test was
written. It created a port forwarding session, then connected a client
to the local port, attempted to send some data, attempted to receive
some data, and then tore down the port forwarding session.
Unfortunately, some times the attempt to send data from the client to
the remote would be enqueued but not processed by the time the test tore
down everything. As a result, the data stream could get closed before
the client's data was transmitted to the server. If this happened, you'd
see an error such as 'forward 2 ports with bidirectional data: server
expected to receive "ghij", got "" for port 6000'.
This fixes the test by serializing the data flow: the client writes to
the remote, the remote waits to receive that data, the remote writes to
the client, and the client waits to receive the data from the remote.
This all takes place prior to the test tearing down port forwarding.
2015-11-24 15:38:11 -05:00
deads2k
c40dd0335a
make DefaultRESTMapper methods type correct
2015-11-24 14:17:37 -05:00
deads2k
94ad6aa0c4
make DefaultRESTMapper use GroupVersion
2015-11-24 14:17:37 -05:00
Tim St. Clair
a1960b0a21
More detailed logging of pod status updates.
2015-11-24 10:48:28 -08:00
Janet Kuo
c0c02c95c4
kubectl run to produce deployment and job
2015-11-24 10:21:31 -08:00
Wojciech Tyczynski
b6ef62af24
Use unversioned.ListOptions in clients.
2015-11-24 16:52:09 +01:00
k8s-merge-robot
f3753c02ed
Merge pull request #17369 from wojtek-t/use_unversioned_list_options
...
Auto commit by PR queue bot
2015-11-24 07:32:37 -08:00
Avesh Agarwal
c053290e04
This commit regenerates docs.
2015-11-24 09:59:54 -05:00
Avesh Agarwal
3d5207fd73
This commit adds type information to events.
...
This addresses issue #15624 .
2015-11-24 09:59:54 -05:00
Avesh Agarwal
751e7ba67c
This commit regenerates types.generated.go in pka/api and pkg/api/v1.
2015-11-24 09:59:54 -05:00
k8s-merge-robot
683e908f0a
Merge pull request #17265 from gambol99/rj/node_labels
...
Auto commit by PR queue bot
2015-11-24 06:55:31 -08:00
k8s-merge-robot
9a4a8075ed
Merge pull request #15537 from jsafrane/devel/cinder-hostname
...
Auto commit by PR queue bot
2015-11-24 06:47:40 -08:00
deads2k
5077e9b644
make register.GroupVersion use GroupVersion
2015-11-24 09:45:36 -05:00
k8s-merge-robot
4fd6b6df06
Merge pull request #17316 from deads2k/gv-ClientForVersion
...
Auto commit by PR queue bot
2015-11-24 06:24:28 -08:00
Avesh Agarwal
001437a72f
This commit fixes tests.
2015-11-24 09:16:12 -05:00
Wojciech Tyczynski
bf13bef955
Use unversioned.ListOptions in API server.
2015-11-24 14:42:21 +01:00
k8s-merge-robot
5502aefa01
Merge pull request #17152 from daizuozhuo/jsonpath
...
Auto commit by PR queue bot
2015-11-24 04:45:38 -08:00
k8s-merge-robot
fcdf32f336
Merge pull request #17674 from gmarek/fix-test
...
Auto commit by PR queue bot
2015-11-24 03:40:53 -08:00
kargakis
3c7b9f83d7
stop: Make use of deprecation field
2015-11-24 12:27:20 +01:00
Anish Bhatt
18c82f743c
Support iqn as well as eui format for iSCSI entity names.
...
Supported formats are :
iqn.<date code>.<reversed domain>[:<optional suffix>]
eui.<eui-64 identifier>
2015-11-24 00:13:59 -08:00
jiangyaoguo
cbbb3f7af0
return response StatusCode when http probe fail
2015-11-24 13:59:44 +08:00
Deyuan Deng
31650994cd
Add missing serviceaccounts to valid resources output
2015-11-24 13:57:51 +08:00
hurf
1270764eb9
Fix description errro for client-certificate option
...
From "client key file" to "client certificate file".
2015-11-24 09:33:35 +08:00
Hongchao Deng
13d152a873
RateLimiter: change CanAccept() to TryAccept()
2015-11-23 16:42:53 -08:00
Yifan Gu
5b423dd458
rkt: Refactor version check with api-service.
...
Also mocked systemd interfaces for testing purpose.
2015-11-23 16:30:51 -08:00
k8s-merge-robot
367f0e03dd
Merge pull request #17621 from mikedanese/cleanup-kube-proxy-cgroup
...
Auto commit by PR queue bot
2015-11-23 15:23:23 -08:00