Commit Graph

92089 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
342bcf55e8
Merge pull request #89937 from aojea/portAllocator2
portAllocator sync local data before allocate
2020-06-18 19:03:10 -07:00
Kubernetes Prow Robot
1faf097f3f
Merge pull request #88649 from oke-py/remove-deprecated-export
Remove --export flag from kubectl get command.
2020-06-18 15:19:10 -07:00
Kubernetes Prow Robot
aa348b1577
Merge pull request #92262 from ialidzhikov/cleanup/binary
Remove wrongly added gogo binary
2020-06-18 11:50:37 -07:00
wojtekt
34b2cf7d2e Add initialization logs to watchcache 2020-06-18 20:45:56 +02:00
Wenjia Zhang
0da9c3e379 Add a comment to keep etcd name in sync and change hostname to HOSTNAME 2020-06-18 11:11:12 -07:00
Christopher M. Luciano
31520ccb9b
ingress: Add v1 describers for Ingress and IngressClass
Ingressv1 Get is attempted for Ingresses and IngressClasses
and falls back to Ingressv1beta1 if there is a failure.

Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-06-18 13:49:46 -04:00
weijiehu
97945adaa1 Improves unittest CC for azure_managedDiskController 2020-06-18 09:28:32 -07:00
ialidzhikov
6bb07e9b54 Remove wrongly added gogo binary
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2020-06-18 19:22:42 +03:00
Kubernetes Prow Robot
dcb587e09f
Merge pull request #91230 from ii/heyste-create-delete-core-v1-collection-namespaced-event-test
Create deleteCoreV1CollectionNamespacedEvent test+promote - +1 endpoint coverage
2020-06-18 08:12:20 -07:00
Brian Pursley
dba85a5c95 Fixed wrong pod name in log messages 2020-06-18 10:10:10 -04:00
andyzhangx
3970904ea8 fix: deallocating should be regarded as shut down 2020-06-18 13:34:56 +00:00
Kubernetes Prow Robot
99019502bd
Merge pull request #92234 from alejandrox1/add-cleanup-time-node-perf
Added a buffer period in the node performance tests
2020-06-18 06:04:10 -07:00
Kubernetes Prow Robot
3e24be51fc
Merge pull request #92220 from deads2k/crd-removal
fix the timeline for CRD v1beta1 removal
2020-06-18 06:04:00 -07:00
Kubernetes Prow Robot
f4e2cf7fdc
Merge pull request #92215 from chendave/declare
Explicitly declare the interfaces for extension points
2020-06-18 06:03:50 -07:00
Kubernetes Prow Robot
05e245ff78
Merge pull request #92209 from thockin/verify-api-group-no-gopath
Make verify-api-groups.sh not depend on GOPATH
2020-06-18 06:03:40 -07:00
Kubernetes Prow Robot
0bb640c25a
Merge pull request #92205 from mrunalp/fix_host_path_socket_tests
test: Start a pod with nc instead of execing a background command
2020-06-18 06:03:31 -07:00
Kubernetes Prow Robot
6bb668c3c4
Merge pull request #92204 from dims/check-for-either-docker-or-containerd-getting-active
Check for either docker or containerd getting active
2020-06-18 06:03:21 -07:00
Kubernetes Prow Robot
78b503d9f8
Merge pull request #92196 from thockin/startup-probe-blocks-readiness
Pods which have not "started" can not be "ready"
2020-06-18 06:03:11 -07:00
Kubernetes Prow Robot
58416f38e4
Merge pull request #92188 from gongguan/revert-instance-meta
revert InstanceMetadataByProviderID definition and related deprecations
2020-06-18 06:03:01 -07:00
Kubernetes Prow Robot
c83c4d5453
Merge pull request #92184 from dims/set-better-default-for-loading-images
Set better default commands for loading images
2020-06-18 06:02:52 -07:00
Kubernetes Prow Robot
6dced80b5a
Merge pull request #92182 from sttts/sttts-non-tcp-listener
apiserver: fix secure serving cast for non-tcp listeners
2020-06-18 06:02:42 -07:00
Kubernetes Prow Robot
73d6be90d3
Merge pull request #92166 from andyzhangx/GetLabelsForVolume-panic
fix: GetLabelsForVolume panic issue for azure disk PV
2020-06-18 06:02:32 -07:00
Kubernetes Prow Robot
37ec23c437
Merge pull request #92139 from ash2k/ash2k/fix-clientConfig-data-race
Fix client config data race
2020-06-18 06:02:19 -07:00
Kubernetes Prow Robot
2001383994
Merge pull request #92133 from knight42/refactor/move-kubectl-out
refactor: move kubectl-cp to staging
2020-06-18 06:02:05 -07:00
Nikhita Raghunath
72ab11193a client-go: add ProxyGet expansion method for pods
Currently, the proxy subresource is not supported for pods in client-go.
Today, invoking this requires using the REST client directly.

To make using the proxy resource easier, this commit adds a ProxyGet
method for pods in pod_expansion.go similar to the ProxyGet method
for services in service_expansion.go.

Ref: d8febccacf/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/service_expansion.go
2020-06-18 16:28:23 +05:30
Dave Chen
068c69d743 Skip PreScore when the TopologySpreadConstraints is specified
`DefaultPodTopologySpread` need't score when the `TopologySpreadConstraints`
is specified.

`PreScore` needn't do this as well, this cut off the cost of `PreScore` if
possible.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-06-18 18:01:56 +08:00
Xinning Shen
27658f8241 Add logic to check if local NVMe SSDs in node boot-up script
Current logic would assume all the NVMe disks are data disks and
applicable for reformat and mount. This will cause the issue when
booting disk is also NVMe disk, which will fail the node boot up. This
change will check if any additional NVMe disks are required/specified
and skip the reformat step otherwise.
2020-06-18 08:48:43 +00:00
Kubernetes Prow Robot
d8febccacf
Merge pull request #90523 from sttts/sttts-security-contacts
Add myself to staging repo SECURITY_CONTACTS
2020-06-18 01:08:07 -07:00
andyzhangx
5f710324cb test: add unit test 2020-06-18 08:03:19 +00:00
andyzhangx
3f9ca0a320 fix: use force detach for azure disk
revert attach disk change

revert some change

fix: should not filter out disk in attach azure disk
2020-06-18 08:03:17 +00:00
Grant Griffiths
e1f0e4cd9f Add retain policy test and refactor snapshottable tests
Signed-off-by: Grant Griffiths <grant@portworx.com>
2020-06-17 19:53:53 -07:00
Kubernetes Prow Robot
cf36d9b8e9
Merge pull request #90880 from ii/ii-update-and-improve-replicationcontroller-resource-lifecycle-test
Update and improve ReplicationController resource lifecycle test
2020-06-17 19:50:05 -07:00
alejandrox1
9263dd1f02 Added a buffer period in the node performance tests
The node-kubelet-flaky e2e job that runs the the
`Node Performance Testing [Serial] [Slow] [Flaky]` e2e tests have been
flaking because of inconsistencies on the cpu manager checkpoint file.
This seems to be caused because the checkpoint file is deleted (which is
what needs to happen in order to change the CPU manager policy which is
used for these e2e tests) right after the e2e tests asserts that a pod
does not exist anymore.
However, after a pod is deleted, the CPU manager may still be cleaning
up the resources used by the pod which may result in the checkpoint file
being created.
Whenever this happened, the kubelet would panic if we then try to
subsequently change the CPU manager policy to "static" from "none" or
vice versa (this is done 4 times in these tests).

Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2020-06-17 18:33:44 -04:00
Monis Khan
6039451d35
Force token cache to support audit annotations
Signed-off-by: Monis Khan <mok@vmware.com>
2020-06-17 15:54:51 -04:00
Chelsey Chen
e0e12f25c9 Move fallback of Event API into new event lib 2020-06-17 15:46:27 -04:00
Anago GCB
7b0d7847ec CHANGELOG: Update directory for v1.18.4 release 2020-06-17 19:26:38 +00:00
Marek Siarkowicz
3c761478b9 Update logging format flag help 2020-06-17 19:39:55 +02:00
Christopher M. Luciano
92506a98fc
ingress: Update IngressClass feature and admission controller for v1
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-06-17 12:11:31 -04:00
Anago GCB
868efab6f5 CHANGELOG: Update directory for v1.17.7 release 2020-06-17 15:39:48 +00:00
Anago GCB
1b93ae5774 CHANGELOG: Update directory for v1.16.11 release 2020-06-17 15:37:39 +00:00
Kubernetes Prow Robot
1da70ed0fc
Merge pull request #91616 from knight42/feat/port-forward-warn-udp
feat(port-forward): warn users about UDP port
2020-06-17 07:48:39 -07:00
Antonio Ojea
56df70b639 kube-proxy detect IP family based on nodeIP
We were detecting the IP family that kube-proxy should use
based on the bind address, however, this is not valid when
using an unspecified address, because on those cases
kube-proxy adopts the IP family of the address reported
in the Node API object.

The IP family will be determined by the nodeIP used by the proxier
The order of precedence is:
1. config.bindAddress if bindAddress is not 0.0.0.0 or ::
2. the primary IP from the Node object, if set
3. if no IP is found it defaults to 127.0.0.1 and IPv4

Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2020-06-17 14:51:35 +02:00
David Eads
923c4b4817 fix the timeline for CRD v1beta1 removal 2020-06-17 08:26:30 -04:00
Robert Van Voorhees
3cef97e8b5
[security] Vulnerability in golang.org/x/text/encoding/unicode v0.3.2
Hello gophers,

Version v0.3.3 of golang.org/x/text fixes a vulnerability in the golang.org/x/text/encoding/unicode package which could lead to the UTF-16 decoder entering an infinite loop, causing the program to crash or run out of memory.

An attacker could provide a single byte to a UTF16 decoder instantiated with UseBOM or ExpectBOM to trigger an infinite loop if the String function on the Decoder is called, or the Decoder is passed to golang.org/x/text/transform.String.

transform.String has also been hardened not to enter an infinite loop if a Transformer keeps returning ErrShortSrc even if atEOF is true.

This issue was first filed as Issue 39491 by GitHub user abacabadabacaba and reported to the security team by Anton Gyllenberg. It is tracked as CVE-2020-14040.

Cheers,

Katie for the Go team
2020-06-17 07:57:05 -04:00
Kubernetes Prow Robot
537a602195
Merge pull request #92185 from erwinvaneyk/sample-server-fix-curl-readme
Fix curl instruction in the sample-apiserver README
2020-06-17 03:46:39 -07:00
gongguan
12c838136b remove deprecated cacher CacheCapacity config 2020-06-17 17:44:57 +08:00
Naoki Oketani
c0562815fa Remove --export flag from kubectl get command. 2020-06-17 18:35:03 +09:00
Tomas Nozicka
5cf3f8b79c Fix DS expectations on recreate 2020-06-17 09:22:17 +02:00
Dave Chen
9ebd872e71 Explicitly declare the interfaces for extension points
This make it easier to catch the issue during the compilation, also,
this also align with other plugins, i.e. plugin of "InterPodAffinity".

Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-06-17 15:11:44 +08:00
Chao Xu
06d034f3c8 remove unnecessary certs generation 2020-06-16 23:47:10 -07:00