Antonio Ojea
0cd75e8fec
run hack/update-netparse-cve.sh
2021-08-20 10:42:09 +02:00
Abu Kashem
581b088f76
integration test: provide a timeout for /health
2021-07-09 08:38:15 -04:00
Mengjiao Liu
8e4212c01a
test/integration: rename package and files name from master to controlplane in test/integration
2021-06-29 17:21:29 +08:00
Jordan Liggitt
52b629efbc
Drop use of deprecated clientv3.SetLogger
2021-06-15 09:53:06 -04:00
Jordan Liggitt
2979c3325e
Switch to go.etcd.io/etcd/client/v3
2021-06-15 09:53:06 -04:00
Kubernetes Prow Robot
51cbebab1f
Merge pull request #102687 from mengjiao-liu/rename-master-to-controlplane
...
test/integration: Rename master to controlplane
2021-06-14 09:49:16 -07:00
Marek Siarkowicz
12447bc803
Upgrade etcd server version to 3.5.0-rc.0
2021-06-09 17:00:05 +02:00
Mengjiao Liu
0fcd3c951c
test/integration: Rename master to controlplane or apiserver
2021-06-08 17:26:57 +08:00
Mengjiao Liu
257b494478
test/integration: Rename masterConfig to instanceConfig
2021-06-08 17:21:47 +08:00
Mengjiao Liu
ac5535c949
test/integration: Rename MasterConfigOptions to ControlPlaneConfigOptions
2021-06-08 16:58:46 +08:00
Kubernetes Prow Robot
a52571144f
Merge pull request #102597 from mengjiao-liu/rename-masterConfig
...
test/integration: Rename masterConfig to controlPlaneConfig
2021-06-05 10:41:05 -07:00
Kubernetes Prow Robot
74af3b712d
Merge pull request #102297 from deads2k/ssh-tunnels
...
remove --ssh- options, deprecated 13 releases, that only work on GCE
2021-06-05 10:40:50 -07:00
Mengjiao Liu
6871b2b3c7
Rename masterConfig to controlPlaneConfig
2021-06-04 20:55:08 +08:00
David Eads
84590fe27c
remove --ssh- options, deprecated 13 releases, that only work on GCE
2021-06-03 13:54:35 -04:00
Mengjiao Liu
ab45d5e496
part of master to controlplane in test/integration
...
SetMaster -> SetAPIServer
2021-06-04 00:08:13 +08:00
Mengjiao Liu
77b5ad2fb0
Part of master to controlplane in test/integration(1.22)
2021-06-03 18:29:05 +08:00
Mengjiao Liu
387154f1a9
Part3: master to controlplane in test/integration
...
Rename RunAMaster to RunAControlPlane
2021-06-03 11:06:19 +08:00
Mengjiao Liu
d3f92af74f
Part of master to controlplane in test/integration
...
NewMasterConfig -> NewControlPlaneConfig
2021-05-28 14:39:52 +08:00
Mengjiao Liu
c9ec486287
Part of master to controlplane in test/integration
...
Rename NewIntegrationTestMasterConfig to NewIntegrationTestControlPlaneConfig
2021-05-25 13:26:28 +08:00
David Eads
d6a4afa5b8
update integration tests to reflect the kube version to stop serving removed APIs
2021-05-13 12:04:15 -04:00
Gautier Delorme
34b0fcef5f
remove go-openapi/spec
...
Signed-off-by: Gautier Delorme <gautier.delorme@gmail.com>
2021-04-21 11:31:49 +02:00
Shihang Zhang
925900317e
allow multiple of --service-account-issuer
2021-04-19 09:54:11 -07:00
pacoxu
ce50018a76
part1 of e2e: master to apiserver/control-plane
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-03-31 15:50:18 +08:00
Benjamin Elder
1a7cf6c91a
remove bazel logic from test/integration/framework
2021-03-07 15:27:44 -08:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Wei Huang
9a67558784
Fix a bug that untolerated variable is used as tolerated
2021-02-02 16:04:02 -08:00
Mike Dame
578ff3ec34
Move Taint/Toleration helpers to component-helpers repo
...
This is part of the goal for scheduling to remove dependencies on internal
packages for the scheduling framework. It also provides these functions in an
external location for other components and projects to import.
2021-02-01 11:06:03 -05:00
he.qingguo
6340b7e0aa
remove unused function of NewSingleContentTypeSerializer
...
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn>
2021-01-04 10:40:37 +08:00
tiloso
3cbdc711de
Fix staticcheck in test/integration/{examples,framework}
...
Part of #92402 , fixes staticcheck failures SA1006, SA1019 and SA2002 in
test/integration/examples and test/integration/framework.
2020-12-14 21:54:37 +01:00
yue9944882
849be447f5
APF: graduate API and types to beta
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-13 23:20:39 +00:00
knight42
cfc2b330a7
refactor(apiserver): ignore the insecure flags
...
Leave the insecure flags intact but stop serving on insecure port.
2020-10-29 23:20:17 +08:00
David Eads
64c099d670
remove secondary client retries in e2e tests
2020-10-15 08:30:42 -04:00
Masashi Honma
bcbd16b94b
test-integration: Fix using deprecated default cluster IPs
...
The integration test for pods produces a warning caused by using deprecated
default cluster IPs.
$ make test-integration WHAT=./test/integration/pods GOFLAGS="-v"
W1007 17:25:28.217410 100721 services.go:37] No CIDR for service cluster IPs specified. Default value which was 10.0.0.0/24 is deprecated and will be removed in future releases. Please specify it using --service-cluster-ip-range on kube-apiserver.
This warning appears 36 times after running all tests. This patch removes all
the warnings.
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
2020-10-08 20:38:58 +09: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
Daniel Smith
13b6a929bc
It's an 'Instance' of apiserver
2020-09-24 16:14:29 -04:00
Kubernetes Prow Robot
ff1d6e8c1d
Merge pull request #93252 from adtac/scheduler-perf
...
scheduler_perf: refactor to allow arbitrary workloads
2020-09-17 14:08:46 -07:00
Adhityaa Chandrasekar
71bc9ce9c2
scheduler_perf: refactor to allow arbitrary workloads
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-09-17 19:22:20 +00:00
wojtekt
af61e8fbdf
Test watchcache being updated in multietcd setup
2020-09-15 08:19:13 +02:00
Daniel Smith
a86afc12df
update scripts
2020-09-02 10:49:40 -07:00
Daniel Smith
15e0e3e90e
rename
2020-09-02 10:48:26 -07:00
jay vyas
04b38e9f91
Update wait function w/ descriptions of global node states, TODO for kubelet
...
API.
2020-08-19 13:55:54 -04:00
Davanum Srinivas
07d88617e5
Run hack/update-vendor.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:33 -04:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:27 -04:00
Kubernetes Prow Robot
72cdc8c211
Merge pull request #89256 from yue9944882/integration-test-flowcontrol
...
Priority-level isolation integration test
2020-04-21 05:42:55 -07:00
yue9944882
30bc0fce48
integration test for priority-level isolation
2020-04-13 22:33:07 +08:00
Abdullah Gharaibeh
bed9b2f23b
Cleanup obsolete NodeInfo methods
2020-04-12 18:13:46 -04:00
Abdullah Gharaibeh
a5d8172715
move nodeinfo type to framework pkg
2020-04-07 10:25:24 -04:00
Abdullah Gharaibeh
ed3fe054df
move scheduler nodeinfo to pkg/scheduler/types
2020-03-31 21:02:09 -04:00
drfish
437765db22
Remove dependency for integration framework tests from e2e fw
2020-03-19 10:18:59 +08:00
Mateusz Gozdek
dfe1f968ac
kube-apiserver: use SO_REUSEPORT when creating listener on Unix systems
...
So multiple instances of kube-apiserver can bind on the same address and
port, to provide seamless upgrades.
Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
2020-03-13 23:55:57 +01:00
Mike Danese
c58e69ec79
automated refactor
2020-03-05 14:59:46 -08:00
Mike Danese
25651408ae
generated: run refactor
2020-02-08 12:30:21 -05:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
Mike Danese
d55d6175f8
refactor
2020-01-29 08:50:45 -08:00
notpad
6511b603c9
Define workloads specs by YAML
2019-12-19 09:08:11 +08:00
David Eads
7351c86860
publish cluster authentication trust via controller
2019-11-06 10:17:19 -05:00
Kubernetes Prow Robot
2aeacf025b
Merge pull request #84723 from hypnoglow/fix-golint-kubeapiserver
...
Fix golint issues in pkg/kubeapiserver
2019-11-05 22:18:20 -08:00
Igor Zibarev
03dfa1a641
Fix golint issues in pkg/kubeapiserver
2019-11-05 22:25:32 +03:00
Mike Danese
a4ca9e6c93
migrate callers to g/g/uuid
2019-11-04 23:15:29 -08:00
Wenjia Zhang
660b17d0ae
Pin dependencies and update vendors
2019-10-24 14:09:24 -07:00
Wenjia Zhang
3b274fad2a
Replace github.com/coreos/etcd by go.etcd.io/etcd
2019-10-24 14:09:24 -07:00
Ted Yu
79dfd42718
Log the error even if closeFn crashes
2019-10-21 16:41:54 -07:00
David Eads
f14f4c933e
add ability to pre-configure poststarthooks for apiservers
2019-10-01 09:08:18 -04:00
Kubernetes Prow Robot
df271a1799
Merge pull request #82291 from danwinship/getnodes
...
migrate from framework.GetReadySchedulableNodesOrDie to e2enode.GetReadySchedulableNodes
2019-09-25 11:04:43 -07:00
Kubernetes Prow Robot
327f53ba57
Merge pull request #83064 from liggitt/propagate-context
...
Propagate context to remote authorize/authenticate webhook calls
2019-09-25 09:32:01 -07:00
Dan Winship
71b02dd422
Fix up e2enode.GetReadySchedulableNodes, replace many uses of framework.GetReadySchedulableNodesOrDie
...
Remove the "OrDie" from the name (since it doesn't "or die") and add
an extra check that there is at least 1 node available, since many
callers already did that themselves, and many others should have.
2019-09-24 13:03:39 -04:00
Jordan Liggitt
92eb072989
Propagate context to Authorize() calls
2019-09-24 11:14:54 -04:00
hwdef
321b690f62
fix(test): delete unused unused var or const
2019-09-20 14:41:53 +08:00
Han Kang
866ea74326
remove pkg/version and some of redundant copies of it
...
Change-Id: Ia58367c1b1274bfb49c8a4784051463abaf795de
2019-09-16 16:24:35 -07:00
Khaled Henidak(Kal)
93c06821e6
Phase 2: service and endpoint processing
2019-08-28 15:59:43 +00:00
Bin Lu
34f95a8985
Bug fix: remove etcd related issues in bazel-test-integration
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-06-04 22:09:48 -07:00
Kubernetes Prow Robot
01f0be4901
Merge pull request #76639 from lubinsz/pr_bzl_arm64
...
Add an environment variable for bazel-test-integration on Arm
2019-05-17 02:04:06 -07:00
Bin Lu
51ee2b1f0b
Add an environment variable for bazel-test-integration on Arm
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-05-16 16:53:18 +08:00
Jordan Liggitt
cbc9a11ffd
Collapse integration test storage setup onto actual storage config
2019-05-01 21:52:55 -04:00
Jordan Liggitt
aee1997a19
quiet integration test logs
2019-04-20 02:20:31 -04:00
Lubomir I. Ivanov
76906dd738
test: partially decouple from cmd/kubeadm
...
The test package imports cmd/kubeadm, which is far from ideal.
There are a couple of reasons for the import:
1) Marshaling of Ingress from api/extensions/v1beta1.
To fix that include a local function in e2e/manifest/manifest.go
that does that same as the kubeadm MarshalToYaml.
2) Using PKI helper function in apimachinery and auth tests.
To fix that include a new file under test/utils/pki_helpers.go
that only contains the required helpers instead of including the whole
kubeadm pkiutil package.
There is another related problem:
e2e_node/e2e_node_suite_test.go includes:
k8s.io/kubernetes/cmd/kubeadm/app/util/system
But this has to be done in a follow up.
2019-04-04 15:41:28 +03:00
Joe Betz
e5a4f09ab3
Add resourceVersion=0 paginated list integration test for disabled and enabled watch cache
2019-04-02 13:06:15 -07:00
Andrew Sy Kim
e26157df07
fix link to etcd install docs
2019-03-26 13:40:18 -04:00
Kubernetes Prow Robot
8fd6342684
Merge pull request #74799 from lubinsz/pr_bazel
...
Add bazel-test-integration support for Arm64
2019-03-12 23:53:31 -07:00
Kubernetes Prow Robot
af62ad0ca7
Merge pull request #75141 from liggitt/deflake-max_json_patch_operations_test
...
Ensure namespaces exist on start
2019-03-08 00:53:48 -08:00
Bin Lu
973a3c7233
Add bazel-test-integration for Arm64
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-03-08 14:01:15 +08:00
Jordan Liggitt
8f47501418
Ensure namespaces exist on start
2019-03-07 15:09:46 -05:00
Tim Allclair
820a1dc96b
Add node.k8s.io/v1beta1 API
2019-03-07 11:57:12 -08:00
Xing Yang
bb45b8ee34
Make CSINodeInfo and CSIDriver Core APIs
...
This PR is the first step to transition CSINodeInfo and CSIDriver
CRD's to in-tree APIs. It adds them to the existing API group
“storage.k8s.io” as core storage APIs.
2019-03-02 12:31:05 -08:00
Eric Walker
75df4dc04c
Remove test/integration/* from hack/.golint_failures
2019-02-28 19:52:39 -07:00
Andrew Lytvynov
18458392ca
Extract new keyutil package from client-go/util/cert
...
This package contains public/private key utilities copied directly from
client-go/util/cert. All imports were updated.
Future PRs will actually refactor the libraries.
Updates #71004
2019-02-19 09:48:59 -08:00
Ben Moss
34ac4d9ee9
Update deprecated links
2019-02-15 09:13:07 -05:00
Kubernetes Prow Robot
0ae81c986a
Merge pull request #67678 from caesarxuchao/remove-storage-versions-flag
...
Remove storage versions flag
2019-02-11 17:40:27 -08:00
Antoine Pelisse
0e1d50e70f
API Machinery, Kubectl and tests
2019-02-04 13:51:48 -08:00
Chao Xu
bed7696876
generated BUILD files
2019-01-30 13:28:48 -08:00
Chao Xu
98a1003f57
Remove unnecessary group storage version defaults. The storage version
...
is either decided by the schema's version priority, or by the per
resource override.
This fixes a bug where the "batch" group is encoded in v1beta1, which
was hidden when --storage-versions is a valid flag.
2019-01-30 13:28:48 -08:00
mourya007
7c37e91a6d
Re-Organize the pkutil library
2019-01-26 14:56:36 +05:30
Patrick Barker
34d57f295f
adds dynamic audit integration test generated
2019-01-16 16:27:51 -08:00
Patrick Barker
d995047366
adds dynamic audit integration test
2019-01-16 16:24:02 -08:00
Jordan Liggitt
9229399bd6
Remove build/verify scripts for swagger 1.2 API docs, API server swagger ui / swagger 1.2 config
2019-01-15 13:33:06 -05:00
Davanum Srinivas
8c8c01f913
Add debug logs for etcd server in integration tests
...
Change-Id: Ic1dd8a7c7e0adef27b969007e24c2eb089d6bb12
2019-01-04 15:22:29 -05:00
Kubernetes Prow Robot
18778ea4a1
Merge pull request #72521 from dims/ensure-capture-of-http-and-trace-logs
...
Ensure we capture http and trace related logs
2019-01-03 15:52:06 -08:00
Davanum Srinivas
e6f8e51c50
Ensure we capture http and trace related logs
...
When we are running apiserver related code, we do not currently capture
the logs from `httplog.NewLogged` and `trace.LogIfLong` since the
default log verbosity is not set. So just make sure we have a minimum
verbosity set in these circumstance.
Change-Id: I64a30029778615e679b244ddba801833218d1573
2019-01-03 11:03:12 -05:00
Dr. Stefan Schimanski
7b242533a2
apiserver: separate transport setting from storagebackend.Config
2019-01-02 12:52:38 +01:00
Davanum Srinivas
954996e231
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00