Commit Graph

85867 Commits

Author SHA1 Message Date
Jack Kleeman
7753bfa3a4 Fix incorrect message on describe netpol
When I describe network policies, it often tells me that pods are
isolated for egress connectivity because the policy that applies to them
has no egress rules. However, this would only lead to isolation if there
is an explicitly set egress policy type. Otherwise, the policy allows
egress traffic. The same applies if you have explicitly set an egress
type only, describe will incorrectly report isolated ingress traffic.

This PR fixes this by inferring the applicable direction for the policy
based on the PolicyTypes, and then if a policy doesn't apply eg to
egress, we print 'Not affecting egress traffic'
2019-11-12 21:35:31 +00:00
Kubernetes Prow Robot
055daafe23
Merge pull request #85139 from ahg-g/ahg-snapshot2
Updated NewSnapshot interface to accept a NodeInfoMap
2019-11-12 11:52:10 -08:00
Kubernetes Prow Robot
9d84bd6fc2
Merge pull request #85120 from kkmsft/quick_start_hyperkube
Quick steps for generating hyperkube image
2019-11-12 11:51:59 -08:00
Kubernetes Prow Robot
ee9020c8bc
Merge pull request #85106 from alculquicondor/refactor/single_selector
Merging selectors used for spreading into one
2019-11-12 11:51:46 -08:00
Kubernetes Prow Robot
20e256b806
Merge pull request #85100 from alejandrox1/cleanup-e2epod
Removed unused method from e2e test framework
2019-11-12 11:51:38 -08:00
Kubernetes Prow Robot
ed10b5b17f
Merge pull request #85047 from yutedz/dev-mgr-err-handling
Handle error return from allocatePodResources
2019-11-12 11:51:27 -08:00
Kubernetes Prow Robot
f61fbca757
Merge pull request #84924 from njuicsgz/master
proxy/ipvs: only get local addresses once per sync
2019-11-12 11:51:16 -08:00
Kubernetes Prow Robot
3eff237357
Merge pull request #84882 from marosset/run-as-username-beta
Moving WindowsRunAsUserName to beta
2019-11-12 11:51:01 -08:00
Kubernetes Prow Robot
ea2750eaa6
Merge pull request #84718 from yastij/remove-validators
remove system validators package from kubeadm and use k8s.io/system-validators
2019-11-12 11:50:53 -08:00
Kubernetes Prow Robot
fccf64baec
Merge pull request #84179 from odinuge/startup-probe-test
Fix startup probe test by checking updated values
2019-11-12 11:50:37 -08:00
Kubernetes Prow Robot
c580a12c8e
Merge pull request #83568 from bertinatto/volume_limits_ga
Promote volume limits to GA
2019-11-12 11:50:22 -08:00
Kenichi Omichi
74f68dfbce Move functions from e2e/framework/util.go Part-4
This is the last PR which moves functions from e2e/framework/util.go

- WaitForServiceWithSelector: Moved to e2e/cloud/gcp
- WaitForStatefulSetReplicasReady: Moved to e2e/storage
- WaitForRCToStabilize: Moved to e2e/kubectl
- CheckInvariants: Moved to e2e/common
- ContainerInitInvariant: Moved to e2e/common
- DumpEventsInNamespace: Renamed to local function
- WaitForDaemonSets: Moved to e2e/e2e.go
2019-11-12 19:25:23 +00:00
David Eads
758f2ce44f allow individual ca bundles to be empty in union 2019-11-12 14:22:57 -05:00
Sandeep Rajan
d2d67bc406 update coredns version to 1.6.5, update manifest and corefile-migration version 2019-11-12 13:41:36 -05:00
Kubernetes Prow Robot
fb87f72b88
Merge pull request #84862 from yutedz/master-subset-check
Check that endpoint has subset before accessing first subset
2019-11-12 10:23:44 -08:00
Kubernetes Prow Robot
6b642dae87
Merge pull request #84837 from justinsb/fix_get_kubelet_pods
e2e: Fix error where pods not logged
2019-11-12 10:23:28 -08:00
Kubernetes Prow Robot
94efa988f4
Merge pull request #84813 from deads2k/admission-feature-gates
remove global variable dependency from admission plugins
2019-11-12 10:23:14 -08:00
Rob Scott
6d2fc09ee8
Adding e2e tests covering EndpointSlice and Endpoints Controllers
Since EndpointSlices and Endpoints are expected to be enabled by default
for some time, it's important to have tests covering the functionality
of both controllers. With some consumers relying on Endpoints and others
relying on EndpointSlices, it's important to ensure both resources are
generated in a timely manner with consistent attributes.
2019-11-12 10:21:15 -08:00
Sandeep Rajan
2544a764db bump vendor of corefile-migration lib to 1.0.4 which support migration of coredns up to version 1.6.5 2019-11-12 13:10:35 -05:00
Sandeep Rajan
f931dad722 bump coredns version and update manifest 2019-11-12 13:05:09 -05:00
Cong Liu
af6a8160c3 Add scheduler plugin execution duration metric.
Address comments

Sample metrics

Use rand.Intn and some cleanup
2019-11-12 13:00:20 -05:00
David Eads
e44352f31a create utilities inspecting server TLS certs 2019-11-12 12:34:19 -05:00
Aaron Prindle
6619df1798
review changes - *Locked updates 2019-11-12 09:24:56 -08:00
Kubernetes Prow Robot
402e551ca2
Merge pull request #85135 from wojtek-t/delete_unnecessary_conversions_1
Eliminate couple unnecessary conversions
2019-11-12 09:07:01 -08:00
Kubernetes Prow Robot
760af28f69
Merge pull request #85134 from LukeShu/lukeshu/event-docs-non-api
client-go/tools: Docs: Clarify what's "old" core/v1 and what's "new" events/v1beta1
2019-11-12 09:06:48 -08:00
Kubernetes Prow Robot
ed4d515f0e
Merge pull request #85049 from ahmad-diaa/make-configurator-create-return-sched
Change Configurator.Create to Return a Scheduler
2019-11-12 09:06:36 -08:00
Kubernetes Prow Robot
41be6d65d8
Merge pull request #84970 from atlassian/pdzwart/kubernetes/kubernetes/84959
- Delete backing string set from a threadSafeMap index when the string set length reaches 0.
2019-11-12 09:06:20 -08:00
Kubernetes Prow Robot
36373b37fd
Merge pull request #84672 from hwdef/fix-staticcheck2
cmd:fix staticcheck warning
2019-11-12 09:06:06 -08:00
Rob Scott
0fa9981e01
Splitting IP address type into IPv4 and IPv6 for EndpointSlices 2019-11-12 09:03:53 -08:00
Aaron Prindle
396e2d4aa3
review changes 2019-11-12 08:56:50 -08:00
Abdullah Gharaibeh
902cf48cd3 Updated NewSnapshot interface to accept a NodeInfoMap instead of lists of nodes and pods 2019-11-12 11:14:17 -05:00
Aaron Prindle
24065cf5be
fairqueuing implementation with unit tests 2019-11-12 08:12:48 -08:00
Krishnakumar R(KK)
dfdfd964e3 Quick steps for generating hyperkube image 2019-11-12 08:01:46 -08:00
Aldo Culquicondor
c35fe2c801 Merging selectors for spreading into one
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-11-12 11:01:42 -05:00
David Eads
83f6f2717e remove global variable dep in admission 2019-11-12 10:55:14 -05:00
Claudiu Belu
e8d062bd4a tests: Replaces guestbook with agnhost equivalent
The redis version has been bumped to version 5.0.5, but the maximum version supported on
Windows is 3.2. This can lead to failing tests, the output and behaviour can be different
(see #80516). In order to prevent such failures, the amount of times the Redis image is
used can be reduced.

This commit uses the previously added agnhost guestbook subcommand as a replacement for the
Guestbook application created by the test "should create and stop a working application".

Adds AgnhostPrivate to test/utils/image/manifest. Some tests are trying to pull
the agnhost image from the private registry, meaning that we would need to
always build and push the agnhost image to both e2e and private registry
whenever we bump its version. Decoupling them would mean that we only need
to push the image to the e2e registry.
2019-11-12 07:23:04 -08:00
Jordan Liggitt
71fad812ca Promote WebhookAdmissionConfiguration to v1 2019-11-12 09:56:58 -05:00
Rostislav M. Georgiev
ec4840f0b2 kubeadm: Amend the hyperkube deprecation change
The PR introducing 5bb8069 got merged accidentally (the CI robot not
respecting a hold). Hence, the feedback to that PR is merged separately.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2019-11-12 16:23:05 +02:00
Jordan Liggitt
1234290adf AdmissionConfiguration v1 2019-11-12 09:05:50 -05:00
Kubernetes Prow Robot
bcb171b375
Merge pull request #85059 from chiehting/registry/golint
Fix golint issues in pkg/registry/core/service/storage
2019-11-12 06:04:05 -08:00
Jordan Liggitt
7d3012f297 Promote resource quota admission configuration to v1 2019-11-12 09:03:55 -05:00
wojtekt
067d173266 Eliminate couple unnecessary conversions 2019-11-12 15:00:09 +01:00
Luke Shumaker
2c4bb0fa4d client-go/tools: Docs: Clarify what's "old" core/v1 and what's "new" events/v1beta1 2019-11-12 08:31:11 -05:00
Olev Kartau
b8c4b80e8d Removed clientset param from InjectContent
As one of previous changes added framework param to
InjectContent, it does not need separate param for clientset any more.
2019-11-12 14:50:37 +02:00
Kubernetes Prow Robot
a25cda5d66
Merge pull request #85088 from nikhita/publishing-go-version
publishing: bump go versions in rules
2019-11-12 04:48:58 -08:00
Kubernetes Prow Robot
35de7a2537
Merge pull request #84957 from ZP-AlwaysWin/dev-1105-1
Remove unnecessary judgment
2019-11-12 04:48:43 -08:00
Kubernetes Prow Robot
681d22428b
Merge pull request #84768 from liggitt/delegated-authnz-v1
switch delegated authnz to v1 APIs
2019-11-12 04:48:35 -08:00
Kubernetes Prow Robot
897ce3073c
Merge pull request #84533 from davidz627/fix/deprecatedPath
Remove plugin watching of deprecated directory and CSI v0 support in accordance with deprecation policy
2019-11-12 04:48:20 -08:00
Kubernetes Prow Robot
0708eb5903
Merge pull request #84423 from mikedanese/tokbench
adjust token cache benchmarks to get more accurate behavior
2019-11-12 04:48:07 -08:00
Olev Kartau
ab8444d8d7 Remove argument "cs clientset.Interface" from testFlexVolume
cs is not used any more after previous change removed cs arg
from TectVolumeClient. Functions down the call path
get cs value from framework parameter.
2019-11-12 14:42:24 +02:00