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
ksubrmnn
d785379d67
Create unique mac address per endpoint
2018-09-26 15:45:45 -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
k8s-ci-robot
f815e3925a
Merge pull request #68698 from seans3/replace-fix
...
Replace internal version Encoder with external version Encoder
2018-09-25 22:57:44 -07:00
k8s-ci-robot
98748d1a1b
Merge pull request #68697 from seans3/editoptions-fix
...
Replace internal version Encoder with external version Encoder
2018-09-25 22:57:35 -07:00
k8s-ci-robot
3a933224f9
Merge pull request #68696 from seans3/autoscale-fix
...
Replace internal version resources with external version resources
2018-09-25 22:57:25 -07:00
Pengfei Ni
3bca7a0136
Add fallbacks for getting node IP from Azure IMDS
2018-09-26 13:18:10 +08:00
k8s-ci-robot
b042219432
Merge pull request #68695 from seans3/expose-fix
...
Replace internal version Encoder with external version Encoder
2018-09-25 21:46:36 -07:00
k8s-ci-robot
b442c25325
Merge pull request #68694 from seans3/create-fix
...
Replace internal version Encoder with external version Encoder
2018-09-25 19:24:18 -07:00
k8s-ci-robot
cc04abca19
Merge pull request #68681 from dlespiau/instrument-kubectl
...
Add go profile instrumentation to kubectl
2018-09-25 19:24:08 -07:00
k8s-ci-robot
c8f0af2afc
Merge pull request #68680 from benoitf/fix-chown
...
Fix chown on distributed flex volumes (like gluster)
2018-09-25 19:23:58 -07:00
k8s-ci-robot
40c7c837b1
Merge pull request #68673 from cofyc/fix68391
...
Ignore non-avaiable volumes in findMatchingVolume
2018-09-25 19:23:50 -07:00
k8s-ci-robot
bcbc4f7337
Merge pull request #68661 from seans3/attachable-fix
...
Remove unused internal version of Pod resource
2018-09-25 19:23:39 -07:00
WanLinghao
1c8d0eec01
add a test case which check secret's type
2018-09-26 09:21:36 +08:00
k8s-ci-robot
1f08d955cd
Merge pull request #68659 from seans3/drain-test-fix
...
Replace internal version of resource in drain test with external version
2018-09-25 18:12:54 -07:00
k8s-ci-robot
d1e24acee7
Merge pull request #68644 from Pingan2017/nodecondition
...
NodePIDPressure condition should set to unknown when node lost connne…
2018-09-25 18:12:44 -07:00
k8s-ci-robot
a38ad775f7
Merge pull request #68641 from seans3/kubectl-extract-2
...
Removes dependency on internal version of resource
2018-09-25 18:12:35 -07:00
k8s-ci-robot
807d942f19
Merge pull request #68637 from seans3/legacy-scheme-fix
...
Remove legacyscheme by adding ParameterCodec to kubectl scheme
2018-09-25 18:12:26 -07:00
k8s-ci-robot
1987b985e4
Merge pull request #68593 from seans3/condition-fix
...
Removes dependency on internal version of resource
2018-09-25 18:12:15 -07:00
Guoliang Wang
1eceb1dcdb
Remove unused chaosclient
2018-09-26 08:43:01 +08:00
Tim Allclair
4ee9f007cb
Only allow apiserver to follow redriects to the same host
2018-09-25 17:18:55 -07:00
k8s-ci-robot
c7a67b3e1b
Merge pull request #68626 from gnufied/fix-netdev-mount-opt
...
Apply _netdev mount option in bind mount if available
2018-09-25 17:00:36 -07:00
k8s-ci-robot
450fdc9c09
Merge pull request #68608 from andyzhangx/UnmountDevice-windows
...
fix UnmountDevice failure on Windows
2018-09-25 17:00:17 -07:00
k8s-ci-robot
2285a7dd66
Merge pull request #68423 from smarterclayton/break_docker_types_on_credential_providre
...
Remove dependency on docker daemon for core credential types
2018-09-25 17:00:07 -07:00
Walter Fender
47bfaa3aba
Added support for regional calls to GetClusters
...
Fixed issues from lavalamp and verification.
Added todo.
Fixed import sections.
2018-09-25 15:36:04 -07:00
Rohit Ramkumar
8872f9465f
Expose public function to init fake GCECloud + add common hooks
2018-09-25 15:13:26 -07:00
k8s-ci-robot
f289353b1a
Merge pull request #68575 from prameshj/ep-validation
...
Allow nodeName updates when endPoint is updated.
2018-09-25 14:41:01 -07:00
k8s-ci-robot
30bf07a8bc
Merge pull request #68344 from Nordix/nordix-dev
...
Include all used hash types in compare when creating ipsets
2018-09-25 14:40:51 -07:00
k8s-ci-robot
a3e30269dc
Merge pull request #68116 from krmayankk/read-dns-code
...
add validation for etc resolve parsing
2018-09-25 14:40:32 -07:00
k8s-ci-robot
5401f9458b
Merge pull request #67877 from tianshapjq/podprefix-used
...
use podPrefix as it's defined
2018-09-25 13:29:17 -07:00
k8s-ci-robot
7db813178d
Merge pull request #68536 from sngchlko/affinity-for-cinder
...
Add VolumeScheduling support for Cinder
2018-09-25 12:16:02 -07:00
k8s-ci-robot
80db5eb641
Merge pull request #68465 from WanLinghao/unused_function_clean
...
clean unused function
2018-09-25 12:15:53 -07:00
k8s-ci-robot
433d72da06
Merge pull request #68435 from humblec/log-file-nil
...
Glusterfs: Remove unwanted `log-file` mount argument.
2018-09-25 12:15:42 -07:00
David Eads
c76f8f194c
make sure that log includes user information
2018-09-25 14:10:09 -04:00
k8s-ci-robot
11136874bc
Merge pull request #68302 from PrasadG193/fix-golint-pkg-api
...
pkg/api: Fix golint errors
2018-09-25 11:03:43 -07:00
Florent BENOIT
6584df5914
if driver disable support of FSGroup, mounter will not process the volume ownership
2018-09-25 16:12:11 +02:00
k8s-ci-robot
a8e8e891f2
Merge pull request #68289 from denkensk/fix-simple-pkg-kubelet
...
Simple code fixed in in pkg/kubelet
2018-09-25 06:14:03 -07:00
k8s-ci-robot
cdfd62ffb9
Merge pull request #68263 from islinwb/patch-1
...
add a missing "%s"
2018-09-25 06:13:53 -07:00
k8s-ci-robot
c16691037d
Merge pull request #68255 from leakingtapan/golint-fix-ebs
...
Fix golint for pkg/volume/aws_ebs
2018-09-25 06:13:33 -07:00
k8s-ci-robot
a67689dfca
Merge pull request #68245 from jingyih/remove_tagName_in_goDoc
...
*: Remove comment tags in GoDoc
2018-09-25 06:13:23 -07:00
mlmhl
867a717fb1
return error if make dir failed when setting up azure file volume
2018-09-25 20:16:08 +08:00
k8s-ci-robot
59ad8c0f51
Merge pull request #68121 from dixudx/remove_rs_controller_options
...
cleanup: remove unused options for rs controller
2018-09-25 05:02:24 -07:00
k8s-ci-robot
5b864ac971
Merge pull request #68113 from fengzixu/master
...
Fixes #68026 : revise some errors about golint in some packages
2018-09-25 05:02:14 -07:00
Chao Wang
013168c668
fix the output of dryrun when label the same value as original
2018-09-25 17:59:26 +08:00
k8s-ci-robot
0805860dba
Merge pull request #67870 from yue9944882/refactor/externalize-resource-quota-admission-controller
...
Externalize resource quota admission controller & controller reconciliation
2018-09-25 02:41:40 -07:00
k8s-ci-robot
2970366327
Merge pull request #67860 from m1kola/cleanup_logsForObject
...
Cleanup: removes support of internal types from logsForObject
2018-09-25 01:27:40 -07:00
Arto Jantunen
e952c12dfe
AWS: Add a simple test for "shared" tag
...
For some reason this wasn't done in 0b5ae5391e
.
2018-09-25 11:13:30 +03:00
k8s-ci-robot
b875ad8c08
Merge pull request #67508 from brahmaroutu/flex_metrics
...
Provide Flex volume metrics if the plugin supports.
2018-09-25 00:18:10 -07:00
k8s-ci-robot
28d86ac47d
Merge pull request #67308 from cofyc/fix67260
...
Use monotonically increasing generation to prevent equivalence cache race
2018-09-25 00:18:00 -07:00
k8s-ci-robot
e1989af060
Merge pull request #64526 from misterikkit/metrics
...
Add scheduler throughput metric
2018-09-25 00:17:40 -07:00
Mayank Kumar
ef976f1f70
add validation for etc resolve parsing
2018-09-24 21:01:59 -07:00
Pengfei Ni
f8b2781f4f
Add unit tests for getting vmss node IP
2018-09-25 11:22:52 +08:00
Pengfei Ni
303af63ec9
Get public IP for Azure vmss nodes
...
This is required for getting public IP when --public-ip-per-vm
(publicIpAddressConfiguration) is enabled for vmss.
2018-09-25 11:22:47 +08:00
FengyunPan2
34a8b1fd9f
Add helpful log for checking cgrop path
...
Currently I just get 'xxx cgroup does not exist', but I don't know
which path has missed. Let's add log for it.
2018-09-25 10:10:12 +08:00
k8s-ci-robot
8346631860
Merge pull request #68053 from Pingan2017/rmifblock
...
clean up unneeded else block
2018-09-24 17:17:29 -07:00
k8s-ci-robot
fdd9c2e2a0
Merge pull request #67990 from tizhou86/newPR5
...
Fix golint error under pkg/proxy.
2018-09-24 17:17:19 -07:00
k8s-ci-robot
9120dc01e1
Merge pull request #67939 from NickrenREN/rbd-ams
...
RBD AccessModes checking when attaching
2018-09-24 17:17:00 -07:00
k8s-ci-robot
836ce7357a
Merge pull request #67914 from Huang-Wei/inconsistent-dscontroller-comment
...
fix a comment inconsistency in Daemonset Controller
2018-09-24 17:16:50 -07:00
W. Trevor King
ab993e346c
kubectl: Drop backOff from DrainOptions
...
The property was added in b73fae6c
(Fix kubectl drain for statefulset
and use eviciton for drain if possible, 2016-10-20, #35483 ), but
b358b2df
(make drain retry forever and use new timeout,
2016-11-28, #37604 ) removed the last consumer.
2018-09-24 15:06:01 -07:00
Han Kang
1d19295645
fix typographic errors in test utils file
2018-09-24 14:59:41 -07:00
Jonathan Basseri
b0a8dbbc9d
Add scheduler throughput metric.
...
This adds a counter to the scheduler that can be used to calculate
throughput and error ratio. Pods which fail to schedule are not counted
as errors, but can still be tracked separately from successes.
We already measure scheduler latency, but throughput was missing. This
should be considered a key metric for the scheduler.
2018-09-24 14:38:39 -07:00
Benjamin Elder
8b56eb8588
hack/update-gofmt.sh
2018-09-24 12:21:29 -07:00
Benjamin Elder
f828c6f662
hack/update-bazel.sh
2018-09-24 12:03:24 -07:00
Benjamin Elder
088cf3c37b
find & replace version import
2018-09-24 12:03:24 -07:00
Benjamin Elder
e01cb6fe80
hack/update-bazel.sh
2018-09-24 12:00:00 -07:00
Benjamin Elder
b22d036cf8
move pkg/util/version into staging
2018-09-24 12:00:00 -07:00
Sean Sullivan
446fbd51e3
More specific import aliases
2018-09-24 11:39:33 -07:00
Sean Sullivan
219246eaad
Replace internal version of resource in drain test with external version
2018-09-24 11:35:21 -07:00
Sean Sullivan
49852289de
Replace internal version of resource with external version for tests
2018-09-24 11:12:36 -07:00
k8s-ci-robot
170dcc2ea0
Merge pull request #68754 from bradhoekstra/optional-service-env-variables
...
kubelet: Make service environment variables optional
2018-09-24 10:59:32 -07:00
k8s-ci-robot
7ffaa2f713
Merge pull request #68388 from wgliang/fixbug/defer-in-loop
...
fix bug that defer in infinite loop
2018-09-23 19:27:03 -07:00
Da K. Ma
78f6484e14
Keep backward compatibility for 'node.Spec.Unschedulable'.
...
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
2018-09-23 10:33:51 +08:00
Xing Yang
0a14086792
Return error from NodeGetInfo
...
This PR checks if NodeGetInfo returns error. If so, it returns
the error. Without this change, it always returns no error (nil)
regardless of whether NodeGetInfo returns error.
2018-09-22 12:00:15 -07:00
Cheng Pan
000e30086b
fix golint for pkg/volume/aws_ebs
2018-09-22 05:56:05 +00:00
Brad Hoekstra
a596030cb3
Update bazel
2018-09-22 00:10:08 -04:00
Yecheng Fu
b3f1e1200b
Update notes to document why invalidation order is important.
2018-09-22 12:09:24 +08:00
Yecheng Fu
2f46bc8a18
Use seqeuence number to represent generation of equivalence cache.
...
- snapshot equivalence cache generation numbers before snapshotting the
scheduler cache
- skip update when generation does not match live generation
- keep the node and increment its generation to invalidate it instead of
deletion
- use predicates order ID as key to improve performance
2018-09-22 12:08:21 +08:00
Brad Hoekstra
69551689d5
Fix spelling
2018-09-22 00:07:08 -04:00
Yecheng Fu
a2cc1b1a20
Revert "Use sync.map to scale ecache better"
...
This reverts commit 17d0190706
.
2018-09-22 11:33:06 +08:00
Brad Hoekstra
42da186b62
Address review comments
2018-09-21 20:06:32 -04:00
Brad Hoekstra
c4ec40eca8
Update comment to reflect the new logic
2018-09-21 16:26:37 -04:00
Brad Hoekstra
2c5cc79eed
Add comment to specify default
2018-09-21 16:21:32 -04:00
mlmhl
2ff6b7e0d8
extract volume attachment status checking operation as a common function when attaching a CSI volume
2018-09-21 19:49:31 +08:00
FengyunPan2
6af9e97fa5
Configure resource-only container with memory limit
...
Fixed : #68928
The docker memory limit should base on the memory capacity of
machine. Currently CgroupManager specify wrong memory limit.
2018-09-21 17:50:54 +08:00
Krzysztof Jastrzebski
ad330f7dbe
Start synchronizing pods after network is ready.
2018-09-21 10:12:49 +02:00
k8s-ci-robot
5dc2c13e74
Merge pull request #68921 from feiskyer/powerstate
...
Fix nodes power state on Azure
2018-09-20 23:11:54 -07:00
Pengfei Ni
83e64dd6d0
Add unit tests for InstanceShutdownByProviderID
2018-09-21 12:55:11 +08:00
Pengfei Ni
67069cc1e8
Fix nodes power state on Azure
2018-09-21 12:55:08 +08:00
k8s-ci-robot
fb50b3cb32
Merge pull request #67793 from fisherxu/use_ctx
...
Refactor grpc dial with dialcontext
2018-09-20 20:35:36 -07:00
zhangmingld
6aaeb209eb
fix some typo
2018-09-21 10:19:35 +08:00
Sean Sullivan
8d67edfc41
Replace internal version Encoder with external version Encoder for autoscale.
2018-09-20 13:51:37 -07:00
Sean Sullivan
4ad673ce41
Replace internal version Encoder with external version encoder for create and create_test.
2018-09-20 13:49:06 -07:00
ravisantoshgudimetla
d776f865a2
PDB checks should not be done for terminal pods while evicting
...
Signed-off-by: ravisantoshgudimetla <ravisantoshgudimetla@gmail.com>
2018-09-20 14:30:34 -04:00
Cheng Pan
aa297d1adf
fix golint issue for pkg/volume/flexvolume package
2018-09-20 17:33:45 +00:00
Pingan2017
5de6ada98f
fix a small typo
2018-09-20 16:04:12 +08:00
Haowei Cai
9f78c45c01
generated
2018-09-19 17:35:42 -07:00
Haowei Cai
2707eb13d0
POSTing rollback returns metav1.Status
2018-09-19 17:16:23 -07:00
Sean Sullivan
3ccfb2dc4c
Updated PodExecOptions to external version
2018-09-19 13:25:18 -07:00
Jess Frazelle
f8ba640ced
pkg/proxy: only set sysctl if not already set
...
This will allow for kube-proxy to be run without `privileged` and
with only adding the capability `NET_ADMIN`.
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-19 15:29:53 -04:00
k8s-ci-robot
3690f8fc54
Merge pull request #68831 from jbartosik/fix-first-hpa-recommendation
...
Fix first hpa recommendation
2018-09-19 09:48:00 -07:00
k8s-ci-robot
3429b9aca4
Merge pull request #62544 from astefanutti/56297
...
Init Kubelet runtime cache before dependent stats provider
2018-09-19 08:38:16 -07:00
Joachim Bartosik
7d7c48a647
HPA stabilizes initial recommendation
...
HPA will treat initial size of autoscalee to avoid hastily overriding
recomendations made by HPA (if HPA set size and then was restarted) or by user
(initial size should be treated as human-generated recommendation).
2018-09-19 14:54:55 +02:00
k8s-ci-robot
e3dbad3211
Merge pull request #68786 from alexjx/pr/68194
...
Restore *filter table for ipvs
2018-09-19 03:30:29 -07:00
k8s-ci-robot
9228bec334
Merge pull request #68579 from verult/adc-crd-access
...
Updating CSI e2e test to create CSI CRDs
2018-09-19 02:00:30 -07:00
k8s-ci-robot
400981797e
Merge pull request #68767 from ravisantoshgudimetla/fix-drain
...
Fix drain for evicting terminal DS pods and pods with local storage
2018-09-18 22:34:40 -07:00
Yecheng Fu
1e27a28dca
Ignore non-avaiable volumes in findMatchingVolume: update tests
...
- Use VolumeAvaiable instead of empty or pending phase in tests
- Add a test case to verify findMatchingVolume will not choose
non-avaiable PVs if it's not pre-bind
- Add a test case to verify syncClaim will not choose non-avaibalbe PVs
if it's not pre-bind
2018-09-19 13:13:31 +08:00
andyzhangx
74f010260f
fix UnmountDevice failure on Windows
...
add comments
fix test failure
2018-09-19 01:44:01 +00:00
k8s-ci-robot
76518f154b
Merge pull request #68803 from dims/avoid-setting-masked-read-only-when-pod-is-privilged
...
Avoid setting Masked/ReadOnly paths when pod is privileged
2018-09-18 17:41:47 -07:00
Sean Sullivan
0ecc544a79
Change service from internal version to external version
2018-09-18 16:05:23 -07:00
Davanum Srinivas
02489f8988
Avoid setting Masked/ReadOnly paths when pod is privileged
...
In the recent PR on adding ProcMount, we introduced a regression when
pods are privileged. This shows up in 18.06 docker with kubeadm in the
kube-proxy container.
The kube-proxy container is privilged, but we end up setting the
`/proc/sys` to Read-Only which causes failures when running kube-proxy
as a pod. This shows up as a failure when using sysctl to set various
network things.
Change-Id: Ic61c4c9c961843a4e064e783fab0b54350762a8d
2018-09-18 17:46:16 -04:00
Cheng Xing
8555408f42
Removing CRD installation from attach detach controller
2018-09-18 14:25:15 -07:00
Cheng Xing
4ff1e32974
Updating CSI e2e test to create CSI CRDs; storing CRD spec in a common location
2018-09-18 14:25:00 -07:00
Sean Sullivan
7a2a987ee4
Move legacyscheme (internal version) to kubectl scheme (external version)
2018-09-18 14:24:47 -07:00
David Zhu
704573d304
GetMountRefs shouldn't error when file doesn'g exist in Windows and nsenter. Add unit test
2018-09-18 10:45:02 -07:00
Damien Lespiau
5d634e7db6
Add go profile instrumentation to kubectl
...
This commit adds two new global options to kubectl: --profile and
--profile-output, writing out go profiles to disk to debug interesting and
unexpected kubectl behaviour.
As an example, here is how to capture a block file, eg. for how long are we
blocked on I/O and where?
$ kubectl get nodes --profile=mutex -v6
$ go tool pprof -png ./profile.pprof > out.png
$ google-chrome out.png
Fixes : #68679
2018-09-18 18:28:43 +01:00
Jia Xin
4ca62e4f39
Restore *filter table for ipvs
...
Resolve : #68194
2018-09-18 20:26:27 +08:00
Guoliang Wang
05aeea12ce
fix bug that defer in infinite loop
2018-09-18 15:45:43 +08:00
ravisantoshgudimetla
452615c53f
Fix drain for evicting terminal DS pods and pods with local storage
2018-09-17 23:01:48 -04:00
David Zhu
9d207b3e3c
GetMountRefs should not fail if the path supplied does not exist anymore. It has no mount references
2018-09-17 17:35:12 -07:00
Brad Hoekstra
e8366c8e99
Fix to inject KUBERNETES_ env vars when enableServiceLinks is
...
false and the pod is in the master namespace.
2018-09-17 16:28:49 -04:00
Brad Hoekstra
ac8799a80d
kubelet: Make service environment variables optional
2018-09-17 16:27:36 -04:00
Jan Safranek
9e24ccbda0
Fixed subpath cleanup when /var/lib/kubelet is a symlink.
2018-09-17 15:52:25 +02:00
Pingan2017
158552ff35
fix golint failures - /pkg/kubelet/images
2018-09-17 10:52:25 +08:00
k8s-ci-robot
e763a3c56d
Merge pull request #68212 from feiskyer/az-events
...
Add service events for azure cloud provider
2018-09-16 08:40:39 -07:00
k8s-ci-robot
fb79943553
Merge pull request #67951 from liggitt/remove-deprecated-flags
...
Remove deprecated feature flags
2018-09-15 14:50:11 -07:00
k8s-ci-robot
f193e4b107
Merge pull request #68691 from gnufied/fix-configmap-bug
...
verify invalid secret/configmap/projected volumes
2018-09-14 17:02:02 -07:00
Sean Sullivan
3fa346e744
Replace internal version Encoder with external version Encoder
2018-09-14 15:34:16 -07:00
Sean Sullivan
731b985184
Replace internal version Encoder with external version Encoder
2018-09-14 15:24:18 -07:00
Sean Sullivan
84ef7a3649
Replace internal version Encoder with external version Encoder
2018-09-14 14:55:00 -07:00
Hemant Kumar
85e337153a
verify invalid secret/configmap/projected volumes
...
And avoid calling Setup if they don't exist
2018-09-14 17:38:52 -04:00
Pavithra Ramesh
e588ae5e04
Allow nodeName updates when endPoint is updated.
...
One scenario where nodeName can change for the same ip address is if
the endpoints are in hostNetwork mode and nodes are being added/deleted.
With the current validation check, if endpoints controller misses a pod
delete event, future endpoint updates will never succeed.
removed unused helper functions
2018-09-14 14:00:46 -07:00
Vladimir Vivien
e3bc731143
CSI fix for proper fsgroup application to volume
2018-09-14 14:58:18 -04:00
k8s-ci-robot
94e59f1636
Merge pull request #68636 from seans3/clusterinfo-dump-fix
...
Small fix to remove dependency on internal version of resource
2018-09-14 08:18:36 -07:00
Yecheng Fu
b3cb1bdc4a
Ignore non-available volumes in findMatchingVolume to reduce chance of
...
unnecessary binding failures.
2018-09-14 20:27:44 +08:00
Sean Sullivan
16a4060eb5
Remove unused internal version of Pod resource
2018-09-13 22:38:07 -07:00
k8s-ci-robot
17fe91cc6c
Merge pull request #68173 from Huang-Wei/antiaffinity-symmetry-issue
...
Fix PodAntiAffinity issues in case of multiple affinityTerms
2018-09-13 21:31:44 -07:00
Jingyi Hu
61117761cd
*: Remove comment tags in GoDoc
...
Adding blank line between comment tag and package name in doc.go. So
that the comment tags such as '+k8s:deepcopy-gen=package' do not show up
in GoDoc.
2018-09-13 20:27:32 -07:00
Pengfei Ni
de9c127c94
Add events for azure-cloud-provider
...
When errors occur on azure cloud provider, events now are added so that users
could easily find the underground errors on Azure API.
2018-09-14 10:41:19 +08:00
Wei Huang
7490542156
fix PodAntiAffinity issues
...
- update logic of verifying incoming pod's anti-affinity
- rename podMatchesAffinityTermProperties to podMatchesAllAffinityTermProperties
- add podMatchesAnyAffinityTermProperties which is used in some PodAntiAffinity cases
- rename some functions to make it more readable
- add unit tests to verify correctness of PodAffinity and PodAntiAffinity
- verifying "Existing pod anti-affinity"
- verifying "incoming pod's anti-affinity"
- verifying "incoming pod's affinity"
2018-09-13 18:32:33 -07:00
Pingan2017
3b19c33be5
NodePIDPressure condition should set to unknown when node lost connnection with contorl
2018-09-14 08:50:05 +08:00
Sean Sullivan
86b12106c8
Remove dependency on internal version of resource
2018-09-13 17:32:52 -07:00
Sean Sullivan
8f06514fe7
Removes dependency on internal version of resource
2018-09-13 17:03:54 -07:00
Sean Sullivan
ce65602410
Remove legacyscheme by adding ParameterCodec to kubectl scheme
2018-09-13 14:37:30 -07:00
Sean Sullivan
9bacee8878
Small fix to remove dependency on internal version of resource
2018-09-13 14:16:07 -07:00
Cheng Xing
a8e282e905
Delaying kubeclient and csi client injection into CSI plugin
2018-09-13 14:10:49 -07:00
Hemant Kumar
e881a29107
Apply _netdev mount option in bind mount if available
...
_netdev mount option is a userspace mount option and
isn't copied over when bind mount is created and remount
also does not copies it over and hence must be explicitly
used with bind mount
2018-09-13 13:47:34 -04:00
k8s-ci-robot
020b1d5ff5
Merge pull request #68419 from xing-yang/apigroup
...
Make APIGroup optional in TypedLocalObjectReference
2018-09-13 06:13:17 -07:00
Pengfei Ni
db470d37a4
Fix potential panic when getting azure load balancer status
...
The IP address and security group rules may be nil when the resources
are updating or deleting. Hence nil pointer deference may be happened
then.
2018-09-13 15:41:12 +08:00
Pingan2017
2f2c4ebc14
del internalError
2018-09-13 11:25:26 +08:00
Xing Yang
897e3c8d11
Add generated files
2018-09-12 17:34:51 -07:00
Xing Yang
6ec1ebd6ce
Make APIGroup optional and modify validation
2018-09-12 17:05:29 -07:00
k8s-ci-robot
9b8b6571a2
Merge pull request #68521 from yujuhong/nil-client
...
kubelet: skip initializing/using the RuntimeClass in standalone mode
2018-09-12 15:05:12 -07:00
k8s-ci-robot
37ef6eeb6d
Merge pull request #68431 from dashpole/cadvisor_godep_update
...
Update cAdvisor godeps to v0.31.0
2018-09-12 15:04:53 -07:00
k8s-ci-robot
5be0a0ee8d
Merge pull request #67899 from ravisantoshgudimetla/ScheduleDaemonSetPods-beta
...
Graduate Schedule daemon set pods by default scheduler to beta and fix tests
2018-09-12 13:18:23 -07:00
ravisantoshgudimetla
b2e92f1ba2
Fix test cases and build files
2018-09-12 14:19:29 -04:00
Humble Chirammal
38e8c00119
Glusterfs: Remove unwanted `log-file` mount argument.
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2018-09-12 22:41:25 +05:30
Seungcheol Ko
4b3e50b61c
fix verify-bazel error
2018-09-12 07:27:33 +00:00
Seungcheol Ko
8f7fcd5adc
Add VolumeScheduling support for Cinder
2018-09-12 05:11:54 +00:00
Antoine Pelisse
0db6249740
kubectl-diff: Simplify interface
...
The current interface is kind of clunky and not super easy to use, since
you have to specify parameters to specify which versions to diff. Also
the default isn't the most useful setting.
Change the interface by removing all the parameters and force only one
useful use-case, that is: diffing what's currently live against
what would be live if applied.
2018-09-11 15:53:29 -07:00
k8s-ci-robot
45c5ddd2fb
Merge pull request #68494 from k82cn/k8s_67606_2
...
Added default tolerations for new pods.
2018-09-11 13:27:50 -07:00