Commit graph

31450 commits

Author SHA1 Message Date
k8s-ci-robot
5b658bb65e
Merge pull request #69136 from zhangmingld/deletecommentgetPodsMatchingAffinity
func getPodsMatchingAffinity no longer exists,dont need it in comment
2018-09-30 02:37:03 -07:00
liangwei
456c351e31 fix bugs introduced by ipvs graceful termination 2018-09-30 16:40:13 +08:00
k8s-ci-robot
9895e4e844
Merge pull request #69032 from mlmhl/azure_file_setup
return error if make dir failed when setting up azure file volume
2018-09-29 22:21:58 -07:00
k8s-ci-robot
e019addcaa
Merge pull request #68931 from mlmhl/check_volume_attachment
extract volume attachment status checking operation as a common function when attaching a CSI volume
2018-09-29 19:45:06 -07:00
k8s-ci-robot
0b3a5cd64f
Merge pull request #65135 from stlaz/psp_group_mayrunas
Add "MayRunAs" value among other GroupStrategies
2018-09-29 19:44:55 -07:00
SataQiu
2f7b86c651 fix typo 2018-09-29 18:20:01 +08:00
chestack
613f572caf Fix the confusing kubelet logs about imageGC 2018-09-29 18:09:37 +08:00
Mayank Kumar
1ae12337db scheduler: add error handling for bind 2018-09-28 21:13:21 -07:00
k8s-ci-robot
4b12761c8a
Merge pull request #69171 from andrewsykim/deprecate-all-the-providers
add deprecation warnings for all cloud providers
2018-09-28 17:48:18 -07:00
k8s-ci-robot
165faaaddf
Merge pull request #68602 from Pingan2017/internalerr
remove internalError in runtimeStates , not set anywhere
2018-09-28 15:47:06 -07:00
k8s-ci-robot
5f7e1b559b
Merge pull request #69181 from seans3/helpers-fix
kubectl remove references to internal version of resources
2018-09-28 14:33:47 -07:00
k8s-ci-robot
23e3ab83b6
Merge pull request #69174 from seans3/config-view-fix
kubectl small fix for config view to replace legacyscheme with kubect…
2018-09-28 14:33:38 -07:00
Wei Huang
9da576f03c
move SchedulingQueue to pkg/scheduler/internal/queue 2018-09-28 11:51:02 -07:00
Wei Huang
2e7461c087
auto-generated files 2018-09-28 11:51:01 -07:00
andrewsykim
9468521fdc add deprecation warnings for all cloud providers 2018-09-28 14:50:32 -04:00
k8s-ci-robot
821d9fea48
Merge pull request #69182 from seans3/apply-test-fix
kubectl replaced reference to internal version of Deployment with ext…
2018-09-28 11:18:43 -07:00
Sean Sullivan
2a9115211a kubectl remove references to internal version of resources 2018-09-28 10:34:53 -07:00
k8s-ci-robot
a71d96b796
Merge pull request #69178 from seans3/polymorphic-helpers-fix
kubectl remove internal version references in polymorphichelpers
2018-09-28 10:08:08 -07:00
SataQiu
94a653f100 fix typo 2018-09-28 23:41:24 +08:00
k8s-ci-robot
7c024284ef
Merge pull request #69172 from seans3/test-small-fix
kubectl replace legacyscheme with kubectl scheme in two tests
2018-09-28 04:20:48 -07:00
k8s-ci-robot
2e73529c9e
Merge pull request #58646 from adityadani/disable_selinux_for_portworx_volumes
Change the portworx volume attribute SupportsSELinux to false
2018-09-28 03:06:16 -07:00
k8s-ci-robot
6c1688712d
Merge pull request #68181 from Pingan2017/golint
fix golint failures - some packages under /pkg/kubelet
2018-09-28 01:56:26 -07:00
k8s-ci-robot
8ea6b2c7df
Merge pull request #66012 from Lion-Wei/ipvs-graceful-termination
ipvs support graceful termination
2018-09-28 01:56:12 -07:00
k8s-ci-robot
db1d1c8674
Merge pull request #68700 from Huang-Wei/schedulingQ-graceful-shutdown
shutdown schedulingQueue gracefully
2018-09-28 00:46:14 -07:00
k8s-ci-robot
8fd28eface
Merge pull request #69167 from apelisse/kubectl-diff
Move `diff` command from alpha sub-command to root cmd
2018-09-27 20:52:11 -07:00
k8s-ci-robot
a59474f756
Merge pull request #69132 from seans3/rollout-pause-resume-fix
kubectl remove internal version of resource for rollout pause/resume
2018-09-27 20:52:02 -07:00
k8s-ci-robot
79fa559d6a
Merge pull request #68324 from cheftako/lintClean
Cleaned up lint errors in pkg/kubeapiserver/server.
2018-09-27 20:51:51 -07:00
k8s-ci-robot
c79ad5a65b
Merge pull request #68875 from Huang-Wei/minor-scheduler-cleanup
cleanup duplicate assignment logic in scheduler
2018-09-27 18:29:39 -07:00
Sean Sullivan
75210763bd kubectl replaced reference to internal version of Deployment with external version 2018-09-27 16:00:16 -07:00
Han Kang
4639896880 fix golint error on head. the type should not be declared with the var, as it will be inferred 2018-09-27 15:54:25 -07:00
k8s-ci-robot
7b9f6df068
Merge pull request #69163 from MrHohn/gce-cloud-beta-ds-mock
Add mock for UpdateBetaBackendService
2018-09-27 15:53:46 -07:00
k8s-ci-robot
6e36efc4b7
Merge pull request #68980 from derekwaynecarr/kubelet-restart-policy
Kubelet should not create a new pod sandbox if all containers are done
2018-09-27 15:53:08 -07:00
k8s-ci-robot
e5964b3fcc
Merge pull request #69162 from apelisse/kubectl-dry-run-diff
Use dry-run patch to get the merged version of the object
2018-09-27 14:41:53 -07:00
Wei Huang
be661fddb4
shutdown schedulingQueue gracefully
- add Close() to interface SchedulingQueue
- implement Close() for FIFO and PriorityQueue
- add unit test
2018-09-27 14:32:58 -07:00
Sean Sullivan
a20ba98b87 kubectl replace legacyscheme with kubectl scheme in two tests 2018-09-27 13:58:31 -07:00
Sean Sullivan
52e25446cb kubectl remove internal version references in polymorphichelpers 2018-09-27 13:51:00 -07:00
Sean Sullivan
6e990b715b kubectl small fix for config view to replace legacyscheme with kubectl scheme 2018-09-27 13:20:10 -07:00
Antoine Pelisse
e1eadc5031 Move diff command to root rather than alpha
New command is now `kubectl diff` rather than `kubectl alpha diff` since
it's moving out of alpha soon, and will be using dry-run apply to
produce the diff rather than the custom merge logic.
2018-09-27 13:11:43 -07:00
Antoine Pelisse
2d3f7795c8 Use dry-run patch to get the merged version of the object 2018-09-27 13:06:12 -07:00
Wei Huang
56fcfc5fee
cleanup duplicate assignment logic in scheduler 2018-09-27 11:38:05 -07:00
Derek Carr
5f473bc8e1 Kubelet should not create a new pod sandbox if all containers are done 2018-09-27 14:21:50 -04:00
k8s-ci-robot
34860dafe2
Merge pull request #69150 from soltysh/issue69144
Fix panic in kubectl rollout commands
2018-09-27 11:07:56 -07:00
k8s-ci-robot
58102b7517
Merge pull request #69077 from feiskyer/az-ip
Add fallbacks for getting node IP from Azure IMDS
2018-09-27 11:07:46 -07:00
Zihong Zheng
c9c39eef9c Add mock for UpdateBetaBackendService 2018-09-27 10:57:26 -07:00
Sean Sullivan
71e60225a0 kubectl remove internal version of resource for rollout pause/resume 2018-09-27 10:26:35 -07:00
k8s-ci-robot
96965705a1
Merge pull request #69121 from seans3/editoptions-small-fix
Replaces dependency on internal version of resource with external ver…
2018-09-27 09:51:38 -07:00
k8s-ci-robot
63930183e0
Merge pull request #69119 from seans3/diff-small-fix
Replace internal reference of last-applied-config with external refer…
2018-09-27 09:51:29 -07:00
k8s-ci-robot
53fe9e2a30
Merge pull request #69118 from seans3/apply-small-fix
Replace internal dependency on last-applied-configuration with extern…
2018-09-27 09:51:20 -07:00
k8s-ci-robot
2588ad5f36
Merge pull request #69089 from soltysh/kubectl_issue539
Deduplicate list of directories
2018-09-27 09:51:06 -07:00
k8s-ci-robot
05196d752b
Merge pull request #69043 from deads2k/auth-01-logging
make sure that log includes user information
2018-09-27 07:18:31 -07:00
k8s-ci-robot
f0311b52b3
Merge pull request #69042 from rramkumar1/fake-gce-1
Expose public function to init fake GCECloud + add common hooks
2018-09-27 07:18:22 -07:00
Maciej Szulik
96d01da215
Fix panic in kubectl rollout commands 2018-09-27 15:10:52 +02:00
k8s-ci-robot
25607dea8c
Merge pull request #69027 from vainu-arto/aws-add-has-cluster-tags-tests
AWS: Add tests for awsTagging.hasClusterTag
2018-09-27 06:06:58 -07:00
k8s-ci-robot
12787275f4
Merge pull request #68929 from FengyunPan2/fix-memoryLimit
Configure resource-only container with memory limit
2018-09-27 06:06:39 -07:00
k8s-ci-robot
4215774643
Merge pull request #68634 from seans3/remove-internal-version
Replace internal version of resource with external version for tests
2018-09-27 06:06:30 -07:00
k8s-ci-robot
2adecd040d
Merge pull request #63485 from lovejoy/addPodAgeToDescribeNode
add pod age to describe node
2018-09-27 06:06:20 -07:00
k8s-ci-robot
762ddf792d
Merge pull request #68984 from k82cn/k8s_68899_m
Keep backward compatibility for 'node.Spec.Unschedulable'.
2018-09-27 04:48:49 -07:00
k8s-ci-robot
52b7f6f0c3
Merge pull request #68979 from xing-yang/nodeinfo
Return error from NodeGetInfo
2018-09-27 04:48:29 -07:00
Maciej Szulik
8555b53191
Deduplicate list of directories 2018-09-27 13:32:41 +02:00
Pingan2017
8593c02665 fix panic: kubectl rollout undo 2018-09-27 19:16:38 +08:00
Stanislav Laznicka
a577b50012
Add "MayRunAs" value among other GroupStrategies
Adds "MayRunAs" value among other group strategies. This strategy
allows to define a certain range of GIDs for FSGroupStrategy and
SupplementalGroupStrategy in a PSP.

This new strategy works similarly to the "MustRunAs" one, except that
when no GID is specified in a pod/container security context then no
GID is generated for the respective containers.

Resolves #56173
2018-09-27 12:47:21 +02:00
Jan Safranek
e5fbb3538f Unmount iSCSI device only if it's mounted. 2018-09-27 10:24:59 +02:00
Jan Safranek
ffaff4e976 Fixed panic in iSCSI.UnmountDevice
Fill iscsiDetacher.plugin so iscsiDetacher.plugin.targetLocks.LockKey(iqn) does not
panic.
2018-09-27 10:23:54 +02:00
lovejoy
d022cc8a89 add pod age to describe node 2018-09-27 15:38:58 +08:00
liangwei
9e4f84f42e ipvs connection based graceful termination 2018-09-27 15:16:48 +08:00
liangwei
80ff8b359c ipvs support graceful termination 2018-09-27 15:14:51 +08:00
zhangmingld
061e0dbb7e func getPodsMatchingAffinity no longer exists,dont need it in comment 2018-09-27 14:42:49 +08:00
walter
6990a6392a Cleaned up lint errors in pkg/kubeapiserver/server. 2018-09-26 23:12:30 -07:00
k8s-ci-robot
3fe21e5433
Merge pull request #68922 from BenTheElder/version-staging
move pkg/util/version to staging
2018-09-26 22:59:42 -07:00
k8s-ci-robot
823530d4db
Merge pull request #68917 from zhangmingld/fixwordserr
Fix some typo err
2018-09-26 22:59:32 -07:00
k8s-ci-robot
3d2fcf4155
Merge pull request #68892 from ravisantoshgudimetla/fix-pdb
PDB checks should not be done for terminal pods while evicting
2018-09-26 22:59:14 -07:00
k8s-ci-robot
a6bc5aa49e
Merge pull request #68563 from DylanBLE/dev
fix scheduler crash when Prioritize Map function failed
2018-09-26 22:59:04 -07:00
k8s-ci-robot
08ed1631ac
Merge pull request #68879 from Pingan2017/typo-timeout
fix a small typo
2018-09-26 20:37:38 -07:00
k8s-ci-robot
dbba1a5384
Merge pull request #68864 from roycaihw/fix-rollback-doc
Fix openapi spec and api reference: posting a rollback returns a metav1.Status
2018-09-26 19:22:53 -07:00
k8s-ci-robot
769dbc6693
Merge pull request #68862 from cheftako/GetClusters
Added support for regional calls to GetClusters
2018-09-26 19:22:43 -07:00
k8s-ci-robot
d89418a083
Merge pull request #68860 from bsalamat/remove-pdb-cache
Remove PDB and its event handlers from the scheduler cache
2018-09-26 19:22:34 -07:00
k8s-ci-robot
745f75222f
Merge pull request #68815 from WanLinghao/sa_util_test_case
add a test case which check secret's type
2018-09-26 19:22:25 -07:00
k8s-ci-robot
f008365bbe
Merge pull request #68806 from seans3/legacy-scheme-update
Move legacyscheme (internal version) to kubectl scheme (external vers…
2018-09-26 19:22:14 -07:00
k8s-ci-robot
b637ae6515
Merge pull request #68851 from seans3/rollout-cleanup
Remove unused client in rollout status
2018-09-26 18:11:24 -07:00
k8s-ci-robot
0ca25b8db7
Merge pull request #68816 from FengyunPan2/cgroup-info
Add helpful log for checking cgrop path
2018-09-26 18:10:46 -07:00
k8s-ci-robot
71186a69a6
Merge pull request #67890 from WanLinghao/top_no_headers
add flag `--no-headers` to `kubectl top ...`
2018-09-26 15:53:19 -07:00
k8s-ci-robot
109b67c291
Merge pull request #66516 from tallclair/redirect
Add verification to apiserver redirect following
2018-09-26 15:53:09 -07:00
Sean Sullivan
fe8a261cd6 Replaces dependency on internal version of resource with external version 2018-09-26 14:56:32 -07:00
k8s-ci-robot
29cff0d518
Merge pull request #68741 from jsafrane/fix-var-symlink
Fixed subpath cleanup when /var/lib/kubelet is a symlink.
2018-09-26 14:42:44 -07:00
k8s-ci-robot
ea09a3b40c
Merge pull request #68525 from apelisse/kubectl-diff-simplify-interface
kubectl-diff: Simplify interface
2018-09-26 14:42:35 -07:00
k8s-ci-robot
f263993b80
Merge pull request #67829 from krzysztof-jastrzebski/cpuandmemory
Add "only_cpu_and_memory" GET parameter to /stats/summary http handler in kubele
2018-09-26 14:42:24 -07:00
Sean Sullivan
7863e7c4ba Replace internal reference of last-applied-config with external reference for diff 2018-09-26 14:33:33 -07:00
Bobby (Babak) Salamat
c051f0d31a autogenerated files 2018-09-26 14:22:21 -07:00
Bobby (Babak) Salamat
f340f8baf8 Remove PDB and its event handlers from the scheduler cache 2018-09-26 14:22:21 -07:00
Sean Sullivan
947034e7f7 Replace internal dependency on last-applied-configuration with external dependency 2018-09-26 14:19:14 -07:00
Sean Sullivan
4e8e2705b0 Changes to be more consistent about import aliases and group/kind 2018-09-26 13:42:25 -07:00
Jacob Hilker
4eb6f16b54
Random typo fix 2018-09-26 16:18:04 -04:00
Sean Sullivan
eadb6b18ac More cleanup 2018-09-26 13:12:35 -07:00
Sean Sullivan
d73583552c Remove unused client in rollout status 2018-09-26 13:12:35 -07:00
Hemant Kumar
6eda6d1a06 Make sure we pass mount options while creating bind mounts
This fixes an inconsitency that exists in mounter
2018-09-26 15:12:05 -04:00
Arto Jantunen
986faed326 AWS: Add tests for awsTagging.hasClusterTag
Among other things these tests verify the fix for issue #64230.
2018-09-26 16:12:33 +03:00
k8s-ci-robot
1886e09041
Merge pull request #67929 from charrywanganthony/label_dryrun
fix the output of dryrun when label the same value as original
2018-09-26 06:08:44 -07:00
hongjian.sun
f33c2c11f2 fix scheduler crash when Prioritize Map function failed 2018-09-26 20:16:05 +08:00
k8s-ci-robot
4ca9fa737e
Merge pull request #68760 from jessfraz/only-set-sysctl-if-not-set
pkg/proxy: only set sysctl if not already set
2018-09-26 04:56:59 -07:00
k8s-ci-robot
4404cda7ad
Merge pull request #68752 from krzysztof-jastrzebski/pod_sync
Start synchronizing pods after network is ready.
2018-09-26 04:56:48 -07:00