Commit Graph

94475 Commits

Author SHA1 Message Date
Aldo Culquicondor
290bdf3f08 Fix test name TestDump
Change-Id: If885303b86060aed7a3e2aa20450cadd1f30752c
2020-09-28 15:30:05 -04:00
Kubernetes Prow Robot
db9f1e91d9
Merge pull request #94988 from neolit123/1.20-tollerate-missing-ca-key-on-join
kubeadm: warn but do not error out on missing CA keys on CP join
2020-09-28 06:36:48 -07:00
Kubernetes Prow Robot
4b24dca228
Merge pull request #95078 from jingxu97/sep/subpathtest
Disable one subpath test for windows
2020-09-27 12:46:48 -07:00
Kubernetes Prow Robot
c8ebc8ab75
Merge pull request #95077 from mikedanese/mds-block
gce: redirect handshake server requests to metadata-concealment too
2020-09-25 22:36:47 -07:00
Kubernetes Prow Robot
f448dc54bd
Merge pull request #94766 from sttts/sttts-healthz-name
apiserver: fix healthz vs. livez vs. readyz log output
2020-09-25 18:40:48 -07:00
Mike Danese
cc5b12cdff gce: redirect handshake server requests to metadata-concealment too 2020-09-25 17:50:53 -07:00
Kubernetes Prow Robot
b39a9a943f
Merge pull request #94983 from Jefftree/update-netproxy
Bump konnectivity-client to v0.0.12
2020-09-25 17:37:02 -07:00
Kubernetes Prow Robot
75448b3205
Merge pull request #94881 from nixpanic/test/e2e/storage/dd-without-cache
e2e: skip write/read cache when running Block-mode RWX PVC tests
2020-09-25 17:36:48 -07:00
Jing Xu
b80acc39a0 Disable one subpath test for windows
Disable subpath test "should be able to unmount after the subpath
directory is deleted" for windows because the test will fail when
deleting a dir while another container still use it.
2020-09-25 16:48:16 -07:00
Kubernetes Prow Robot
0f39af90ed
Merge pull request #94364 from wojtek-t/efficient_watch_resumption
Efficient watch resumption
2020-09-25 15:42:48 -07:00
Kubernetes Prow Robot
d66695653c
Merge pull request #95003 from jsafrane/cinder-delete-preprovisioned
Fail a test on pre-provisioned Cinder volume deletion error
2020-09-25 14:26:48 -07:00
Kubernetes Prow Robot
ccfdc09f35
Merge pull request #91683 from tedyu/mirror-pod-owner-ref
Mirror pod without OwnerReference should not be created
2020-09-25 11:02:48 -07:00
Kubernetes Prow Robot
14d380c925
Merge pull request #95054 from SataQiu/wrap-errors-20200925
Wrap errors from DefaultPreemption, ImageLocality and  NodeAffinity plugins
2020-09-25 09:17:11 -07:00
Kubernetes Prow Robot
3ac763c393
Merge pull request #94056 from tosi3k/logexporter-per-zone
Enable per-zone logexporter pods creation
2020-09-25 08:01:11 -07:00
Antoni Zawodny
e453a1feb7 Enable per-zone logexporter pods creation 2020-09-25 15:45:49 +02:00
Niels de Vos
f2bf2ab76e e2e/storage: disable caching when writing/reading to block PVCs
By passing "oflag=nocache" and "iflag=direct", caching should be
disabled while writing/reading with "dd" to a block device. The
TestConcurrentAccessToSingleVolume() test is known to fail with certain
storage backends (like Ceph RBD) when caching is enabled.

The default BusyBox image used for testing does not support the required
options for "dd". So instead of running with BusyBox, run the test with
a Debian image.
2020-09-25 14:38:32 +02:00
Niels de Vos
00b6d7ccee e2e: add option to create pods with different image in pod.Config
For testing certain features, the BusyBox image does not provide all the
tools that are needed. Notably 'dd' from BusyBox does not support
direct-io that is required for skipping caches while doing writes and
reads on a Block-mode PVC attached to different nodes.
2020-09-25 11:01:59 +02:00
Kubernetes Prow Robot
3a7d7101c5
Merge pull request #94876 from linux-on-ibm-z/nonewprivs-s390x
Add s390x support for nonewprivs
2020-09-25 01:37:11 -07:00
Kubernetes Prow Robot
3777ca7c2a
Merge pull request #94784 from vteratipally/revert-94669-revert-94634-master
"Switch cos version to M85""
2020-09-24 20:45:11 -07:00
SataQiu
8c51c9955c wrap errors from DefaultPreemption, ImageLocality and NodeAffinity plugins 2020-09-25 10:38:27 +08:00
Kubernetes Prow Robot
9d3a8a0b96
Merge pull request #93951 from eddiezane/ez/update-client-go-out-of-cluster-example
client-go: update out of cluster example with HomeDir func
2020-09-24 17:59:25 -07:00
Kubernetes Prow Robot
88fb266583
Merge pull request #93762 from spencer-p/create-resource-respects-ensureexists
Fix kube-addon-manager overwriting resources with EnsureExists set
2020-09-24 17:59:11 -07:00
varsha teratipally
7b2ef398a3 switching to stable version 2020-09-25 00:39:29 +00:00
Kubernetes Prow Robot
1f0d71cd0d
Merge pull request #95044 from spiffxp/add-controlplane-type-alias
Rename controlplane.Master struct to Instance
2020-09-24 16:53:20 -07:00
Kubernetes Prow Robot
282ceef2cf
Merge pull request #94288 from LogicalShark/apiserver-selfreq
API server self request metric
2020-09-24 16:53:11 -07:00
Kubernetes Prow Robot
90be932b60
Merge pull request #95027 from aojea/aoreview
auto nominate aojea to test reviewers
2020-09-24 15:29:25 -07:00
Kubernetes Prow Robot
9b1d273c89
Merge pull request #93247 from iotty/fix.govet
[k8s.io/apiserver/pkg/server/filters]: fixup go vet warning
2020-09-24 15:29:11 -07:00
Spencer Peterson
bd44ef811d Fix kube-addon-manager overwriting resources with EnsureExists
The addon manager readme states

> - Addons with label `addonmanager.kubernetes.io/mode=EnsureExists` will be checked for
> existence only. Users can edit these addons as they want.

However, the start_addon function was using `kubectl apply` to create
resources regardless of mode. This change switches between `kubectl
create` and `kubectl apply` depending on mode.

Additionally implemented tests for create_resource fn

 - Refactor functions and main executable
 - Quick tests in bash
 - Tests for Reconcile, EnsureExists behavior
 - Check for completeness with multi resource configs
2020-09-24 21:26:56 +00:00
Marcus Alder
6f85e5c111 apiserver self request metric 2020-09-24 21:05:11 +00:00
Kubernetes Prow Robot
44cd4fcedc
Merge pull request #95001 from arghya88/deprecate-scheduler-metrics
deprecate scheduler metrics
2020-09-24 13:57:48 -07:00
Kubernetes Prow Robot
807db805c3
Merge pull request #94969 from wojtek-t/list_all_namespaces_lease
Add test for listing Leases from all namespace
2020-09-24 13:57:39 -07:00
Kubernetes Prow Robot
e92f8c8457
Merge pull request #94911 from wawa0210/fix-94898
Enhance log information of verifyRunAsNonRoot, add pod, container information
2020-09-24 13:57:25 -07:00
Kubernetes Prow Robot
9646d5998c
Merge pull request #94822 from JornShen/replace_e2essh_e2e_service_tests
Replace e2essh on e2e service tests
2020-09-24 13:57:11 -07:00
Aaron Crickenberger
2853143ce7 address instance_test nits 2020-09-24 16:30:08 -04:00
Daniel Smith
13b6a929bc It's an 'Instance' of apiserver 2020-09-24 16:14:29 -04:00
Kubernetes Prow Robot
cd4ee6bf9a
Merge pull request #89840 from eddiezane/ez/kubectl-396
Add get-users and delete-user to kubectl config
2020-09-24 12:21:11 -07:00
Kubernetes Prow Robot
062fe2ebf1
Merge pull request #95025 from knight42/fix/ingress-gce-e2e
fix: correct glbc ClusterRole
2020-09-24 09:24:43 -07:00
Kubernetes Prow Robot
769f047675
Merge pull request #95024 from chendave/exported
Use the exported struct member directly
2020-09-24 09:24:34 -07:00
Kubernetes Prow Robot
85c9183c6b
Merge pull request #95006 from verb/debug-help
Update the use message for kubectl debug
2020-09-24 09:24:21 -07:00
Kubernetes Prow Robot
48cb3b2b4f
Merge pull request #94850 from SataQiu/structed-log-20200917
Using structured logging in scheduler framework runtime
2020-09-24 09:24:06 -07:00
Kubernetes Prow Robot
2d9a0b64d1
Merge pull request #95013 from soltysh/fix_context
Use pager's context instead of TODO
2020-09-24 08:16:20 -07:00
Kubernetes Prow Robot
770eb2c4a0
Merge pull request #94871 from neolit123/1.20-kubeadm-remove-experimental-kustomize
kubeadm: remove the --experimental-kustomize feature
2020-09-24 08:16:06 -07:00
Lubomir I. Ivanov
7c783fa374 kubeadm: make the CP join handling of kubeconfig similar to "init"
The kubeconfig phase of "kubeadm init" detects external CA mode
and skips the generation of kubeconfig files. The kubeconfig
handling during control-plane join executes
CreateJoinControlPlaneKubeConfigFiles() which requires the presence
of ca.key when preparing the spec of a kubeconfig file and prevents
usage of external CA mode.

Modify CreateJoinControlPlaneKubeConfigFiles() to skip generating
the kubeconfig files if external CA mode is detected.
2020-09-24 18:12:00 +03:00
Lubomir I. Ivanov
05b77fe99f kubeadm: warn but do not error out on missing CA keys on CP join
- Modify validateCACertAndKey() to print warnings for missing keys
instead of erroring out.
- Update unit tests.

This allows doing a CP node join in a case where the user has:
- copied shared certificates to the new CP node, but not copied
ca.key files, treating the cluster CAs as external
- signed other required certificates in advance
2020-09-24 18:11:59 +03:00
SataQiu
47c58c3785 using structured logging in scheduler framework runtime 2020-09-24 21:54:31 +08:00
Kubernetes Prow Robot
b58777eda0
Merge pull request #92964 from vponomaryov/issue-88752-in-master
agnhost image: use actual DNS domain instead of hardcoded cluster.local
2020-09-24 05:30:05 -07:00
Valerii Ponomarov
c55b6cdbb4 agnhost image: use actual DNS domain instead of hardcoded cluster.local
'agnhost' image uses hardcoded 'cluster.local' value for DNS domain.
It leads to failure of a bunch of HPA tests when test cluster is
configured to use custom DNS domain and there is no alias for
default 'cluster.local' one.
So, fix it by reusing it's own function for reading DNS domain suffixes.

Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
2020-09-24 14:24:16 +03:00
Antonio Ojea
bafea472d2 add aojea to test reviewers 2020-09-24 12:21:28 +02:00
Dave Chen
a9b71c198b Use the exported struct member directly
Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-09-24 16:15:11 +08:00
knight42
91bd11681a
fix: correct glbc ClusterRole
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-09-24 16:14:36 +08:00