Commit Graph

88248 Commits

Author SHA1 Message Date
wojtekt
1fc80c57ee Autogenerated 2020-02-04 16:06:36 +01:00
wojtekt
881dde8bee Remove unnecessary manual conversions 2020-02-04 16:05:25 +01:00
Brian Pursley
e70a630dac Added 'No resources found' message to describe and top pod commands 2020-02-04 09:55:40 -05:00
Kubernetes Prow Robot
a71586fac6
Merge pull request #87598 from sureshpalemoni/master
grammar(noun to pod adjective phases) change for pods status in tests
2020-02-04 06:03:27 -08:00
Dr. Stefan Schimanski
059429ce53 kube-aggregator: increase log level of AggregationController API group logging 2020-02-04 14:14:17 +01:00
Michal Fojtik
439f93c91b
kubectl: allow to preselect interesting container in logs 2020-02-04 13:50:41 +01:00
Lukasz Szaszkiewicz
7368862c19 makes unavailableGauge metric to always reflect the current state of a service 2020-02-04 11:49:30 +01:00
Maciej Borsz
69df8a8230 Add a fast path for adding new node in node_autorizer.
This seems to improve WriteIndexMaintenance benchmark:

Before:
BenchmarkWriteIndexMaintenance-12    	    1034	   1157922 ns/op	    1906 B/op	      41 allocs/op
After:
BenchmarkWriteIndexMaintenance-12    	    4891	    239821 ns/op	    1572 B/op	      37 allocs/op
2020-02-04 11:32:06 +01:00
Kubernetes Prow Robot
d52ecd5f70
Merge pull request #86430 from wojtek-t/avoid_thundering_herd_on_etcd
Avoid thundering herd of relists on etcd
2020-02-03 23:09:25 -08:00
YuikoTakada
d8c16a9eb2 Fix non-ascii characters in test/e2e/common/projected_configmap.go 2020-02-04 01:53:15 +00:00
Michelle Au
0c40daddb0 Add an option to external storage e2es to use a copy of a pre-installed StorageClass
Change-Id: I9d7f0384d0071caa41a8d98eea4afa5b17ad0ea3
2020-02-03 17:45:17 -08:00
Kubernetes Prow Robot
76c89645c5
Merge pull request #87713 from kkmsft/filepath-fixes-windows
Move 'path' package usage to 'path/filepath'.
2020-02-03 17:07:25 -08:00
Mike Danese
65483a19ab generated: update clients 2020-02-03 14:31:56 -08:00
Mike Danese
41bd53866e remove create expansions form authn/z clients 2020-02-03 14:28:08 -08:00
Mike Danese
533d0b7f74 use generated clients instead of expansions for most of authn/z 2020-02-03 14:28:08 -08:00
Eric Weber
adcdb2fd72 Enable FC mount options 2020-02-03 16:13:58 -06:00
Jefftree
97eed70d74 Add konnectivity log files 2020-02-03 13:21:42 -08:00
Aldo Culquicondor
60c972098c Add defaults to pod affinity args
And remove pod affinity parameter from algorithm provider registry

Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-02-03 14:58:28 -05:00
Chao Xu
6acc75b418 Only set admission review reponse patch type if the patch is not empty 2020-02-03 10:55:31 -08:00
Kubernetes Prow Robot
845b232321
Merge pull request #87451 from jnaulty/jnaulty/fix-aws-ebs-createvolume-signature
Fix CreateVolume signature in comment
2020-02-03 10:51:21 -08:00
Davanum Srinivas
dc3f31569e
Ensure specified container runtimes are present 2020-02-03 13:40:57 -05:00
Kevin Klues
d5addb4090 Cleanup logging and creation logic of TopologyManager in prep for beta 2020-02-03 17:13:29 +00:00
Kevin Klues
bc686ea27b Update TopologyManager.GetTopologyHints() to take pointers
Previously, this function was taking full Pod and Container objects
unnecessarily. This commit updates this so that they will take pointers
instead.
2020-02-03 17:13:28 +00:00
Kevin Klues
adaa58b6cb Update TopologyManager.Policy.Merge() to return a simple bool
Previously, the verious Merge() policies of the TopologyManager all
eturned their own lifecycle.PodAdmitResult result. However, for
consistency in any failed admits, this is better handled in the
top-level Topology manager, with each policy only returning a boolean
about whether or not they would like to admit the pod or not. This
commit changes the semantics to match this logic.
2020-02-03 17:13:28 +00:00
Kevin Klues
95a3ac447f Fix bug in TopologManager RemoveContainer()
Previously, we unconditionally removed *all* topology hints from a pod
whenever just one container was being removed. This commit makes it so
we only remove the hints for the single container being removed, and
then conditionally remove the pod from the podTopologyHints[podUID] when
no containers left in it.
2020-02-03 17:13:14 +00:00
Mike Danese
0f18715473 snapshot clientsets pending context migration
https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/20200123-client-go-ctx.md

Part of #46503
2020-02-03 08:36:00 -08:00
Odin Ugedal
1e50bc2d09
Add error check in kubectl proxy on server setup
If "NewServer" returns an error, it will result in a nil pointer
dereference segfault.

A simple way to test the behavior is to prefix the server url with a
colon, ":".
2020-02-03 16:43:01 +01:00
Kubernetes Prow Robot
4c3aa3f26b
Merge pull request #87515 from Sh4d1/proxy_agg
Use network proxy for aggregator api
2020-02-03 01:53:21 -08:00
shaloulcy
87582e2c3c add indexer for storage cacher
Signed-off-by: shaloulcy <lcy041536@gmail.com>
2020-02-03 13:37:17 +08:00
Kubernetes Prow Robot
5caeec8023
Merge pull request #87710 from alena1108/jan30proxy
Ineffassign fixes for pkg/proxy
2020-02-02 19:09:20 -08:00
Davanum Srinivas
ee3f897ca7
update network-y stuff for supporting ubuntu/bionic as master
On bionic, we don't have eth0 hard coded. example below, so we use `ip
route` to figure out the default ethernet interface
```
dims@kubernetes-master:~$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ens4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1460 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 42:01:0a:80:00:23 brd ff:ff:ff:ff:ff:ff
3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default
    link/ether 02:42:b2:4e:dd:86 brd ff:ff:ff:ff:ff:ff
```

Also, bionic uses systemd-resolver by default and adds entries in
/etc/resolv.conf that CoreDNS does not link. So follow the
recommendation in the documentation to specify resolv.conf explicitly
2020-02-02 19:23:10 -05:00
Kubernetes Prow Robot
2a17cfbd45
Merge pull request #85960 from johnbelamaric/podspec-behaviors
Initial behavior examples for conformance
2020-02-02 14:47:21 -08:00
Jan Chaloupka
8a1c4a5a88 Collect some of scheduling metrics and scheduling throughput
In addition to getting overall performance measurements from golang benchmark,
collect metrics that provides information about insides of the scheduler itself.
This is a first step towards improving what we collect about the scheduler.

Metrics in question:
- scheduler_scheduling_algorithm_predicate_evaluation_seconds
- scheduler_scheduling_algorithm_priority_evaluation_seconds
- scheduler_binding_duration_seconds
- scheduler_e2e_scheduling_duration_seconds

Scheduling throughput is computed on the fly inside perfScheduling.
2020-02-02 18:02:49 +01:00
Kubernetes Prow Robot
7a01cdcaea
Merge pull request #82454 from beautytiger/fix_shellcheck_common.sh
fix shell checks errors in cluster/common.sh
2020-02-02 07:05:20 -08:00
Kubernetes Prow Robot
9de5763473
Merge pull request #87740 from jennybuckley/rate-limit-log
Log when client rate limiter latency is very high at a lower log level
2020-02-01 23:39:20 -08:00
Kubernetes Prow Robot
a77ed7234c
Merge pull request #87629 from pjh/gcp-windows-nodes-20200114
Update GCP Windows node image versions
2020-02-01 18:33:34 -08:00
Kubernetes Prow Robot
19ca6d30d2
Merge pull request #87437 from apelisse/kubectl-diff-exit-code
kubectl-diff: Return non-1 errors on kubectl failures
2020-02-01 18:33:20 -08:00
Kubernetes Prow Robot
b763a58878
Merge pull request #87663 from lavalamp/docs
add to api repo documentation
2020-02-01 12:55:32 -08:00
Kubernetes Prow Robot
7e5bfe4417
Merge pull request #85472 from dcbw/kubelet-network-approvers
kubelet/network: add sig-network-approvers to OWNERS
2020-02-01 12:55:19 -08:00
Patrik Cyvoct
df9b4e92e8
use network proxy for aggregator api
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-02-01 19:38:29 +01:00
Kubernetes Prow Robot
47511ef09c
Merge pull request #87680 from YuikoTakada/fix_non_ascii_runtime
Fix non-ascii characters in test/e2e/common/runtime.go
2020-02-01 09:35:19 -08:00
Kubernetes Prow Robot
b7a1d61462
Merge pull request #87658 from dims/enable-selinux-tags-in-make-targets
Enable selinux tags in make targets
2020-02-01 03:35:35 -08:00
Kubernetes Prow Robot
f81242916d
Merge pull request #81056 from neolit123/1.16-kubeadm-node-names
kubeadm: prevent bootstrap of nodes with known names
2020-02-01 03:35:20 -08:00
Kubernetes Prow Robot
35dfa2c4df
Merge pull request #87565 from SomtochiAma/more-unit-tests-scheduler
More unit tests for scheduler
2020-02-01 01:11:20 -08:00
Kubernetes Prow Robot
634b58ba29
Merge pull request #87732 from michmike/patch-1
Update OWNERS
2020-01-31 20:08:24 -08:00
Kubernetes Prow Robot
536c2c8918
Merge pull request #87706 from liggitt/fix-statefulset-conversion
Fix statefulset conversion
2020-01-31 20:08:16 -08:00
Kubernetes Prow Robot
2514c4b130
Merge pull request #87705 from misterikkit/whitespace
Fix comment whitespace
2020-01-31 20:08:05 -08:00
Kubernetes Prow Robot
38137df87d
Merge pull request #87689 from newrelic-forks/master
fix: missing variadic dots
2020-01-31 20:07:57 -08:00
Kubernetes Prow Robot
18ade93915
Merge pull request #87686 from feiskyer/file-client
Fix backoff retries for AzureFile client
2020-01-31 20:07:48 -08:00
Kubernetes Prow Robot
21e6ec0ba5
Merge pull request #87685 from feiskyer/vmas-disable
Add disableAvailabilitySetNodes to avoid VM list for VMSS clusters
2020-01-31 20:07:34 -08:00