Commit Graph

13639 Commits

Author SHA1 Message Date
Tim Hockin
fd22f48f5b rename StorageType StorageMedium 2015-05-18 17:21:30 -07:00
Tim Hockin
f66ca25d9f Rename AccessMode to PersistentVolumeAccessMode 2015-05-18 17:21:30 -07:00
Tim Hockin
a548d542db Rename AffinityType to ServiceAffinity 2015-05-18 17:21:30 -07:00
Wojciech Tyczynski
9a93206774 Script for automatically generate conversions. 2015-05-19 02:17:58 +02:00
Victor Marmol
1e1092ddbc Merge pull request #8461 from pmorie/rkt
rename rkt makeruntimePod
2015-05-18 17:12:05 -07:00
Nikhil Jindal
fadc76422a Merge pull request #8437 from caesarxuchao/kubectl_run-container-doc
update the docs for kubectl-run-container to v1beta3
2015-05-18 16:41:14 -07:00
Paul Morie
a58c7a0de7 rename rkt makeruntimePod 2015-05-18 19:24:10 -04:00
Daniel Smith
c72eedf50a Merge pull request #8138 from bprashanth/rc_race
Check expectations before filtering through active pods.
2015-05-18 15:36:21 -07:00
Daniel Smith
5e056f119d Merge pull request #6694 from bprashanth/bench
Add a simple master benchmark and a wrapper to run it.
2015-05-18 14:42:24 -07:00
Vish Kannan
c5f7ee6f96 Merge pull request #8430 from vmarmol/logging
Don't run OOM watcher is cAdvisor is not available.
2015-05-18 14:41:24 -07:00
Victor Marmol
832842a22e Merge pull request #8436 from yujuhong/rm_poddirs
Kubelet: do not remove directories of terminated pods
2015-05-18 14:21:58 -07:00
Chao Xu
013130f150 update the docs for kubectl-run-container to v1beta3 2015-05-18 13:29:24 -07:00
Yu-Ju Hong
2bf0646c76 Kubelet: do not remove directories of terminated pods
We recently changed `SyncPods` to filter out terminated pods at the beginning
for two reasons:

 * performance: kubelet no longer keeps goroutines to checks containers for
   terminated pods.
 * correctness: kubelet relies on inspecting dead containers to generate
   pod status. Because dead containers may get garbage collected and
   kubelet does not have checkpoints yet, syncing terminated pod could
   lead to modifying the status of a terminated pod.

However, even though kubelet should not *sync* the terminated pods, it
should not attempt to remove the directories and volumes for such
pods as long as they have not been deleted. This change fixes aggresive
directory removal by passing all pods (including terminated pods) to the
cleanup functions.
2015-05-18 13:23:49 -07:00
deads2k
0c14e0cbdb add pull secret references to pods 2015-05-18 16:18:16 -04:00
Brendan Burns
c4ab34f7f9 Merge pull request #8368 from bcbroussard/web-ui-updates
Update web ui listing pages
2015-05-18 13:16:54 -07:00
Wojciech Tyczynski
d7834f5033 Merge pull request #8414 from pweil-/dedupe-sc
remove deprecated fields from v1 types
2015-05-18 12:57:38 -07:00
Victor Marmol
4a1100bb66 Don't run OOM watcher is cAdvisor is not available.
Fixes #8424.
2015-05-18 12:18:12 -07:00
Victor Marmol
a7341cfb77 Merge pull request #8386 from smarterclayton/make_kubelet_consumable
Make it easier to reuse kubelet server code
2015-05-18 11:26:55 -07:00
Daniel Smith
6dbecc2a33 Merge pull request #8165 from feihujiang/checkjsonformat
Check json format firstly
2015-05-18 11:24:56 -07:00
Daniel Smith
c27999da07 Merge pull request #7966 from deads2k/add-dockercfg-secrets
add dockercfg secret types
2015-05-18 11:24:02 -07:00
Victor Marmol
45874d5f76 Merge pull request #5547 from gmarek/client3
Add a resource specifying number of Pods that are allowed to run on Kubelet.
2015-05-18 11:11:43 -07:00
Paul Weil
ad4e4c90ce remove deprecated fields from v1 types 2015-05-18 14:07:36 -04:00
Yu-Ju Hong
050b8ba60b Kubelet: move active deadline check to per pod worker
Per-pod workers have sufficient knowledge to determine whether a pod has
exceeded the active deadline, and they set the status at the end of each sync.
Move the active deadline check to generatePodStatus so that per pod workers
can update the pod status directly. This eliminates the possibility of a race
condition where both SyncPods and the pod worker are updating the status, which
could lead to temporary erratic pod status behavior (pod phase: failed ->
running -> failed).
2015-05-18 10:52:41 -07:00
Yu-Ju Hong
25668ccc11 Kubelet: remove the getPodstatus method
Pod statuses are periodically writtien to the status manager, and status
manager sets the start time of the pod. All non-status-modifying code should
perform cache lookup and should not attempt to generate pod status on its own.
2015-05-18 10:52:36 -07:00
Vish Kannan
969023f3ec Merge pull request #8389 from smarterclayton/chatty_endpoints_controller
Endpoints controller is logging too much
2015-05-18 09:40:57 -07:00
Satnam Singh
26b27b5e0f Merge pull request #8374 from jimmidyson/docker-log-symlink-separator
Docker log symlinks should use underscore separator
2015-05-18 08:59:07 -07:00
Victor Marmol
0e804b03a4 Merge pull request #8220 from thockin/label-validation
Add test case for qname validation, fix impl
2015-05-18 08:40:56 -07:00
Victor Marmol
4ba22e713a Merge pull request #8296 from jlowdermilk/gen-analytics
Add ga-beacon analytics to gendocs scripts
2015-05-18 08:40:02 -07:00
Victor Marmol
bf912e0d82 Merge pull request #8338 from nikhiljindal/omitEmpty
Fixing the omitempty tag
2015-05-18 08:39:47 -07:00
Victor Marmol
fa716a1b48 Merge pull request #8344 from jlowdermilk/clientcmd-api
Remove dependency on pkg/api from pkg/client/clientcmd/api
2015-05-18 08:39:18 -07:00
Victor Marmol
315d9a32a7 Merge pull request #8380 from justinsb/visibility_1_util_portrange
Add util.PortRange, so that a port range can be a flag.  Format: lo-hi
2015-05-18 08:37:57 -07:00
Victor Marmol
90d6080fe8 Merge pull request #8392 from liggitt/ttlfunc
Pass correct update flag to TTLFunc
2015-05-18 08:36:19 -07:00
Victor Marmol
618c5c567f Merge pull request #8400 from a-robinson/bug
Properly handle nil cached services in the service controller's node reconciler
2015-05-18 08:35:50 -07:00
Clayton Coleman
3b10d82864 Merge pull request #8391 from liggitt/etcd_token_lookup
Make serviceaccount/token lookup more flexible
2015-05-18 11:08:30 -04:00
Clayton Coleman
485a420326 Merge pull request #8257 from liggitt/multi_user_controller
Allow ServiceAccountsController to manage multiple named service accounts
2015-05-18 10:39:50 -04:00
Clayton Coleman
a2e4f95e32 Merge pull request #8269 from smarterclayton/add_proxier_error
Proxier should return typed errors
2015-05-18 10:00:44 -04:00
Clayton Coleman
4a47e89e8a Merge pull request #8407 from mfojtik/double-timestamps
Disable 'Timestamps' in Docker logs to prevent double-timestamps
2015-05-18 09:59:50 -04:00
deads2k
be0f2d2930 add dockercfg secret types 2015-05-18 08:25:27 -04:00
Derek Carr
eb12565960 Merge pull request #8203 from pweil-/expose-context-to-admission
Expose user info to admission controllers
2015-05-18 08:25:10 -04:00
deads2k
d404a17f0a allow leading dots in secret keys 2015-05-18 08:17:58 -04:00
Michal Fojtik
7d11e226b7 Disable 'Timestamps' in Docker logs to prevent double-timestamps 2015-05-18 12:27:19 +02:00
Alex Robinson
3cf80e76c8 Properly handle nil cached services in the service controller's node reconciler.
Add a test that catches the former bug.
2015-05-17 22:36:48 -07:00
feihujiang
d36173e855 Check json format firstly
Check json format firstly

check json format firstly

check json format firstly
2015-05-18 10:44:29 +08:00
BC Broussard
f62aa79cd5 Only show more button on list pages if scope.moreClick defined
Remove placeholder thumbnails from pod listing page of web ui
Show pods when there are no labels
2015-05-17 15:59:53 -07:00
Jordan Liggitt
a2d6dd0467 Pass correct update flag to TTLFunc 2015-05-17 00:42:30 -04:00
Jordan Liggitt
d90e7409e4 Prevent auth recursion for service account tokens 2015-05-16 23:39:07 -04:00
Clayton Coleman
78ad32a538 Endpoints controller is logging too much
Pods not having an IP yet or pods that don't have a port aren't v(0)
log items, since the former is usually temporary and the latter has
nothing actionable for an admit.
2015-05-16 19:37:13 -04:00
Clayton Coleman
c54097d96c DefaultMux should only register the first time 2015-05-16 16:11:24 -04:00
Clayton Coleman
1f628f2340 Bump fake docker version to emulate Docker 1.6 2015-05-16 16:10:49 -04:00
Justin Santa Barbara
2457c284ed Add util.PortRange, so that a port range can be a flag. Format: lo-hi 2015-05-16 15:52:57 -04:00