Giuseppe Scrivano
e94aebf4cb
pkg/kubelet: adapt to new libcontainer API
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-06-24 18:39:51 +02:00
Giuseppe Scrivano
a6a3bf2eb4
vendor: update google/cadvisor and opencontainers/runc
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-06-24 18:39:50 +02:00
Giuseppe Scrivano
78d295d168
hack/update-vendor-licenses.sh: skip empty packages
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-06-24 18:39:49 +02:00
Shihang Zhang
613a712717
default to add projected fstype in psp when boundedserviceaccounttoken is enabled
2020-06-24 09:09:27 -07:00
Kubernetes Prow Robot
ef8380e6c0
Merge pull request #91317 from chendave/balancedallocation
...
Scheduler: remove the misleading comments in `NodeResourcesBalancedAllocation`
2020-06-24 08:55:17 -07:00
Federico Paolinelli
7ff930b6c8
Bump up the agnhost version to reflect changes in https://github.com/kubernetes/kubernetes/pull/90797
...
There was an un-noticied conflict with 279ce5d89e (diff-75312865ef706f08787bf2987d761c13)
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-06-24 17:37:41 +02:00
Kenichi Omichi
5edf15ea97
Use worker nodes for WaitForStableCluster()
...
WaitForStableCluster() checks all pods run on worker nodes, and the
function used to refer master nodes to skip checking controller plane
pods.
GetMasterAndWorkerNodes() was used for getting master nodes, but the
implementation is not good because it usesDeprecatedMightBeMasterNode().
This makes WaitForStableCluster() refer worker nodes directly to avoid
using GetMasterAndWorkerNodes().
2020-06-24 15:21:12 +00:00
Brian Pursley
4cc4e774c6
Make unmount device log warning and continue if mount path is not found
2020-06-24 10:02:50 -04:00
Rostislav M. Georgiev
709e3c3a83
kubeadm upgrade plan: component config state table
...
This change enables kubeadm upgrade plan to print a state table with
information regarding known component config API groups. Most importantly this
information includes current and preferred version for each group and an
indication if a manual user upgrade is required.
Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2020-06-24 16:47:15 +03:00
Rostislav M. Georgiev
9d6e2b923a
kubeadm upgrade plan: Use internal types of the output API
...
`kubeadm upgrade plan` is using the external (currently `v1alpha1`) types of
the kubeadm output API to collect upgrade plans. This is counter intuitive
since code structure gets bound to the whatever version the output API is at.
In addition to that, the versioned API is used only in the very last stages of
a machine readable output (which is currently not implemented).
Hence, to increase flexibility and keep up with the standard Kubernetes
ecosystem practice, `kubeadm upgrade plan` is migrated to use the internal
types of the output API.
Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2020-06-24 16:47:15 +03:00
Kubernetes Prow Robot
e2d8f6c278
Merge pull request #92446 from oomichi/deprecated-master-node
...
Add isNodeSchedulableWithoutTaints()
2020-06-24 04:55:41 -07:00
Kubernetes Prow Robot
cb0ef9e623
Merge pull request #92390 from neolit123/1.19-fix-long-upload-config-tests
...
kubeadm: remove negative test cases from TestUploadConfiguration
2020-06-24 04:55:31 -07:00
Kubernetes Prow Robot
14d9b5d758
Merge pull request #92325 from brianpursley/sync-pod-log
...
Add pod and container name in log message when container fails to start
2020-06-24 04:55:18 -07:00
Amim Knabben
c39cf28ed3
Moving Kubelet kernel-memgc-notification to configuration file
2020-06-24 06:44:00 -04:00
Kubernetes Prow Robot
da37fcd02d
Merge pull request #92424 from serathius/optimize
...
Improve performance of http access logs
2020-06-24 02:00:23 -07:00
Kubernetes Prow Robot
ca372d3ca5
Merge pull request #92422 from joakimr-axis/joakimr-axis_wait-until-stable
...
util.sh: Replace wait-until-stable with wait-until --stable
2020-06-24 02:00:13 -07:00
Kubernetes Prow Robot
f7b79c4ca4
Merge pull request #92407 from RainbowMango/pr_promlint_kubelet
...
change kubelet metrics name
2020-06-24 02:00:03 -07:00
Kubernetes Prow Robot
c3a6a66592
Merge pull request #92395 from sambdavidson/vip-sni-fix
...
Added missing apiserver config var.
2020-06-24 01:59:54 -07:00
Kubernetes Prow Robot
ca5c74cc1f
Merge pull request #92289 from nilo19/feature/add-deployment-containerservice-client
...
Azure: Add container service client and deployment client.
2020-06-24 01:59:45 -07:00
Kubernetes Prow Robot
fb632a0a5e
Merge pull request #92080 from JonathanSun/master
...
Log metadata server access for master pods by UID
2020-06-24 01:59:31 -07:00
Jeremy Olmsted-Thompson
daa27c9b2e
Clarify behavior of publishNotReadyAddresses ( #90783 )
...
* Clarify behavior of publishNotReadyAddresses
* gen docs after clarifying publishNotReadyAddresses
2020-06-24 01:59:18 -07:00
Rafal Wicha
d7c84e11f5
Fix API encoding inconsistencies in KubeSchedulerConfig
2020-06-24 09:03:35 +01:00
Yecheng Fu
f899976b41
fixup
2020-06-24 14:14:03 +08:00
Stephen Heywood
832e4718da
Ensure that a set of pods can be removed by delete collection
2020-06-24 05:47:34 +00:00
Kubernetes Prow Robot
b67e7d6e2c
Merge pull request #92454 from v-xuxin/enrich-unit-test
...
Azure: Enrich the unit tests for azure_routes
2020-06-23 21:37:17 -07:00
v-xuxin
d658e1059d
Enrich the unit tests for azure_routes
2020-06-24 02:32:09 +00:00
Kenichi Omichi
13aae61789
Add isNodeSchedulableWithoutTainted()
...
For reducing usage of system.DeprecatedMightBeMasterNode(), this
adds isNodeSchedulableWithoutTainted().
2020-06-24 01:58:04 +00:00
Benjamin Elder
d1ec9b3f9c
fix pkg/util/coverage staticcheck
2020-06-23 18:30:32 -07:00
Kubernetes Prow Robot
4de511a4cf
Merge pull request #92438 from liggitt/1.14
...
go1.14 fixup
2020-06-23 18:21:18 -07:00
Jordan Liggitt
d9bb0b8ee1
go1.14: run hack/update-vendor.sh
2020-06-23 19:04:43 -04:00
Jordan Liggitt
622092a9d3
go1.14: update golang.org/x/sys and golang.org/x/tools to go1.14 levels
2020-06-23 19:04:43 -04:00
Jordan Liggitt
660c290bbf
go1.14: set -mod=mod while rebuilding/linting vendor and building licenses, preserve explicit imports in modules.txt
2020-06-23 19:04:43 -04:00
Jordan Liggitt
101653e5e8
go1.14: add new ciphers
2020-06-23 19:04:43 -04:00
Jordan Liggitt
a2dd5112c0
go1.14: fix test/cmd timeout message check
2020-06-23 19:04:43 -04:00
Jordan Liggitt
becd9f4a2e
go1.14: update staticcheck for go 1.14, ignore new staticcheck warnings
2020-06-23 19:04:43 -04:00
Davanum Srinivas
2d7c47d2be
Additional test for loading images with containerd
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-06-23 18:21:59 -04:00
Jordan Liggitt
c82fe149a6
go1.14: update minimum required go version
2020-06-23 16:40:22 -04:00
Jordan Liggitt
4bd558776e
go1.14: fix govet errors
2020-06-23 16:40:15 -04:00
Jordan Liggitt
14845f0c2d
go1.14: fix gofmt errors
2020-06-23 16:40:07 -04:00
Aldo Culquicondor
698eda3079
Add profile label to scheduler extension point metrics
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-06-23 15:30:22 -04:00
Jonathan Sun
2f7874bd4b
Install firewall logging rules to log metadata server access for unauthorized components.
2020-06-23 11:22:05 -07:00
Brian Pursley
2afc8e0eab
Add pod and container name in log message when container fails to start
2020-06-23 12:59:53 -04:00
Kubernetes Prow Robot
a463b25c9d
Merge pull request #91980 from rosti/kubeadm-cc-manual-upgrade
...
kubeadm upgrade: Allow supplying hand migrated component configs
2020-06-23 09:35:42 -07:00
Marek Siarkowicz
303e1c1922
Improve performance of http access logs
...
Fixes:
* Don't call LogArgs if log will not be written due low verbosity
* Create separate slice for hijacked to avoid append on main path
* Shorten log message as this log is to common to be verbose
name old time/op new time/op delta
WithLogging-4 4.95µs ± 3% 3.52µs ± 1% -28.80% (p=0.000 n=10+8)
name old alloc/op new alloc/op delta
WithLogging-4 2.93kB ± 0% 1.22kB ± 0% -58.45% (p=0.000 n=10+9)
name old allocs/op new allocs/op delta
WithLogging-4 32.0 ± 0% 20.0 ± 0% -37.50% (p=0.000 n=10+10)
2020-06-23 16:20:55 +02:00
Yecheng Fu
22d874993c
build files
2020-06-23 22:18:33 +08:00
Yecheng Fu
4627b419b4
tests only
2020-06-23 22:18:33 +08:00
Yecheng Fu
ee4d7410be
Share pod volume binding cache via framework.CycleState
2020-06-23 22:18:33 +08:00
Kubernetes Prow Robot
0072d8ae23
Merge pull request #90797 from fedepaol/sctpconnectporter
...
Add SCTP support to agnhost connect / porter commands.
2020-06-23 07:05:41 -07:00
wawa0210
7d8aae51df
fix pkg/controller/deployment staticcheck
2020-06-23 19:32:20 +08:00
Joakim Roubert
db9d6d0bff
util.sh: Replace wait-until-stable with wait-until --stable
...
This change follows the recommendation from the CI logs:
"WARNING: `gcloud compute instance-groups managed wait-until-stable` is
deprecated. Please use `gcloud compute instance-groups managed
wait-until --stable` instead."
Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2020-06-23 13:30:52 +02:00