Commit Graph

74089 Commits (b1eae78fc7b807391ecf017b8db1bbad68346af3)

Author SHA1 Message Date
Yuwen Ma 14a1e27ddd fix golint failure for pkg/controller/deployment/util 2019-01-28 11:00:40 -08:00
Mike Spreitzer 4982cbb2d8 Update doc for k8s.io/code-generator/cmd/conversion-gen
Added explanation of the `k8s:conversion-gen-external-types` comment
tag.

Added explanation of how the developer can selectively override the
generated conversion functions.

Also updated description in Makefile.generated_files.
2019-01-28 13:46:25 -05:00
Chao Xu 3419adeaa3 generated BUILD
generated proto
2019-01-28 09:53:12 -08:00
Chao Xu 4ce66d949d API change: adding storage version hash 2019-01-28 09:42:25 -08:00
Krzysztof Jastrzebski 7186d3ba8b Delete pods assigned to not existing nodes. 2019-01-28 14:38:09 +01:00
Rostislav M. Georgiev 80e2a3cf07 kubeadm: reduce the usage of InitConfiguration
For historical reasons InitConfiguration is used almost everywhere in kubeadm
as a carrier of various configuration components such as ClusterConfiguration,
local API server endpoint, node registration settings, etc.

Since v1alpha2, InitConfiguration is meant to be used solely as a way to supply
the kubeadm init configuration from a config file. Its usage outside of this
context is caused by technical dept, it's clunky and requires hacks to fetch a
working InitConfiguration from the cluster (as it's not stored in the config
map in its entirety).

This change is a small step towards removing all unnecessary usages of
InitConfiguration. It reduces its usage by replacing it in some places with
some of the following:

- ClusterConfiguration only.
- APIEndpoint (as local API server endpoint).
- NodeRegistrationOptions only.
- Some combinations of the above types, or if single fields from them are used,
  only those field.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2019-01-28 12:21:01 +02:00
Davanum Srinivas aeeb5ecdcc
Add import-restrictions for cloud providers
Change-Id: Ie3be057c41a1aa81bb014e603c86bd81269c71e9
2019-01-27 23:07:05 -05:00
Kubernetes Prow Robot 8b98e802ed
Merge pull request #73359 from eparis/fix-typo
test/e2e/framework: fix external/internal typo err in GetNodeInternalIP
2019-01-27 11:03:18 -08:00
Kubernetes Prow Robot 219fec9539
Merge pull request #73348 from neolit123/join-phases
kubeadm: fix a couple of problems related to initData/joinData
2019-01-27 09:55:34 -08:00
Kubernetes Prow Robot b54795e410
Merge pull request #73222 from sttts/sttts-import-restrictions-owners
Move import-restrictions.yaml to staging/publishing
2019-01-26 15:34:12 -08:00
Eric Paris 384da53441 test/e2e/framework: fix external/internal typo err in GetNodeInternalIP 2019-01-26 17:12:50 -05:00
Alvaro Aleman 37426c511a
Vsphere: Add 15 missing err checks 2019-01-26 22:14:54 +01:00
Ted Yu c8f1826185 Use read lock for scheduler_binder_cache GetDecisions 2019-01-26 13:06:23 -08:00
Kubernetes Prow Robot 8d804ceb10
Merge pull request #73355 from nikhita/publishing-release-12-go
publishing: bump go version to 1.10.8 for release-1.12
2019-01-26 12:35:42 -08:00
Nikhita Raghunath 8b4f846016 publishing: bump go version to 1.10.8 for release-1.12 2019-01-27 00:50:17 +05:30
Alvaro Aleman 345049b663
Fix PV allocation on non-English vSphere 2019-01-26 19:57:56 +01:00
Dr. Stefan Schimanski 9377448667 Move hack/import-restrictions.yaml to staging/publishing 2019-01-26 19:53:51 +01:00
Vallery Lancey 21cccbb863 Variable & timeout cleanup in no-endpoints e2e test 2019-01-26 10:15:13 -08:00
Lubomir I. Ivanov 1b0ba920fe kubeadm: fix a couple of problems related to initData/joinData
Fix a couple of problems related to data used by the phases runners
of `init` and `join`.

1) make `newInitData()` and `newJoinData()` return pointers.

Methods of the data objects returned by these functions should
be able to modify fields in the data objects - e.g.
`func (d initData) Client()`. This allows us to store a state and
not execute the same logic multiple times - e.g. obtaining a client.

A side effect of this change is that the `new...` functions must return
pointers, so that casting the data object in a phase, from
`workflow.RunData` to a locally defined interface, works.

2) Make it possible to pass arguments from a parent command
to a sub-phase with regards to data initialization.
2019-01-26 18:41:19 +02:00
Kubernetes Prow Robot 8bce3620b0
Merge pull request #72690 from Katharine/no-conformance-skips
Never skip multi-node conformance tests (instead just fail).
2019-01-26 07:30:13 -08:00
yanghaichao12 31a139966c Fix typos 2019-01-26 09:40:09 -05:00
Kubernetes Prow Robot 6cfd7beb86
Merge pull request #65981 from oracle/for/upstream/master/jah/reduce-log-spam
Only attempt to register cloud nodes on update with the cloud taint
2019-01-26 06:20:28 -08:00
war-turtle b1b7d0dbae fixing shellcheck warning in build/common.sh 2019-01-26 19:21:17 +05:30
Kubernetes Prow Robot b5f2147a5a
Merge pull request #73193 from shyamjvs/avoid-master-ssh
Avoid master ssh in eks
2019-01-26 02:51:49 -08:00
mourya007 7c37e91a6d Re-Organize the pkutil library 2019-01-26 14:56:36 +05:30
Kubernetes Prow Robot c6d0cdf309
Merge pull request #72694 from liggitt/integration-api-versions
Use apps/v1 APIs in integration, explicitly enable all resources for print/etcd/scale tests
2019-01-26 00:35:43 -08:00
Kubernetes Prow Robot fb9e07c664
Merge pull request #70052 from neolit123/placeholder-docs
docs: stop tracking placeholder documentation
2019-01-26 00:35:33 -08:00
Kubernetes Prow Robot 30ed3b41b7
Merge pull request #73317 from hello2mao/remove-cloud-nil-check
Remove unnecessary nil check for cloud
2019-01-25 22:31:27 -08:00
Kubernetes Prow Robot e1605310a5
Merge pull request #72902 from andrewsykim/72649
E2E test for node deleted in cloud provider
2019-01-25 22:31:16 -08:00
Jordan Liggitt cdfb5d3170 Make pod eviction trigger graceful deletion to match deletion via API 2019-01-25 23:35:49 -05:00
Kubernetes Prow Robot 54015767a5
Merge pull request #73326 from ixdy/k8s-master-go1.11.5
Update to go1.11.5
2019-01-25 19:44:10 -08:00
Kubernetes Prow Robot a5e424dc17
Merge pull request #72923 from saschagrunert/dedent-update
Update dedent to latest release
2019-01-25 18:32:23 -08:00
Kubernetes Prow Robot b8d6de320f
Merge pull request #72334 from danielqsj/kp
Change proxy metrics to conform metrics guidelines
2019-01-25 18:32:12 -08:00
Kubernetes Prow Robot ac8e772034
Merge pull request #71310 from xiezongzhe/patch-3
fix typo
2019-01-25 18:32:01 -08:00
Kubernetes Prow Robot 5673506540
Merge pull request #73320 from liggitt/initializer-cleanup
Clean up initializer-related comments, test data
2019-01-25 15:28:18 -08:00
Kubernetes Prow Robot d3a2566371
Merge pull request #73109 from palash25/verlog
Add version logging to kube-scheduler
2019-01-25 15:28:08 -08:00
Kubernetes Prow Robot 2da120b086
Merge pull request #73066 from humblec/validation
Better documented exported functions and variables
2019-01-25 15:27:58 -08:00
Kubernetes Prow Robot b04d7ca976
Merge pull request #72896 from lorenz/fix-apiserver-healthcheck
Fix etcd healthcheck for consensus failures
2019-01-25 15:27:45 -08:00
Kubernetes Prow Robot 1c65186560
Merge pull request #72768 from rmohr/omitempty-datasource
Set omitempty on DataSource for snapshot on PVCs
2019-01-25 15:27:36 -08:00
ampsingram 1ab6569da2 format changes 2019-01-25 18:16:48 -05:00
ampsingram 28d3774004 Add SigningMethod, make it optional, copy in verbatim
An empty SigningMethod will default properly.
2019-01-25 18:15:41 -05:00
Lubomir I. Ivanov 54e8d73920 docs: stop tracking placeholder documentation
The placeholder documentation introduces a couple of problems:
- it complicates the contributor-experience (forces the CI to run
N times before the contributor finds out that they need to call an .sh
script and include certain files from docs/)
- it forces CLI related pull requests for tools like kubeadm and kubectl
to require top level approval from docs/OWNERS as such PRs still need
to touch the .generated_docs file

Stop tracking the placeholder documentation by applying the
following actions:
- remove the utility set-placeholder-gen-docs()
- make verify-generated-docs.sh only generate in a temporary folder
and not match .generated_docs
- mark generate-docs.sh as an alias for update-generated-docs.sh
- remove all current placeholder files in docs folders admin, man,
user-guide, yaml
- ignore the above folders and .generated_docs in a .gitignore file
2019-01-26 01:07:10 +02:00
andrewsykim 596c6fbf03 e2e test for node deleted in cloud provider 2019-01-25 17:45:18 -05:00
Kubernetes Prow Robot 697c2316fa
Merge pull request #70121 from feiskyer/win-net-stats3
Add network stats for Windows containers
2019-01-25 14:12:34 -08:00
Kubernetes Prow Robot d54716338a
Merge pull request #73302 from rajansandeep/prometheusport
Add metrics port to CoreDNS service
2019-01-25 12:04:37 -08:00
Joshua Horwitz 9b3ab29cc9 Only attempt to register cloud nodes on update with the cloud taint 2019-01-25 14:48:29 -05:00
Jeff Grafton e273db831c Update to go1.11.5 2019-01-25 11:38:58 -08:00
Kubernetes Prow Robot c6a6c65e32
Merge pull request #73316 from rosti/fix-kubeadm-reset
kubeadm: Fix auto CRI detection in kubeadm reset
2019-01-25 10:05:22 -08:00
Jordan Liggitt 89b0b0b84b Clean up initializer-related comments, test data 2019-01-25 12:37:45 -05:00
Kubernetes Prow Robot f5f5d9a54a
Merge pull request #73308 from krzysied/reflector_trace2
Adding trace to reflector initialization
2019-01-25 08:53:23 -08:00