Commit Graph

95937 Commits

Author SHA1 Message Date
Claudiu Belu
5de5ae6bd3 test images: sets HOME=/root in cloudbuild.yaml
The default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx

We need to set the Home to /root explicitly since we're using docker buildx
2020-11-03 22:19:18 -08:00
10177505
0ee4ba5890 Update CHANGELOG link of older releases 2020-11-04 14:18:04 +08:00
Kubernetes Prow Robot
e01b42dfc2
Merge pull request #96133 from jiahuif/feature/controller-manager/scheme-register
register scheme for controller-manager
2020-11-03 21:52:17 -08:00
Kubernetes Prow Robot
ced9d07478
Merge pull request #95174 from tsmetana/fix-openstack-pvlabeler-zone
Don't add empty AZ labels to OpenStack pre-provisioned PVs
2020-11-03 21:52:03 -08:00
Kubernetes Prow Robot
1ba27096ae
Merge pull request #96058 from verb/1.20-cli-debug-image-mutations
Add tests and set-image option to kubectl debug
2020-11-03 20:04:17 -08:00
Kubernetes Prow Robot
c40c88219e
Merge pull request #95980 from qingsenLi/k8s201029
CHANGELOG: Fix kubectl debug KEP link
2020-11-03 20:04:03 -08:00
10177505
8b691f9583 Remove TaintBasedEvictions Feature Gate 2020-11-04 11:37:40 +08:00
Kubernetes Prow Robot
e54448a307
Merge pull request #96116 from DP19/add-e2e-test-for-external-ips
add e2e test for Service ExternalIPs
2020-11-03 17:04:17 -08:00
Kubernetes Prow Robot
e25f3d75b8
Merge pull request #95065 from JornShen/replace_restarting_kas_kp_e2e_network_provider
refector service some e2e cases to make it runing in multi providers
2020-11-03 17:04:03 -08:00
Wei Huang
a146cb0aa0
Replace calls to cs.CoreV1().Nodes().Create() with createNode() 2020-11-03 15:25:44 -08:00
Wei Huang
f054765762
Add a function to ensure created nodes are present in scheduler cache 2020-11-03 15:25:44 -08:00
Kubernetes Prow Robot
941e9242a5
Merge pull request #96128 from MHBauer/node-e2e-partial-fix
reenable e2e_node services & debugging improvements
2020-11-03 14:58:17 -08:00
Kubernetes Prow Robot
b00665c61b
Merge pull request #96073 from masap/local_up_cluster3
local-up-cluster.sh: Remove ineffective parameters
2020-11-03 14:58:04 -08:00
Masashi Honma
29c9fb6102 local-up-cluster.sh: Use config file instead of flags for kubelet
Because /tmp/kubelet.log shows trailing log twice.

Flag --address has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --rotate-certificates has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --feature-gates has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cpu-cfs-quota has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --enable-controller-attach-detach has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cgroups-per-qos has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cgroup-driver has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cgroup-root has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --eviction-hard has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --eviction-soft has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --eviction-pressure-transition-period has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --pod-manifest-path has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --fail-swap-on has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --authorization-mode has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --authentication-token-webhook has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --client-ca-file has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cluster-dns has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cluster-domain has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --runtime-request-timeout has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --port has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
2020-11-04 07:42:31 +09:00
jay vyas
38e49e0e0f Add a verbosity option to exec
Exec is a utility function but, if you call it and are already planning to either suppress or print the exec command before hand, its ability to log can be redundant or a hinderance on test readability
2020-11-03 17:20:48 -05:00
Kubernetes Prow Robot
7e1f4a9fa3
Merge pull request #95831 from cpanato/fix-test-flaky
use patch instead of replace to test the dry-run option
2020-11-03 13:28:03 -08:00
Patrick Rhomberg
90b85bf3fa KEP-1933: add static analysis target to hack/
* Add static analysis to hack/verify-govet-levee.sh for defense against
accidental logging of credentials.
* Add binary dependency to hack/tools/tools.go and associated go.mod, go.sum.
* Add analysis configuration to hack/testdata/levee/
2020-11-03 20:03:26 +00:00
Lee Verberne
ee9f11b95f kubectl debug: Allow mutating image names 2020-11-03 20:58:41 +01:00
Hippie Hacker
6d08d1681f Increasing withTimeout for ReplicationController Lifecycle test steps 2020-11-04 08:50:35 +13:00
Kubernetes Prow Robot
1c403c311e
Merge pull request #95453 from danwinship/egress-networkpolicy-tests
Don't depend on DNS in NetworkPolicy tests
2020-11-03 11:44:04 -08:00
Sascha Grunert
7b9d7fd953
Propose seccomp/apparmor protobuf type definitions for CRI graduation
With the graduation of the Container Runtime Interface (CRI) we will
have a unique chance to change the protobuf protocol. We now use native
types for seccomp and AppArmor to make the API more clear and concise to
be used.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-11-03 20:17:17 +01:00
Rob Franken
c6685436fd Update Klog dependency
Updating Klog to pickup changes needed for log sanitization.

(https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/1753-logs-sanitization)
2020-11-03 20:16:25 +01:00
Brian Byrne
5fe43caddb Remove service load balancer feature gate 2020-11-03 13:56:16 -05:00
Eric Ernst
b26b755e94 resource-metrics: add pod metrics e2e test
Signed-off-by: Eric Ernst <eric_ernst@apple.com>
2020-11-03 10:14:13 -08:00
Morgan Bauer
9b8c1dcd19
reenable e2e_node services & debugging improvements
- re-enable e2e_node services
 - call GenerateSecureToken for e2e_node Conformance test-suite
 - add log messages indicating location in process
 - move log messages to some more accurate locations
2020-11-03 10:09:56 -08:00
Eric Ernst
8dfc548709 resource-metrics: add pod/sandbox metrics to endpoint
Pod metrics may not be the same as the sum of container metrics. Add support for pod specific
metrics to allow for more accurate accounting of resources.

Signed-off-by: Eric Ernst <eric_ernst@apple.com>
2020-11-03 09:57:46 -08:00
Kubernetes Prow Robot
ac996a37f6
Merge pull request #96126 from alculquicondor/parse-preferred-node-aff
Add runtime representation of []v1.PreferredSchedulingTerm
2020-11-03 09:38:17 -08:00
Kubernetes Prow Robot
e9cfb34b8f
Merge pull request #95995 from serathius/datapolicy-legacy-cloud-providers
Add datapolicy tags to  staging/src/k8s.io/legacy-cloud-providers
2020-11-03 09:38:03 -08:00
Javier Diaz-Montes
19c70c7edc Removing Alpha annotation as the feature is graduating to Beta in v1.20 2020-11-03 11:39:56 -05:00
Kubernetes Prow Robot
c82d5ee048
Merge pull request #96145 from ingvagabund/move-pkg-kubectl-cmd-auth-under-kubectl-staging
Move pkg/kubectl/cmd/auth under staging/src/k8s.io/kubectl/pkg/cmd/auth
2020-11-03 08:06:16 -08:00
Aldo Culquicondor
d572249d30 Add runtime representation of []v1.PreferredSchedulingTerm
to be used for repeatedly scoring nodes.

Change-Id: Ib1a0866979ce6cf75d1d9668c4bf8f6fb57298b2
2020-11-03 10:21:31 -05:00
Jan Chaloupka
d3726b91e2 Move pkg/kubectl/cmd/auth under staging/src/k8s.io/kubectl/pkg/cmd/auth 2020-11-03 15:34:28 +01:00
Kubernetes Prow Robot
f7cfe3ba0f
Merge pull request #95076 from dougsland/deprecate-delete-local-data
kubectl: deprecate --delete-local-data
2020-11-03 05:50:15 -08:00
Carlos Panato
a9ff313c5b
use patch instead of replace to test the dry-run option 2020-11-03 14:27:16 +01:00
Anago GCB
5beb14f045 CHANGELOG: Update directory for v1.20.0-beta.1 release 2020-11-03 11:27:09 +00:00
Qiutong Song
a59a6b984f fix CPU time of pod stats with cs.CPU.Time
Signed-off-by: Qiutong Song <songqt01@gmail.com>
2020-11-03 09:29:18 +00:00
Kubernetes Prow Robot
cd99c63570
Merge pull request #95933 from brianpursley/kubernetes-95882
Fix bug in JSON path parser where an error occurs when a range is empty
2020-11-03 01:26:15 -08:00
Qin Ping
2c1ede513d Skip the sig-storage e2e test as early as possible 2020-11-03 08:50:25 +00:00
Ling Samuel
c7f2b2aa2f
Remove useless variable and if
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
2020-11-03 15:57:22 +08:00
Kubernetes Prow Robot
a69a4a4bf0
Merge pull request #95961 from KnicKnic/set_condition
SetCondtion updates generation
2020-11-02 23:16:15 -08:00
Lee Verberne
3cfcf3a74f kubectl debug: add tests for Complete,Validate 2020-11-03 07:03:52 +01:00
Kubernetes Prow Robot
f0dfa55de5
Merge pull request #90675 from bamarni/kubectl-config-delete-context-completion
Enable completion for `kubectl config delete-context`
2020-11-02 20:24:14 -08:00
xing-yang
c0eaee3494 Move Snapshot to GA 2020-11-03 03:14:18 +00:00
Kubernetes Prow Robot
fe654797b5
Merge pull request #93877 from bjrara/test-metrics
Bugfix missing metrics and test cases to ensure terminated request metrics is not missing
2020-11-02 19:14:14 -08:00
Indeed
be20893a8c register controllermanager.config.k8s.io group. 2020-11-02 18:13:46 -08:00
Kubernetes Prow Robot
17376e6aef
Merge pull request #92850 from tallclair/netexec
Enhance agnhost netexec for SSRF E2Es
2020-11-02 18:10:14 -08:00
Kubernetes Prow Robot
43edb40632
Merge pull request #96092 from Huang-Wei/honor-false-LocalStorageCapacityIsolation
Honor disabled LocalStorageCapacityIsolation in scheduling
2020-11-02 17:12:15 -08:00
knight42
186be6f0d2 fix(test::npd): fix node problem detector test
Since the insecure port of apiserver has been disabled in e2e node tests,
we could create a service account in the test for node problem detector
and then bind the cluster role `system:node-problem-detector` with this
service account.

Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-11-03 08:57:52 +08:00
lixiaobing1
03cfd30ee2 fix n to nodeInfo easy to understand 2020-11-03 08:44:55 +08:00
Kubernetes Prow Robot
aa79d78c7e
Merge pull request #96064 from alculquicondor/parse-node-affinity
Add runtime representation of v1.NodeSelector
2020-11-02 16:16:43 -08:00