Commit Graph

95016 Commits

Author SHA1 Message Date
Marwan Ahmed
ede9d8ce12 add methods to deallocate and starts vms in a scale set 2020-10-14 19:43:03 -07:00
Kubernetes Prow Robot
b3d4b8ed8a
Merge pull request #93912 from barney-s/fluentbit_win
Use fluentbit as logging agent. Replace stackdriver
2020-10-14 18:45:50 -07:00
Barni S
bbe7b2ebed Use fluentbit as logging agent. Replace stackdriver 2020-10-14 18:27:09 -04:00
Kubernetes Prow Robot
2318a13228
Merge pull request #94985 from howardjohn/describe-ingress
Fix `kubectl describe ingress` format
2020-10-14 14:05:49 -07:00
Francesco Romani
009b5356cb e2e: node: topomgr: avoid plugin leak on test fail
We need to make sure we tear down the sriov device plugin pod
should the tests fail, to avoid leaking pods in the test environment.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-10-14 23:01:58 +02:00
Haowei Cai
fac48d2538 add a local tlsTransportCache to available_controller
The available_controller creates short-lived clients to sync remote APIService
objects. These clients are constructed with HTTP transports that cannot
be cached by client-go (because client-go won't know whether the TLS configs
have dynamic functions or not), which may spam idle connections. A local
cache works because we know all the configs share the same dialer
function, and can only vary on the dynamic cert/key.
2020-10-14 14:01:56 -07:00
Kubernetes Prow Robot
7ff41c1ba0
Merge pull request #94588 from MaXinjian/shellcheck-typo
Fix typo in comment of hack/verify-shellcheck.sh
2020-10-14 11:15:49 -07:00
Aldo Culquicondor
95dd99905f Map SelectorSpreadPriority to PodTopologySpread plugin
when DefaultPodTopologySpread feature is enabled

If SelectorSpreadPriority is in use, PodTopologySpread gets inevitably enabled.
When only EvenPodsSpreadPriority is in use, PodTopologySpread is configured without system defaults.

Change-Id: I2389a585cd8ad0bd35b0d2acae1665cd46908b3e
2020-10-14 13:45:26 -04:00
Anago GCB
6718c7654d CHANGELOG: Update directory for v1.19.3 release 2020-10-14 16:51:22 +00:00
Manjunath A Kumatagi
4a75c7ef1e Fix fcpath 2020-10-14 21:15:22 +05:30
Kubernetes Prow Robot
b2de4a6159
Merge pull request #95539 from soulxu/issue_95442
Reorder default Filter plugins to have UnschedulableAndUnresolvable f…
2020-10-14 08:09:54 -07:00
Joseph Burnett
1ccaaa768d Ignore deleted pods.
When a pod is deleted, it is given a deletion timestamp. However the
pod might still run for some time during graceful shutdown. During
this time it might still produce CPU utilization metrics and be in a
Running phase.

Currently the HPA replica calculator attempts to ignore deleted pods
by skipping over them. However by not adding them to the ignoredPods
set, their metrics are not removed from the average utilization
calculation. This allows pods in the process of shutting down to drag
down the recommmended number of replicas by producing near 0%
utilization metrics.

In fact the ignoredPods set is misnomer. Those pods are not fully
ignored. When the replica calculator recommends to scale up, 0%
utilization metrics are filled in for those pods to limit the scale
up. This prevents overscaling when pods take some time to startup. In
fact, there should be 4 sets considered (readyPods, unreadyPods,
missingPods, ignoredPods) not just 3.

This change renames ignoredPods as unreadyPods and leaves the scaleup
limiting semantics. Another set (actually) ignoredPods is added to
which delete pods are added instead of being skipped during
grouping. Both ignoredPods and unreadyPods have their metrics removed
from consideration. But only unreadyPods have 0% utilization metrics
filled in upon scaleup.
2020-10-14 16:45:06 +02:00
Sascha Grunert
b2308f1efe
Make copied localtime file write-able
Some distributions have no default write-access to this file, which
means that it's not possible to update the file and rebuild the project
if not write-able. This patch fixes this by adding an additional
`chmod`.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-10-14 13:08:57 +02:00
Kubernetes Prow Robot
6d01c5a589
Merge pull request #92459 from roycaihw/storage-version/manager
Add storageversion manager interface
2020-10-14 03:19:55 -07:00
He Jie Xu
6e55b88725 Reorder default Filter plugins to have UnschedulableAndUnresolvable first 2020-10-14 09:40:51 +00:00
Kubernetes Prow Robot
8647eece9c
Merge pull request #95113 from Git-Jiro/lint_ttlcontroller
Lint ttl_controller
2020-10-13 22:51:53 -07:00
Kubernetes Prow Robot
9891ac4d4d
Merge pull request #95333 from jayunit100/node_port_udp_fast_test
Node port udp fast test
2020-10-13 18:19:54 -07:00
Masashi Honma
ad7cbac163 test: Fix deprecated --dry-run parameter
Some unit tests throw this warning.

W1013 09:06:21.581870  176998 helpers.go:567] --dry-run=true is deprecated (boolean value) and can be replaced with --dry-run=client.

This patch removes the warning by using --dry-run=client instead of --dry-run=true.

The unit tests that are affected are:

make test WHAT=./vendor/k8s.io/kubectl/pkg/cmd/apply GOFLAGS=-v
make test WHAT=./vendor/k8s.io/kubectl/pkg/cmd/create GOFLAGS=-v

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
2020-10-14 10:00:08 +09:00
Kubernetes Prow Robot
5c5d26786e
Merge pull request #94987 from zshihang/fix-upgrade
fix upgrade test
2020-10-13 17:23:54 -07:00
Kubernetes Prow Robot
6c40e16cd8
Merge pull request #95525 from tosi3k/master-log-dump-gke
Fix log dumping for GKE
2020-10-13 16:26:08 -07:00
Kubernetes Prow Robot
1c4f83e8c2
Merge pull request #95340 from Huang-Wei/priority-class-endpoints
PriorityClass lifecycle tests
2020-10-13 16:25:54 -07:00
Matthew Cary
b670fee999 Enable XFS tests for recent GKE COS versions 2020-10-13 14:31:06 -07:00
Kubernetes Prow Robot
6268e6f990
Merge pull request #95069 from farah/split-scheduler
Move scheduler interface to pkg/scheduler/framework
2020-10-13 14:23:54 -07:00
Anago GCB
a0883b0784 CHANGELOG: Update directory for v1.20.0-alpha.2 release 2020-10-13 19:44:14 +00:00
Kubernetes Prow Robot
ea896a2e64
Merge pull request #95224 from Git-Jiro/lint_endpoint
Fix lint errors in pkg/contoller/endpoint
2020-10-13 12:06:27 -07:00
Wei Huang
f8cfbc8ac1
PriorityClass lifecycle tests 2020-10-13 12:06:07 -07:00
Kubernetes Prow Robot
46b5eb3338
Merge pull request #78153 from amimof/feature-kubectl-create-ingress
Feature: kubectl create ingress
2020-10-13 11:04:27 -07:00
Kubernetes Prow Robot
e3d7d067ab
Merge pull request #95066 from SataQiu/wrap-errors-2020092502
Wrap errors for NodeLabel, NodePorts, NodePreferAvoidPods and NodeResourcesBalancedAllocation plugins
2020-10-13 09:46:27 -07:00
Antoni Zawodny
7e895db627 Fix log dumping for GKE 2020-10-13 18:46:08 +02:00
Kubernetes Prow Robot
dc98ed96f6
Merge pull request #95085 from arghya88/wrap-error-taint-toleration-plugin
Wrap errors in taint-toleration, service-affinity plugin
2020-10-13 08:16:26 -07:00
Amir Mofasser
be45584a03
Add create ingress command to cmd/kubectl
Add `create ingress` unit tests


Move src code to staging dir


Update create command to reflect new API


Replaced deprecated `extensions` api with `networking`


Fix `missing strict dependencies`


Update BUILD 


Update BUILD


Fix commit conflict with upstream


Update after review

* Removed obsolete files
* Moved v1beta to v1 api

Fixed gofmt


Fixed deps imports


Merge with PR #94327


Revert changes


Revert go.mod


Revert BUILD


No need to update generated BUILD


Add required deps to BUILD


Update BUILD
2020-10-13 16:54:17 +02:00
Qi Ni
7964e302b0 Support the node label node.kubernetes.io/exclude-from-external-load-balancers 2020-10-13 22:18:54 +08:00
Kubernetes Prow Robot
e799c852fb
Merge pull request #95447 from gnufied/fix-disk-detach-failure
Fix vsphere disk detach failure
2020-10-13 03:36:41 -07:00
Kubernetes Prow Robot
da777a6cc0
Merge pull request #95265 from SaiHarshaK/refactor-command-kubectl-create-quota
Remove the dependency between create quota command and generators
2020-10-13 03:36:27 -07:00
Kubernetes Prow Robot
4ca119f521
Merge pull request #94916 from smileusd/upstream_master
split systemd mount from mount
2020-10-13 02:38:26 -07:00
Kubernetes Prow Robot
01f3f67989
Merge pull request #92663 from AndersonQ/68026-golint-/pkg/kubelet/stats
cleanup: fix golint errors in /pkg/kubelet/stats
2020-10-12 23:48:26 -07:00
tashen
27cb5cf4f0 add systemd mount options interface to support the no-systemd mount 2020-10-13 13:46:57 +08:00
Kubernetes Prow Robot
53d9bed6e0
Merge pull request #95463 from andyzhangx/bigdisk-cachemode
fix azure disk attach failure for disk size bigger than 4TB
2020-10-12 21:12:26 -07:00
Kubernetes Prow Robot
475849eafa
Merge pull request #95426 from neolit123/1.20-add-output-to-generate-csr
kubeadm: add some output to the generate-csr command
2020-10-12 19:31:21 -07:00
Ali
09b2e8f638 Move scheduler interface to pkg/scheduler/framework 2020-10-13 13:13:27 +11:00
Hemant Kumar
5627771601 Fix vsphere disk detach failing
Make inability to fetch canonicalPath non-fatal error
Throw error if we can't fetch canonicalPath on attach
2020-10-12 21:58:28 -04:00
Kubernetes Prow Robot
1dff024e64
Merge pull request #91014 from cici37/apiConfig
Move cmd/controller-manager to k8s.io/controller-manager
2020-10-12 15:17:22 -07:00
Suramrit Singh
e0249c4b0b - fix golint errors by adding defition comments
- remove /pkg/apiserverinternal from .golint_failures
2020-10-12 15:03:53 -07:00
Kubernetes Prow Robot
1698af78be
Merge pull request #95494 from tosi3k/busybox-tag
Fix the busybox image tag in kubemark hollow nodes
2020-10-12 11:32:59 -07:00
Kubernetes Prow Robot
dee62a7267
Merge pull request #95412 from saikat-royc/snapshot-controller-bump
Upgrade snapshot controller to 3.0.0
2020-10-12 11:32:49 -07:00
Kubernetes Prow Robot
4bbf4111e2
Merge pull request #92507 from ingvagabund/staging-library-go
Initialize k8s.io/component-helpers staging repository
2020-10-12 10:30:48 -07:00
Haowei Cai
184b460369 add a OWNERS file under storageversion 2020-10-12 09:57:54 -07:00
Haowei Cai
c548d016d4 generated 2020-10-12 09:57:54 -07:00
Haowei Cai
48361711a5 add the storageversion.Manager interface 2020-10-12 09:57:54 -07:00
Lubomir I. Ivanov
bae6b93d5c kubeadm: add some output to the generate-csr command
Currently the "generate-csr" command does not have any output.
Pass an io.Writer (bound to os.Stdout from /cmd) to the functions
responsible for generating the kubeconfig / certs keys and CSRs.

If nil is passed these functions don't output anything.
2020-10-12 19:05:45 +03:00