Paul Morie
3a505ac364
Make namespace controller delete configMaps in namespace
2016-02-10 10:52:24 -05:00
Wojciech Tyczynski
bb79ed6f8e
Small cleanup in metrics
2016-02-10 16:05:52 +01:00
k8s-merge-robot
b3367b90d6
Merge pull request #20892 from lavalamp/fix-us-log
...
Auto commit by PR queue bot
2016-02-10 06:43:42 -08:00
k8s-merge-robot
66e872227a
Merge pull request #20886 from mqliang/ReplicaSet-kubectl
...
Auto commit by PR queue bot
2016-02-10 06:16:03 -08:00
k8s-merge-robot
cd1b9cc91b
Merge pull request #20880 from janetkuo/fix-describe-deployment
...
Auto commit by PR queue bot
2016-02-10 05:46:23 -08:00
deads2k
5822955713
make partial resource detection work for singular matches
2016-02-10 08:11:13 -05:00
k8s-merge-robot
10b6074a2c
Merge pull request #20397 from pmorie/atomic-projections
...
Auto commit by PR queue bot
2016-02-10 01:54:46 -08:00
k8s-merge-robot
9520bb5ddf
Merge pull request #20731 from Clarifai/ensure-lb-servicename
...
Auto commit by PR queue bot
2016-02-10 01:25:07 -08:00
k8s-merge-robot
71b6b81102
Merge pull request #20076 from derekwaynecarr/namespace_controller_workers
...
Auto commit by PR queue bot
2016-02-10 00:55:57 -08:00
k8s-merge-robot
a2086d4150
Merge pull request #20816 from yifan-gu/termination_log_anno
...
Auto commit by PR queue bot
2016-02-10 00:26:48 -08:00
Paul Morie
b750ea678f
Generalize atomically updating projections into volumes
2016-02-10 03:19:52 -05:00
k8s-merge-robot
36c25be657
Merge pull request #19921 from jsafrane/devel/remove-fstype-check
...
Auto commit by PR queue bot
2016-02-09 21:17:19 -08:00
k8s-merge-robot
c6ed624bfb
Merge pull request #19503 from markturansky/attacher_interface
...
Auto commit by PR queue bot
2016-02-09 20:50:41 -08:00
k8s-merge-robot
b97214304c
Merge pull request #20942 from Random-Liu/fix-bug-in-sync-loop
...
Auto commit by PR queue bot
2016-02-09 20:24:02 -08:00
Janet Kuo
a50267ab3e
Fix mismatched types
2016-02-09 18:57:53 -08:00
k8s-merge-robot
41a98b43e4
Merge pull request #19840 from madhusudancs/replicaset-deployment
...
Auto commit by PR queue bot
2016-02-09 18:57:42 -08:00
Random-Liu
b7292f6672
Add missing PodSyncResult in KillPod
2016-02-09 18:28:26 -08:00
Prashanth B
f0620a5efd
Merge pull request #20883 from bprashanth/kubelet_flag
...
Kubelet flag for disabling hairpin mode
2016-02-09 17:31:30 -08:00
Random-Liu
e3ea0b1cbb
Stop using pod from livenessManager in main sync loop
2016-02-09 16:32:54 -08:00
k8s-merge-robot
2ec49efd54
Merge pull request #19945 from Clarifai/fix-formatting
...
Auto commit by PR queue bot
2016-02-09 16:05:00 -08:00
Madhusudan.C.S
e7a9f30936
Address review comments.
2016-02-09 15:50:01 -08:00
derekwaynecarr
106693d9b3
Refactor namespace controller to use workers, do more delete collection calls
2016-02-09 16:39:13 -05:00
Tim Hockin
7cab7bd472
fix a few go-vet errors
2016-02-09 13:20:31 -08:00
Prashanth Balasubramanian
c3a3a2bacd
Pipe hairpin-mode flag through kubelet, enable on soak.
2016-02-09 12:12:19 -08:00
David Pratt
57782459e6
Log missing public IP from AWS metadata.
2016-02-09 12:06:02 -06:00
David Pratt
adde7f548f
Fix AWS kubelet registration.
...
This commit allows the AWS cloud provider plugin to work on EC2 instances
that do not have a public IP. The EC2 metadata service returns a 404 for the
'public-ipv4' endpoint for private instances, and the plugin was bubbling this
up as a fatal error.
2016-02-09 11:46:53 -06:00
k8s-merge-robot
5111983b19
Merge pull request #20858 from smarterclayton/fix_conversions
...
Auto commit by PR queue bot
2016-02-09 07:04:23 -08:00
Jan Chaloupka
392fc6668f
Jittering periods of some kubelet's sync loops:
...
- pod_workers: pod syncing
- prober workers: container syncing
In order to synchronize the current state of Kubernetes's objects (e.g. pods, containers, etc.),
periodic synch loops are run. When there is a lot of objects to synchronize with,
loops increase communication traffic. At some point when all the traffic interfere cpu usage curve
hits the roof causing 100% cpu utilization.
To distribute the traffic in time, some sync loops can jitter their period in each loop
and help to flatten the curve.
2016-02-09 15:22:22 +01:00
k8s-merge-robot
c4b66f66f3
Merge pull request #20848 from pmorie/dead-code
...
Auto commit by PR queue bot
2016-02-09 06:10:07 -08:00
k8s-merge-robot
b98d9a21a1
Merge pull request #20818 from deads2k/remove-mixed-case
...
Auto commit by PR queue bot
2016-02-09 05:06:45 -08:00
k8s-merge-robot
71bcc25409
Merge pull request #20817 from yifan-gu/remove_ShouldContainerBeRestartedOldVersion
...
Auto commit by PR queue bot
2016-02-09 04:36:36 -08:00
Rudi Chiarito
5874b0cb9d
Pass namespaced service name to cloudprovider's EnsureLoadBalancer
...
Also has an AWS implementation that plugs the service name into the ELB and SG.
Log the service name under GCE and OpenStack.
Fixes #20668
2016-02-09 06:50:53 -05:00
k8s-merge-robot
5512522362
Merge pull request #20736 from deads2k/kubeconfig-bug
...
Auto commit by PR queue bot
2016-02-09 03:05:36 -08:00
k8s-merge-robot
ea484ecffe
Merge pull request #20819 from mwielgus/logging-in-hpa
...
Auto commit by PR queue bot
2016-02-09 01:41:09 -08:00
k8s-merge-robot
7b5136ee73
Merge pull request #20623 from magicwang-cn/20136
...
Auto commit by PR queue bot
2016-02-09 01:11:28 -08:00
Jan Safranek
40c97ddd5f
Remove validation of *VolumeSource.FSType.
...
Most volume plugins use SafeFormatAndMount, which uses ext4 by default.
FlexVolume plugin has FSType attribute 'omitempty', so reflect it in the
description of the type.
2016-02-09 09:13:06 +01:00
Daniel Smith
4e85d42f99
fix logging every microsecond when etcd goes down
2016-02-09 00:12:19 -08:00
k8s-merge-robot
318705feb9
Merge pull request #20378 from jtblin/jtblin/11543-aws-cloud-provider-private-hosted-dns-zone-via-api
...
Auto commit by PR queue bot
2016-02-08 23:43:59 -08:00
k8s-merge-robot
3b150b5e43
Merge pull request #19559 from jimmidyson/instrument-apiserver-handlers
...
Auto commit by PR queue bot
2016-02-08 23:14:20 -08:00
Yifan Gu
b14ac9481a
rkt: Add hyphen in the annotation key.
2016-02-09 14:50:25 +08:00
k8s-merge-robot
beb5d01f9c
Merge pull request #17221 from rootfs/azure
...
Auto commit by PR queue bot
2016-02-08 22:46:12 -08:00
mqliang
b5e99be81c
implement kubectl get/describe for ReplicaSet
2016-02-09 13:56:21 +08:00
k8s-merge-robot
fec0d127b3
Merge pull request #15938 from justinsb/aws_ebs_cleanup
...
Auto commit by PR queue bot
2016-02-08 21:42:52 -08:00
Madhusudan.C.S
f358402623
Auto-generated code.
2016-02-08 21:27:49 -08:00
Madhusudan.C.S
ed7ad6dcf3
Make deployments work.
2016-02-08 21:27:49 -08:00
Madhusudan.C.S
518f08aa7c
Move Deployments to ReplicaSets and switch the Deployment selector to the new LabelSelector.
...
Update the Deployments' API types, defaulting code, conversions, helpers
and validation to use ReplicaSets instead of ReplicationControllers and
LabelSelector instead of map[string]string for selectors.
Also update the Deployment controller, registry, kubectl subcommands,
client listers package and e2e tests to use ReplicaSets and
LabelSelector for Deployments.
2016-02-08 21:27:38 -08:00
k8s-merge-robot
fce98f3cf2
Merge pull request #20827 from smarterclayton/fix_manager
...
Auto commit by PR queue bot
2016-02-08 21:13:42 -08:00
k8s-merge-robot
8fcc105d6d
Merge pull request #20444 from ncdc/flake/19466
...
Auto commit by PR queue bot
2016-02-08 20:46:03 -08:00
k8s-merge-robot
a2c8712aee
Merge pull request #20368 from mqliang/cleanup-unhealthy-replicas
...
Auto commit by PR queue bot
2016-02-08 20:18:25 -08:00
Janet Kuo
1b30516094
Fix the incorrect format when describing deployment
2016-02-08 19:13:34 -08:00
Andy Goldstein
a45247ad2a
Fix exec/attach test flakes
...
Ensure that stream reply frames are enqueued prior to any goaway frames.
2016-02-08 21:33:23 -05:00
Huamin Chen
d7e4b826b9
support Azure File Service volume
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-02-09 01:07:12 +00:00
k8s-merge-robot
daa8add7bb
Merge pull request #20536 from liggitt/bump_ugorji
...
Auto commit by PR queue bot
2016-02-08 16:12:30 -08:00
Clayton Coleman
5aca495d73
Regression: Kubelet fails on older distro Dockers
...
Changes broke compatibility with released versions of Docker on some
distributions like Fedora and RHEL (value 1.8.1.fc21 is in the wild).
2016-02-08 19:00:01 -05:00
mqliang
86aea1d59c
clean up unhealthy replicas frst for old rcs when reconcileOldRCs
2016-02-09 07:43:48 +08:00
k8s-merge-robot
14653d6b5a
Merge pull request #20169 from vishh/20117
...
Auto commit by PR queue bot
2016-02-08 15:25:45 -08:00
Clayton Coleman
b8582f73da
Ensure public conversion name packages are imported
...
The name of the package a public function is in may not be inside the
current package set, so it needs to be imported.
2016-02-08 17:24:44 -05:00
k8s-merge-robot
e5009bfdcd
Merge pull request #19474 from endocode/container_names_in_kubectl_logs
...
Auto commit by PR queue bot
2016-02-08 14:22:22 -08:00
Jordan Liggitt
545f6be573
Regenerate types.go
2016-02-08 17:19:15 -05:00
Paul Morie
c6ab0a8677
Remove unused getRuntimePodStatus func from Kubelet
2016-02-08 16:46:11 -05:00
k8s-merge-robot
1e6784edb4
Merge pull request #20741 from timstclair/probe
...
Auto commit by PR queue bot
2016-02-08 12:35:58 -08:00
deads2k
6d71421ae1
eliminate mixed case from RESTMapper
2016-02-08 15:33:31 -05:00
k8s-merge-robot
230f593058
Merge pull request #20383 from smarterclayton/allow_prefix_changes
...
Auto commit by PR queue bot
2016-02-08 12:04:46 -08:00
Tim St. Clair
da0d37f1e0
Fix panic from multiple probe cleanup calls.
2016-02-08 11:23:07 -08:00
k8s-merge-robot
b32078d89b
Merge pull request #20496 from matthewdupre/masquerade-config
...
Auto commit by PR queue bot
2016-02-08 10:49:20 -08:00
k8s-merge-robot
e83a0d1231
Merge pull request #20721 from pweil-/disable-psp
...
Auto commit by PR queue bot
2016-02-08 08:54:49 -08:00
Yifan Gu
8964469e4a
rkt: Remove ShouldContainerBeRestartedOldVersion().
2016-02-09 00:15:58 +08:00
Yifan Gu
8e5c14f1bf
rkt: Annotation key should not container capital letters.
2016-02-09 00:13:08 +08:00
Marcin Wielgus
67e9db4377
Set verbosity for debug logs
2016-02-08 17:07:05 +01:00
Paul Weil
619ccb7023
don't enable psp by default and fix comment
2016-02-08 08:56:52 -05:00
James DeFelice
1aec798aa0
support optional envvars for pod-infra-container
2016-02-08 13:48:25 +00:00
Matt Dupre
9925cddc11
Change iptables fwmark to use single configurable bit instead of whole mark space
2016-02-08 11:12:09 +00:00
gmarek
6b2507485f
Add FakeNeverRateLimitter
2016-02-08 11:06:25 +01:00
Avesh Agarwal
5fbede0428
Fix sort-by indentation issue.
2016-02-08 02:53:00 -05:00
markturansky
a242a3d5fe
Added Attacher/Detacher interfaces and support to kubelet
2016-02-07 16:55:58 -05:00
k8s-merge-robot
57bc8719f9
Merge pull request #19917 from ingvagabund/jitter-until-in-util-package
...
Auto commit by PR queue bot
2016-02-07 13:18:48 -08:00
k8s-merge-robot
fd38f4f47e
Merge pull request #20779 from smarterclayton/origin_explain
...
Auto commit by PR queue bot
2016-02-07 12:45:09 -08:00
Jan Chaloupka
8e270922be
Add unit test for JitterUntil
2016-02-07 21:09:06 +01:00
Jan Chaloupka
3fa290980a
jitter period in each run of Until
...
In order to synchronize the current state of Kubernetes's objects (e.g. pods, containers, etc.),
periodic synch loops are run. When there is a lot of objects to synchronize with,
loops increase communication traffic. At some point when all the traffic interfere cpu usage curve
hits the roof causing 100% cpu utilization.
To distribute the traffic in time, some sync loops can jitter their period in each loop
and help to flatten the curve.
This commit adds JitterUntil function with jitterFactor parameter.
JitterUntil generalizes Until which is a special case for jitterFactor being zero.
2016-02-07 21:09:02 +01:00
Jan Chaloupka
4389b3f0d6
Rewritte util.* -> wait.* wherever reasonable
2016-02-07 12:02:20 +01:00
Jan Chaloupka
43a47a8234
Move Until, Forever, NeverStop, ForeverTestTimeout from util to wait
2016-02-07 11:38:48 +01:00
k8s-merge-robot
59a05682dc
Merge pull request #20662 from thockin/e2e-ip-leak
...
Auto commit by PR queue bot
2016-02-06 23:30:56 -08:00
k8s-merge-robot
c26087db45
Merge pull request #19611 from thockin/proxy-sysctl-decouple
...
Auto commit by PR queue bot
2016-02-06 23:01:48 -08:00
k8s-merge-robot
0cc0bd342f
Merge pull request #20520 from thockin/iptables-test-nits
...
Auto commit by PR queue bot
2016-02-06 22:34:10 -08:00
k8s-merge-robot
1f113d6a38
Merge pull request #20730 from deads2k/add-string-for-debug
...
Auto commit by PR queue bot
2016-02-06 21:48:00 -08:00
k8s-merge-robot
e76caf43aa
Merge pull request #20703 from mwielgus/hpa-cm-validation
...
Auto commit by PR queue bot
2016-02-06 21:16:51 -08:00
Tim Hockin
fecb71420c
Demote static IPs ASAP for easier cleanup
...
This exposed bugs in the IP promotion/demotion logic.
2016-02-06 21:15:06 -08:00
Tim Hockin
78322091f0
Better logs in service controller
2016-02-06 21:14:20 -08:00
Tim Hockin
1e7db4a174
Implement proper cleanup in iptables proxy
2016-02-07 02:42:18 +00:00
Tim Hockin
107c5f7813
Put all masquerade mark logic into new chains
...
This allows us to use the MARK-MASQ chain as a subroutine, rather than encoding
the mark in many places. Having a KUBE-POSTROUTING chain means we can flush
and rebuild it atomically. This makes followon work to change the mark
significantly easier.
2016-02-07 02:42:07 +00:00
Tim Hockin
41ba8ced6d
Dont log errors on proxy leftover cleanup
2016-02-07 02:41:50 +00:00
Clayton Coleman
664d25ba5a
Take GVK in SwaggerSchema()
...
This is needed for the legacy OpenShift API group (oapi) which is also
group: "", version: "v1", but needs to return a different swagger
schema. Will in the future be replaced by group defaulting.
2016-02-06 21:24:33 -05:00
k8s-merge-robot
6103b8713e
Merge pull request #20648 from deads2k/fix-validation
...
Auto commit by PR queue bot
2016-02-06 17:13:19 -08:00
k8s-merge-robot
a08ac362a9
Merge pull request #19839 from madhusudancs/replicaset-e2e-enable
...
Auto commit by PR queue bot
2016-02-06 12:54:34 -08:00
k8s-merge-robot
257c3ad776
Merge pull request #20153 from sky-uk/fix-sg-comparison
...
Auto commit by PR queue bot
2016-02-06 12:25:26 -08:00
k8s-merge-robot
17c65cee35
Merge pull request #20607 from bprashanth/svccontroller_events
...
Auto commit by PR queue bot
2016-02-06 10:53:27 -08:00
k8s-merge-robot
aac20ed69d
Merge pull request #20600 from freehan/servicevalidation
...
Auto commit by PR queue bot
2016-02-06 10:23:18 -08:00
k8s-merge-robot
3f1c99f013
Merge pull request #20515 from mikedanese/fix-proxy-mode
...
Auto commit by PR queue bot
2016-02-06 07:49:30 -08:00
k8s-merge-robot
6614b833cb
Merge pull request #20505 from derekwaynecarr/quantity_fix
...
Auto commit by PR queue bot
2016-02-06 07:18:51 -08:00
k8s-merge-robot
f769ecdabc
Merge pull request #20487 from deads2k/fix-unstructured
...
Auto commit by PR queue bot
2016-02-06 06:49:13 -08:00
k8s-merge-robot
c8e5e89491
Merge pull request #20395 from jimmidyson/system-container-fix
...
Auto commit by PR queue bot
2016-02-06 04:06:42 -08:00
Madhusudan.C.S
48c4173f5f
Enable ReplicaSets in e2e tests.
2016-02-06 03:46:17 -08:00
k8s-merge-robot
9de1b9b8c2
Merge pull request #20388 from mqliang/event-version
...
Auto commit by PR queue bot
2016-02-06 03:37:34 -08:00
k8s-merge-robot
30c1263b81
Merge pull request #20376 from smarterclayton/rest_error
...
Auto commit by PR queue bot
2016-02-06 02:15:45 -08:00
k8s-merge-robot
b45a94bc78
Merge pull request #20765 from janetkuo/remove-podtemplate-key
...
Auto commit by PR queue bot
2016-02-06 00:44:47 -08:00
k8s-merge-robot
fe269474ca
Merge pull request #20330 from bryk/kubernetes-dashboard
...
Auto commit by PR queue bot
2016-02-06 00:15:10 -08:00
k8s-merge-robot
6c5540baae
Merge pull request #20232 from mml/daemonset-warn
...
Auto commit by PR queue bot
2016-02-05 23:12:51 -08:00
k8s-merge-robot
474795060c
Merge pull request #19806 from madhusudancs/replicaset-link-boilerplate
...
Auto commit by PR queue bot
2016-02-05 22:45:13 -08:00
k8s-merge-robot
1b52e0ec3a
Merge pull request #20210 from jsafrane/devel/gce-tags
...
Auto commit by PR queue bot
2016-02-05 21:36:25 -08:00
k8s-merge-robot
e3c58293b9
Merge pull request #20197 from markturansky/check_pv_by_pvc_uid
...
Auto commit by PR queue bot
2016-02-05 21:06:16 -08:00
Madhusudan.C.S
4f9b8b2bfc
Link all the ReplicaSet controller boilerplate together.
...
1. Enable replica set in controller manager.
2. Enable replica set etcd storage in master package.
3. Add replica set support to kubectl commands.
2016-02-05 21:05:10 -08:00
k8s-merge-robot
0ad6326d7f
Merge pull request #20170 from pmorie/update-ads-pod
...
Auto commit by PR queue bot
2016-02-05 20:37:39 -08:00
k8s-merge-robot
fcf9c4a1e4
Merge pull request #19741 from pwittrock/syncfsmetrics
...
Auto commit by PR queue bot
2016-02-05 17:54:22 -08:00
Janet Kuo
bb0c5fea0e
Fix test failure
2016-02-05 17:26:07 -08:00
Daniel Smith
da10ef387f
Merge pull request #20761 from mikedanese/revert-20702
...
this is a manual reversion of #20702
2016-02-05 17:07:47 -08:00
Daniel Smith
7ec7eb3173
Merge pull request #19803 from madhusudancs/replicaset-registry
...
Implement ReplicaSet registry.
2016-02-05 16:52:17 -08:00
k8s-merge-robot
8163b6ce97
Merge pull request #20671 from vishh/avoid-moving-all-dockers
...
Auto commit by PR queue bot
2016-02-05 16:49:03 -08:00
Mike Danese
b1743a6887
this is a manual reversion of #20702
...
I can't revert with github which says "Sorry, this pull request couldn’t be
reverted automatically. It may have already been reverted, or the content may
have changed since it was merged."
Reverts commit: 0c191e787b
2016-02-05 16:34:02 -08:00
Janet Kuo
7e9fb97b7d
Remove UniqueLabelKey from deployment spec
2016-02-05 16:21:44 -08:00
Madhusudan.C.S
0bcab9ab11
Implement ReplicaSet registry.
2016-02-05 16:14:10 -08:00
Daniel Smith
8f3eb93626
Merge pull request #20072 from smarterclayton/higher_debug
...
Move the loader file log level to v(6)
2016-02-05 16:03:07 -08:00
Phillip Wittrock
3de94cd23c
Supply volume fs metrics to server/stats/handler.go
...
* Metrics will not be expose until they are hooked up to a handler
* Metrics are not cached and expose a dos vector, this must be fixed before release or the stats should not be exposed through an api endpoint
2016-02-05 16:00:24 -08:00
Daniel Smith
60cc5d10b7
Merge pull request #20013 from spxtr/fix-ssh
...
Retry SSH connection for E2E log gathering.
2016-02-05 15:52:34 -08:00
Daniel Smith
9b68e8ec2b
Merge pull request #20269 from mqliang/sync-delta-fifo
...
add a HasSynced() for DeltaFIFO and FIFO, method, which is very helpful for Informer
2016-02-05 15:51:50 -08:00
Daniel Smith
5fe99f44c8
Merge pull request #20542 from mikedanese/kube-proxy-defaulting
...
componentconfig: move kube proxy defaulting into the exetrnal api
2016-02-05 15:51:12 -08:00
Daniel Smith
82e928d71b
Merge pull request #20636 from deads2k/fix-error
...
fix version detection for error
2016-02-05 15:50:27 -08:00
Daniel Smith
f973af25fa
Merge pull request #20747 from caesarxuchao/internalclientset
...
rename release_1_2 to internalclientset
2016-02-05 15:49:08 -08:00
k8s-merge-robot
6b20879a7f
Merge pull request #20142 from bprashanth/ing_tls
...
Auto commit by PR queue bot
2016-02-05 15:07:09 -08:00
Daniel Smith
9441721fee
Merge pull request #19689 from AdoHe/kubectl_label_display
...
kubectl add show-labels flag to make it more readable
2016-02-05 14:08:37 -08:00
Daniel Smith
1c7b5e126a
Merge pull request #20609 from erictune/add-api-package
...
Cleanup borrowed conversion functions.
2016-02-05 14:02:30 -08:00
Chao Xu
184440f8ef
rename release_1_2 to internalclientset
2016-02-05 14:02:28 -08:00
Daniel Smith
75e1451363
Merge pull request #20742 from kubernetes/revert-20615-deprecate-hostconfig-at-container-start
...
Revert "Deprecate HostConfig at container start"
2016-02-05 14:01:43 -08:00
k8s-merge-robot
b4c16ef9eb
Merge pull request #20205 from Random-Liu/remove-old-convert-function-and-reason-cache
...
Auto commit by PR queue bot
2016-02-05 13:15:36 -08:00
Nikhil Jindal
4606d1408b
Merge pull request #20532 from nikhiljindal/genericServerAPIs
...
Moving /apis handler to generic api server
2016-02-05 13:13:57 -08:00
Paul Morie
0b82d0b491
Allow pod.Spec.ActiveDeadlineSeconds to be updateable
2016-02-05 15:58:31 -05:00
Lantao Liu
bb9457e7a3
Revert "Deprecate HostConfig at container start"
2016-02-05 12:50:35 -08:00
deads2k
49529a0aa5
clear env var check for unit test
2016-02-05 14:21:49 -05:00
Random-Liu
45e3a1f596
Remove old reason cache
2016-02-05 19:19:46 +00:00
Random-Liu
2b7d0182ca
Remove ConvertPodStatusToAPIPodStatus from runtime interface
2016-02-05 19:19:46 +00:00
k8s-merge-robot
bd67b8a5db
Merge pull request #20192 from Random-Liu/remove-get-api-podstatus
...
Auto commit by PR queue bot
2016-02-05 11:00:42 -08:00
Prashanth Balasubramanian
c56bebf594
Basic TLS support.
2016-02-05 11:00:04 -08:00
k8s-merge-robot
87fbfdc953
Merge pull request #20116 from Clarifai/http-headers
...
Auto commit by PR queue bot
2016-02-05 10:28:31 -08:00
k8s-merge-robot
14d74a1c01
Merge pull request #19365 from jsafrane/devel/retry-delete
...
Auto commit by PR queue bot
2016-02-05 09:55:21 -08:00
deads2k
4175688460
add restmapper Stringer methods for debugging
2016-02-05 12:47:25 -05:00
k8s-merge-robot
266d7aa5b3
Merge pull request #19783 from magicwang-cn/master
...
Auto commit by PR queue bot
2016-02-05 08:53:30 -08:00
Rudi Chiarito
a2d1bb7acf
Add httpHeaders to httpGet liveness probe
...
Also update existing documentation and try to steer users away from 'host'.
Add validation.
2016-02-05 11:20:04 -05:00
Jan Safranek
76b6449715
Retry recycle or delete operation on failure.
...
Recycle controller tries to recycle or delete a PV several times.
It stores count of failed attempts and timestamp of the last attempt in
annotations of the PV.
By default, the controller tries to recycle/delete a PV 3 times in
10 minutes interval. These values are configurable by
kube-controller-manager --pv-recycler-maximum-retry=X --pvclaimbinder-sync-period=Y
arguments.
2016-02-05 17:02:13 +01:00
k8s-merge-robot
3cfb090939
Merge pull request #7893 from pweil-/security-policy
...
Auto commit by PR queue bot
2016-02-05 07:14:37 -08:00
k8s-merge-robot
ae15a4437b
Merge pull request #19944 from mwielgus/simple-cm
...
Auto commit by PR queue bot
2016-02-05 06:41:28 -08:00
Paul Weil
03261146b0
api
2016-02-05 08:45:50 -05:00
Eric Tune
ff35d97663
Cleanup borrowed conversion functions.
...
In pkg/apis/extensions/v1beta1/conversion.go,
some conversion code was copied from the
legacy api because Pod conversions cannot be
automatically generated because of something
about deprecatedServiceAccount.
This PR fixes two problems due to that copying.
First, the copied code could drift from its source
To fix that, I replaced the Convert_api_ and Convert_v1
implementations with a call to the original function.
I left a wrapper in case something needed to have
a package-local function name.
Second, the copied Convert_* functions, were copied,
in a way that they refer to other conversion functions
that aren't in the current package. This prevented
genconverion from working from a clean start
(no conversion_generated.go). Perhaps the person
who wrote this in the first place had copied
the conversion_generated.go file from legacy,
so it worked. So, I added the v1
package name to calls to Convert_* functions.
So, when someone Cargo-Cult copies the conversion.go
file, like I did, they now will not have to
wonder why genconversion complains about missing
Convert_ functions.
Deleted the conversion_generated.go and reran genconversion
and it worked, no diffs old vs new conversion_generated.go.
2016-02-05 05:42:47 -08:00
k8s-merge-robot
4ecfe4d207
Merge pull request #20678 from janetkuo/dont-copy-apply-annotation
...
Auto commit by PR queue bot
2016-02-05 05:23:08 -08:00
k8s-merge-robot
df0bbd45d7
Merge pull request #20615 from Random-Liu/deprecate-hostconfig-at-container-start
...
Auto commit by PR queue bot
2016-02-05 04:54:28 -08:00
bryk
46f51d74bb
Set kubernetes-dashboard as the default UI addon
...
Dashboard release info:
https://github.com/kubernetes/dashboard/releases/tag/v0.1.0
This replaces kube-ui addon
2016-02-05 13:36:37 +01:00
gmarek
0c191e787b
Split controller flags between controllers
2016-02-05 12:17:51 +01:00
Marcin Wielgus
bf0c881263
Set Docker custom metric label for cAdvisor if custom metric volume is mounted
2016-02-05 12:00:02 +01:00
Marcin Wielgus
9a74a60413
Validation of HPA custom metrics annotation
2016-02-05 11:31:51 +01:00
k8s-merge-robot
ce6fd46637
Merge pull request #20539 from mikedanese/kube-scheduler-external
...
Auto commit by PR queue bot
2016-02-05 01:56:43 -08:00
Wojciech Tyczynski
31a6f90da1
Don't mix RVs from different resources
2016-02-05 09:23:34 +01:00
magicwang-cn
d2cf858560
make watch cache sizes configuratable of kube-apiserver
2016-02-05 15:47:27 +08:00
Wojciech Tyczynski
d3639aff73
Fix deadlock in watch cache
2016-02-05 08:31:55 +01:00
Janet Kuo
40849a5b50
Skip apply annotation when copying annotations from deployment to RC
2016-02-04 23:30:31 -08:00
Daniel Smith
2e7993e057
Merge pull request #20674 from caesarxuchao/decode-status
...
To be compatible with release 1.1, decode Status even if the APIVersion is not set in the response
2016-02-04 23:27:47 -08:00
Daniel Smith
c399b49c29
Merge pull request #20431 from deads2k/tighten-api-installer
...
tighten api server installation for bad groups
2016-02-04 23:19:08 -08:00
Daniel Smith
d84ac764a9
Merge pull request #20492 from erictune/labselunver
...
Move extensions.LabelSelector to unversioned
2016-02-04 23:17:40 -08:00
Daniel Smith
e6639de333
Merge pull request #20380 from mqliang/podcidr-validation
...
pod cidr validation
2016-02-04 23:16:02 -08:00
Tim Hockin
df6ac92976
Merge pull request #20663 from thockin/svc-ctrl-defer-ip-release
...
Use defer for IP release
2016-02-04 22:47:46 -08:00
nikhiljindal
d267ab5f92
Moving /apis handler to generic server
2016-02-04 17:58:13 -08:00
k8s-merge-robot
c09b67f60f
Merge pull request #20591 from caesarxuchao/legacy-to-core
...
Auto commit by PR queue bot
2016-02-04 17:37:12 -08:00
k8s-merge-robot
2084fba199
Merge pull request #18842 from vishh/kubelet_docker
...
Auto commit by PR queue bot
2016-02-04 17:08:34 -08:00
Tim Hockin
a6cb6d76e3
Use defer for IP release
2016-02-04 16:40:28 -08:00
Chao Xu
0d772a7a52
To be compatible with release 1.1, decode Status even if the APIVersion is not set.
2016-02-04 16:12:17 -08:00
Lantao Liu
8118092d11
Deprecate HostConfig at container start
2016-02-04 15:35:14 -08:00
k8s-merge-robot
003b231867
Merge pull request #19576 from maclof/master
...
Auto commit by PR queue bot
2016-02-04 15:20:00 -08:00
Chao Xu
1b047f8e67
rename legacy to core
2016-02-04 14:26:56 -08:00
Phillip Wittrock
ba5be34574
Kubelet Metrics Summary Api Implementation
2016-02-04 14:05:28 -08:00
Eric Tune
eba2c56566
hack/update-generated-swagger-docs.sh
2016-02-04 13:46:34 -08:00
Eric Tune
fead374844
Regenerate types, conversions.
2016-02-04 13:46:34 -08:00
Eric Tune
6133cb1f21
Move extensions.LabelSelector to unversioned.
...
Move type LabelSelector and type LabelSelectorRequirement from pkg/apis/extensions
This avoids an import loop when Job (and later DaemonSet, Deployment, ReplicaSet)
are moved out of extensions to new api groups.
Also Move LabelSelectorAsSelector utility from pkg/apis/extensions/ to pkg/api/unversioned/
Also its test.
Also LabelSelectorOp* constants.
Also the pkg/apis/extensions/validation functions ValidateLabelSelectorRequirement and
ValidateLabelSelector move to pkg/api/unversioned
The related type in pkg/apis/extensions/v1beta1/ is staying there. I might move
it in another PR if neccessary.
2016-02-04 13:46:34 -08:00
Vishnu kannan
df1f164b34
Do not fail container creation if the contaienr exits before applyting
...
oom score adjust.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-04 13:39:19 -08:00
Vishnu kannan
62fe566e68
Kubelet will not move docker daemons running in containers.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-04 13:34:56 -08:00
Marc Lough
c33fcba311
Reject packets to services without endpoints
2016-02-04 20:56:02 +00:00
Nikhil Jindal
59820827d4
Merge pull request #20513 from nikhiljindal/apiserverExampleTest
...
Adding test for apiserver example
2016-02-04 11:28:58 -08:00
Tim Hockin
318b11d418
Merge pull request #20657 from bprashanth/ut_fix
...
Don't handshake with each watch interrupt in proxy unittests.
2016-02-04 11:04:12 -08:00
Saad Ali
7d70edc91f
Merge pull request #20553 from jonboulle/yifan-gu-rkt_dns
...
rkt: Add DNS support
2016-02-04 10:55:38 -08:00
Prashanth Balasubramanian
589b7fdc92
Don't handshake with watch interrupt in proxy unittests.
2016-02-04 10:55:25 -08:00
derekwaynecarr
2ad322f295
Add or subtract from zero should not lose format
2016-02-04 13:16:47 -05:00
deads2k
067ecb4b60
expose unstructured scheme as codec
2016-02-04 11:14:16 -05:00
deads2k
e084578148
fix validation error path for namespace
2016-02-04 10:10:49 -05:00
deads2k
26b91926b2
fix version detection for error
2016-02-04 08:20:41 -05:00
Jimmi Dyson
1b204d85a6
Ensure all API server responses are properly instrumented
2016-02-04 12:35:03 +00:00
Wojciech Tyczynski
f23034d5da
Reset more metrics before scalability tests
2016-02-04 11:47:13 +01:00
AdoHe
714d12cf72
kubectl add show-labels flag to make it more readable
2016-02-04 02:08:44 -05:00
Saad Ali
0952dcd349
Merge pull request #20389 from mqliang/deployment-MinReadySeconds
...
Move MinReadySeconds out of RollingUpdateDeployment
2016-02-03 22:44:14 -08:00
k8s-merge-robot
16aa40cc33
Merge pull request #20035 from janetkuo/record-command
...
Auto commit by PR queue bot
2016-02-03 20:19:08 -08:00
Prashanth B
8d5ad91f0e
Merge pull request #20624 from bprashanth/kp-channel
...
Make sure at least one interrupt is buffered before dropping.
2016-02-03 20:13:10 -08:00
k8s-merge-robot
f3429776c2
Merge pull request #20598 from mikedanese/serialization-tests
...
Auto commit by PR queue bot
2016-02-03 19:46:28 -08:00
k8s-merge-robot
65ebe19164
Merge pull request #20584 from caesarxuchao/release_1_2
...
Auto commit by PR queue bot
2016-02-03 19:46:27 -08:00
k8s-merge-robot
bb7ad7cd09
Merge pull request #18795 from dcbw/cbr0-network-plugin
...
Auto commit by PR queue bot
2016-02-03 19:46:25 -08:00
Prashanth Balasubramanian
f9b96d2c71
Make sure at least one interrupt is buffered before dropping.
2016-02-03 19:23:17 -08:00
David Oppenheimer
bf2dbd61a2
Merge pull request #19758 from Huawei-PaaS/node-affinity-part1
...
NodeSelector, HardNodeAffinity and SoftNodeAffinity implementation
2016-02-03 19:18:45 -08:00
magicwang-cn
2d701e8ac8
bug fix in unversion request
2016-02-04 11:07:00 +08:00
Kevin
c8c82c1d8f
implement Node affinity and NodeSelector
2016-02-04 01:53:14 +00:00
Mike Danese
216a35d988
run serialization tests on all apigroups registered in testapi
2016-02-03 17:41:02 -08:00
k8s-merge-robot
d4da1ee3ce
Merge pull request #19835 from janetkuo/kubectl-rollout
...
Auto commit by PR queue bot
2016-02-03 17:39:04 -08:00
Lantao Liu
4a386f881f
Deprecate HostConfig at container start
2016-02-04 01:00:03 +00:00
Prashanth Balasubramanian
33654c8b4e
Send update events from service-controller.
2016-02-03 16:50:13 -08:00
Saad Ali
10f9dd3b67
Merge pull request #20575 from derekwaynecarr/fix_fake_client
...
Fix DeleteCollection in FakeClient
2016-02-03 16:33:58 -08:00
Saad Ali
25f02f19e1
Merge pull request #20603 from pmorie/pod-ip-debug
...
Make it easier to debug pod IP flakes for downward API
2016-02-03 16:09:33 -08:00
Joe Finney
7a59683e41
Retry SSH connection for E2E log gathering.
2016-02-03 16:06:02 -08:00
nikhiljindal
c7beb9078c
Updating methods to return error rather than using glog.Fatalf
2016-02-03 16:00:45 -08:00
Paul Morie
1db0925521
Make it easier to debug pod IP flakes for downward API
2016-02-03 18:26:07 -05:00
Minhan Xia
ec7366fc2a
add service validation for mix protocol
2016-02-03 14:54:32 -08:00
Jerome Touffe-Blin
0a36db19bf
Fix #11543 - use DescribeInstances API to retrieve the correct private DNS name
2016-02-04 08:48:25 +11:00
Chao Xu
f9f5736b01
grep sed
2016-02-03 13:06:07 -08:00
Prashanth Balasubramanian
e1fa6e9fb8
kube-proxy applies latest snapshot of endpoints and services.
2016-02-03 12:58:37 -08:00
Justin Santa Barbara
12d407da19
AWS EBS: Remove copied-and-pasted udevadm code
...
This is in GCE to deal with a GCE specific issue; there's no reason to
believe we need the same logic on AWS.
2016-02-03 20:56:17 +00:00
Justin Santa Barbara
f61a5d0400
AWS: Switch arguments to AttachDisk/DetachDisk to match GCE
2016-02-03 20:43:23 +00:00
Justin Santa Barbara
d10e3debc7
AWS EBS: HandleCrash moved to util/runtime
2016-02-03 20:43:14 +00:00
Justin Santa Barbara
089951e7b4
Fix typo in comment: succefully -> successfully
2016-02-03 20:43:14 +00:00
Justin Santa Barbara
6c87a4be7c
AWS: Handle deleting volume that no longer exists
...
The tests in particular double-delete volumes, so we need to handle this
graciously.
2016-02-03 20:43:14 +00:00
Justin Santa Barbara
1ae1db6027
AWS: Update copy-paste of GCE PD code to latest version
...
We are (sadly) using a copy-and-paste of the GCE PD code for AWS EBS.
This code hasn't been updated in a while, and it seems that the GCE code
has some code to make volume mounting more robust that we should copy.
2016-02-03 20:43:14 +00:00
derekwaynecarr
070dce1bec
Fix DeleteCollection in FakeClient
2016-02-03 14:39:24 -05:00
Mike Danese
ee4e60d78c
componentconfig: move kube proxy defaulting into the exetrnal api
2016-02-03 11:04:24 -08:00
Janet Kuo
e3cb44aaff
Copy deployment's annotations to its RC
2016-02-03 10:19:06 -08:00
Janet Kuo
5088d0e147
Record kubectl commands
2016-02-03 10:19:05 -08:00
k8s-merge-robot
210bac10c9
Merge pull request #19200 from wojtek-t/public_deep_copies
...
Auto commit by PR queue bot
2016-02-03 08:43:22 -08:00
Rudi Chiarito
a0831a2378
Mass fix of Infof and co. missing the trailing "f", even when formatting placeholders are used
2016-02-03 11:34:59 -05:00
Dan Williams
fabb65c13f
Add a network plugin that duplicates "configureCBR0" functionality
2016-02-03 10:08:08 -06:00
Dan Williams
67414afd11
Send PodCIDR to network plugins as an event
2016-02-03 10:08:07 -06:00
Yifan Gu
d27a635c4a
rkt: Add DNS support.
...
rkt is now able to populate /etc/resolv.conf with command line flags.
Update the runtime code to fix DNS issues.
2016-02-03 14:54:09 +01:00
Yifan Gu
e9139bb0e5
kubelet: Rename RunContainerOptionsGenerator to RuntimeHelper.
...
Also add GetClusterDNS() to the interface to let rkt get the
DNS servers, DNS names.
2016-02-03 14:54:08 +01:00
Wojciech Tyczynski
68d0f6387a
Regenerate auto-generated files
2016-02-03 13:35:09 +01:00
Jan Safranek
e90de3f985
Fixed cleanup of persistent volumes.
...
Kubelet.cleanupOrphanedVolumes() compares list of volumes mounted to a node
with list of volumes that are required by pods scheduled on the node
("scheduled volume").
Both lists should contain real volumes, i.e. when a pod uses
PersistentVolumeClaim, the list must contain name of the bound volume instead
of name of the claim.
2016-02-03 10:00:09 +01:00
k8s-merge-robot
5914deeac8
Merge pull request #19380 from brendandburns/apiresource
...
Auto commit by PR queue bot
2016-02-03 00:49:47 -08:00
k8s-merge-robot
a7ef693f84
Merge pull request #20464 from thockin/proxymode-iptables
...
Auto commit by PR queue bot
2016-02-03 00:17:38 -08:00
k8s-merge-robot
843c11e06a
Merge pull request #20452 from caesarxuchao/replace-client-kubelet
...
Auto commit by PR queue bot
2016-02-02 23:46:58 -08:00
Mike Danese
097a1d6dd1
autogenerated
2016-02-02 23:17:21 -08:00
Mike Danese
7df86e1ecf
create external api for scheduler config
...
move defaulting into external pacakge
2016-02-02 23:17:18 -08:00
Tim Hockin
11f75e61b9
Inject a kernel-compat tester for kube-proxy test
2016-02-02 22:11:39 -08:00
Chao Xu
cddd7b56a4
replace client with clientset in kubelet and other places
2016-02-02 20:28:45 -08:00
Chao Xu
fe7887f1ec
replace the client with clientset in controllers
2016-02-02 20:28:45 -08:00
k8s-merge-robot
8d8de2efb4
Merge pull request #19314 from cjcullen/tunnels
...
Auto commit by PR queue bot
2016-02-02 19:46:06 -08:00
mqliang
8e615df000
fix the HasSynced() bug for Informer
2016-02-03 11:40:11 +08:00
mqliang
c4a1ab42e3
Move MinReadySeconds out of RollingUpdateDeployment
2016-02-03 11:38:11 +08:00
Jeff Lowdermilk
ae2aece9af
Merge pull request #20202 from caesarxuchao/skip-update
...
skip update when deleting with grace-period=0
2016-02-02 18:24:57 -08:00
k8s-merge-robot
8d540506ae
Merge pull request #20523 from caesarxuchao/generate-fake-clientset
...
Auto commit by PR queue bot
2016-02-02 17:28:24 -08:00
Jeff Lowdermilk
caa9433234
Merge pull request #20433 from lavalamp/fix-bad-rv
...
Add timeout, fix potential startup hang
2016-02-02 17:27:23 -08:00
Chao Xu
66f5cd259d
automatically generate the clientset
2016-02-02 16:06:43 -08:00
nikhiljindal
2aa28c6553
Adding test for apiserver example
2016-02-02 15:42:29 -08:00