Commit Graph

79653 Commits

Author SHA1 Message Date
Rostislav M. Georgiev
94c56c81ba kubeadm: Retire MarshalClusterConfigurationToBytes
MarshalClusterConfigurationToBytes has capabilities to output the component
configs, as separate YAML documents, besides the kubeadm ClusterConfiguration
kind. This is no longer necessary for the following reasons:

- All current use cases of this function require only the ClusterConfiguration.
- It will output component configs only if they are not the default ones. This
  can produce undeterministic output and, thus, cause potential problems.
- There are only hacky ways to dump the ClusterConfiguration only (without the
  component configs).

Hence, we simplify things by replacing the function with direct calls to the
underlaying MarshalToYamlForCodecs. Thus marshalling only ClusterConfiguration,
when needed.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2019-06-24 15:17:19 +03:00
Kubernetes Prow Robot
4e0b76469f
Merge pull request #75638 from ramnar/bugfix_24thMarch
Bug fix 72757.Removed deprecated label kubernetes.io/cluster-service
2019-06-20 06:54:49 -07:00
Kubernetes Prow Robot
0ce16a3992
Merge pull request #79186 from oomichi/remove-mapfile
Replace mapfile with kube::util::read-array
2019-06-20 04:42:49 -07:00
Kubernetes Prow Robot
00e13dbc12
Merge pull request #78187 from dims/update-vendored-dependencies-to-released-versions-2
Update vendored dependencies to released version
2019-06-19 23:46:48 -07:00
Kubernetes Prow Robot
465e96535d
Merge pull request #78836 from dims/verify-import-aliases-during-typecheck
Verify import aliases
2019-06-19 21:11:01 -07:00
Kubernetes Prow Robot
ef03129821
Merge pull request #78396 from bclau/tests/reduce-to-agnhost-part-2
tests: Replaces images used with agnhost (part 2)
2019-06-19 21:10:48 -07:00
Kubernetes Prow Robot
96a2f12b4e
Merge pull request #79088 from s-ito-ts/golint_e2e_storage_testsuites
Fix golint failures of test/e2e/storage/testsuites
2019-06-19 18:37:25 -07:00
Kubernetes Prow Robot
8d8c54bd73
Merge pull request #79082 from timoreimann/delete-unused-service-controller-load-balancer-name-method
Remove unused ServiceController.loadBalancerName method
2019-06-19 18:37:13 -07:00
Kubernetes Prow Robot
bd35a48815
Merge pull request #78958 from tao12345666333/go-1.12.6
Update to go 1.12.6
2019-06-19 18:37:00 -07:00
Kubernetes Prow Robot
40a2927bcc
Merge pull request #78031 from mattjmcnaughton/mattjmcnaughton/cleanup-probe-http
Code cleanup for for probe/http
2019-06-19 18:36:48 -07:00
Kenichi Omichi
5628b6b50e Replace mapfile with kube::util::read-array
During the review of https://github.com/kubernetes/kubernetes/pull/78779
we've known mapfile doesn't work on macOS.
So we need to use alternative way instead and this is it.
2019-06-20 00:25:06 +00:00
Kubernetes Prow Robot
c47ab33e67
Merge pull request #79170 from soltysh/test_approver
Move soltysh back to approvers
2019-06-19 14:57:39 -07:00
Kubernetes Prow Robot
06656ce1ae
Merge pull request #79160 from vikaschoudhary16/e2e-upgrade-flake
e2e Flake: Pass updated deployment for comparison of replica count
2019-06-19 14:57:26 -07:00
Kubernetes Prow Robot
50181f3e90
Merge pull request #79151 from bclau/test-images/agnhost-baseimage-prefix
test images: Removes linux/ prefix from agnhost BASEIMAGE
2019-06-19 14:57:14 -07:00
Kubernetes Prow Robot
ad0904c335
Merge pull request #79123 from tedyu/wait-all
Redundant call to WithAll in NewWaitFlags
2019-06-19 14:57:02 -07:00
Kubernetes Prow Robot
c2ff62c28c
Merge pull request #78779 from odinuge/test-cleanup
Enforce test style on e2e_node and e2e_kubeadm tests
2019-06-19 14:56:49 -07:00
Kubernetes Prow Robot
ee4776d7ec
Merge pull request #78889 from qingsenLi/k8s-190611
use klog.Info instead of klog.Infof when had no format
2019-06-19 13:02:20 -07:00
Anago GCB
d59bd7364c Update CHANGELOG-1.15.md for v1.15.0. 2019-06-19 17:49:08 +00:00
Kubernetes Prow Robot
4683054ff6
Merge pull request #79165 from neolit123/kubeadm-1.16-fix-panic-kubeconfig
kubeadm: improve the kubeconfig file validation phase
2019-06-19 07:36:35 -07:00
Maciej Szulik
8a56562d8b
Move soltysh back to approvers 2019-06-19 16:31:38 +02:00
Lubomir I. Ivanov
14408bec87 kubeadm: improve the kubeconfig file validation phase
When a kubeconfig file is read from disk it may lack the
propper mapping between contexts and clusters.

In such a case the kubeconfig phase backend will panic,
without throwing a sensible error.

Add nil checks for a couple of map operations in
validateKubeConfig().
2019-06-19 15:12:22 +03:00
Davanum Srinivas
2df5d854a6
Dropping unused dependencies 2019-06-19 06:40:02 -04:00
Davanum Srinivas
b508986304
updating github.com/miekg/dns to v1.1.4 2019-06-19 06:38:33 -04:00
Davanum Srinivas
d9de27d029
updating github.com/spf13/cast to v1.3.0 2019-06-19 06:38:33 -04:00
Davanum Srinivas
1c7bfba916
updating gopkg.in/yaml.v2 to v2.2.2 2019-06-19 06:38:33 -04:00
Davanum Srinivas
7858719b4c
updating gopkg.in/square/go-jose.v2 to v2.2.2 2019-06-19 06:38:33 -04:00
Davanum Srinivas
21fc7d283d
updating github.com/stretchr/testify to v1.3.0 2019-06-19 06:38:32 -04:00
Davanum Srinivas
ed2b80fe0f
updating github.com/spf13/viper to v1.3.2 2019-06-19 06:38:32 -04:00
Davanum Srinivas
99d5aa759e
updating github.com/spf13/pflag to v1.0.3 2019-06-19 06:38:32 -04:00
Davanum Srinivas
a6e9835daa
updating github.com/spf13/jwalterweatherman to v1.1.0 2019-06-19 06:38:32 -04:00
Davanum Srinivas
1b401bdab7
updating github.com/spf13/cobra to v0.0.4 2019-06-19 06:38:32 -04:00
Davanum Srinivas
56612c8b2e
updating github.com/spf13/afero to v1.2.2 2019-06-19 06:38:31 -04:00
Vikas Choudhary
cc8facda70 Pass updated deployment for comparison of replica count 2019-06-19 14:21:42 +05:30
Kubernetes Prow Robot
9162d932cf
Merge pull request #78703 from MrHohn/svc-e2e-name-cleanup
[e2e] Make meaningful service name in test
2019-06-19 00:56:31 -07:00
Kubernetes Prow Robot
cf23c017cd
Merge pull request #79130 from RainbowMango/pr_delete_unused_constant_in_service_controller
Minor change: delete unused constant from service controller
2019-06-18 20:38:45 -07:00
Kubernetes Prow Robot
0a3557bc29
Merge pull request #75544 from pontiyaraja/pos
re-named conformance test name for pod creating with CPU and memory resources
2019-06-18 20:38:32 -07:00
Kubernetes Prow Robot
efa043151c
Merge pull request #79094 from gaorong/fix-IsLikelyNotMountPoint
fix kubelet can not delete orphaned pod directory when "/var/lib/kubelet/pods" directory symbolically links to another device's directory
2019-06-18 19:02:31 -07:00
Kubernetes Prow Robot
0f9077d0af
Merge pull request #78934 from SataQiu/fix-test-20190612
[e2e] move Failf from e2e/framework to e2e/framework/log
2019-06-18 16:36:46 -07:00
Kubernetes Prow Robot
155f4a649b
Merge pull request #76968 from egernst/podspec-overhead
pod-overhead: add Overhead to PodSpec and RuntimeClass
2019-06-18 16:36:33 -07:00
Kubernetes Prow Robot
12ff2fe3f5
Merge pull request #78887 from joshmsamuels/master
Inverted error handling to ensure server-side apply does not fall bac…
2019-06-18 10:10:21 -07:00
Eric Ernst
5e09568c8e pod-overhead: autogenerated code updates
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Eric Ernst
ec8ef0df20 pod overhead: drop from RuntimeClass base on feature-gate
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Eric Ernst
2c52cc3412 pod-overhead: add Overhead to RuntimeClass internal type
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Eric Ernst
bcb046a443 pod-overhead: add Overhead to RuntimeClass
Co-authored-by: Tim Allclair <tallclair@google.com>
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Eric Ernst
33713087f4 pod-overhead: drop from PodSpec based on feature-gate
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Eric Ernst
d0b0c0ae45 pod-overhead: add Overhead to PodSpec internal type
Update internal PodSpec to make use of Overhead field. Add validation
and validation tests.

Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Eric Ernst
558477455c pod-overhead: add Overhead to PodSpec
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Eric Ernst
fc312d4529 pod-overhead: Introduce PodOverhead feature gate
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Kubernetes Prow Robot
0e499be526
Merge pull request #78687 from pohly/WaitForPodsWithLabelRunningReady
e2e: fix return value of WaitForPodsWithLabelRunningReady
2019-06-18 08:04:22 -07:00
Kubernetes Prow Robot
9988239125
Merge pull request #79011 from cwdsuzhou/June/remove_useless_returned_value
Remove returned value of func handleCreateEvent
2019-06-18 06:04:20 -07:00