- 01 Feb, 2019 1 commit
-
-
Rostislav M. Georgiev authored
DetectUnsupportedVersion is somewhat uncomfortable, complex and inefficient function to use. It takes an entire YAML document as bytes, splits it up to byte slices of the different YAML sub-documents and group-version-kinds and searches through those to detect an unsupported kubeadm config. If such config is detected, the function returns an error, if it is not (i.e. the normal function operation) everything done so far is discarded. This could have been acceptable, if not the fact, that in all cases that this function is called, the YAML document bytes are split up and an iteration on GVK map is performed yet again. Hence, we don't need DetectUnsupportedVersion in its current form as it's inefficient, complex and takes only YAML document bytes. This change replaces DetectUnsupportedVersion with ValidateSupportedVersion, which takes a GroupVersion argument and checks if it is on the list of unsupported config versions. In that case an error is returned. ValidateSupportedVersion relies on the caller to read and split the YAML document and then iterate on its GVK map checking if the particular GroupVersion is supported or not. Signed-off-by:Rostislav M. Georgiev <rostislavg@vmware.com>
-
- 29 Jan, 2019 23 commits
-
-
Kubernetes Prow Robot authored
Add docs around importing auth plugins
-
Kubernetes Prow Robot authored
tests: Makes UDP testing command more Windows friendly
-
Anago GCB authored
-
Kubernetes Prow Robot authored
Tune suggested master disk sizes for big clusters.
-
Matt Matejczyk authored
Looks like the get-master-root-disk-size() and get-master-disk-size() functions didn't anticipate clusters bigger than 2K nodes. In https://github.com/kubernetes/kubernetes/issues/72976 we found out that 100GB may be not enough for large clusters (5K nodes) when it comes to master root disk size. Updating both get-master-root-disk-size() and get-master-disk-size() to make them consistent and match cluster sizes with get-master-size() function.
-
Kubernetes Prow Robot authored
Use read lock for scheduler_binder_cache GetDecisions
-
Kubernetes Prow Robot authored
fix shellcheck in k8s.io/apiserver
-
Kubernetes Prow Robot authored
Fix golint failures
-
Kubernetes Prow Robot authored
fix shellcheck in sample-controller
-
Kubernetes Prow Robot authored
Re-Organize the pkutil library
-
Kubernetes Prow Robot authored
Adding the storage version hash to the discovery API
-
Kubernetes Prow Robot authored
Added micahhausler as approver for AWS cloud provider
-
Kubernetes Prow Robot authored
apimachinery/wait: add context-aware helpers
-
Kubernetes Prow Robot authored
Cleanup callers of deprecated functions in volume/util
-
Kubernetes Prow Robot authored
Fix admission metrics in true units
-
Kubernetes Prow Robot authored
fix golint failure for pkg/controller/deployment/util
-
Kubernetes Prow Robot authored
Remove explicit nil initialization and correct error string.
-
Kubernetes Prow Robot authored
Make pod eviction trigger graceful deletion to match deletion via API
-
Kubernetes Prow Robot authored
Add e2e test for services with no endpoints
-
Kubernetes Prow Robot authored
Fix volumes e2e test to check fsType
-
Kubernetes Prow Robot authored
increase the memory limits to max
-
Kubernetes Prow Robot authored
fix scheduler_perf integration test fails
-
Kubernetes Prow Robot authored
Fix typos
-
- 28 Jan, 2019 3 commits
- 27 Jan, 2019 2 commits
-
-
Kubernetes Prow Robot authored
test/e2e/framework: fix external/internal typo err in GetNodeInternalIP
-
Kubernetes Prow Robot authored
kubeadm: fix a couple of problems related to initData/joinData
-
- 26 Jan, 2019 11 commits
-
-
Kubernetes Prow Robot authored
Move import-restrictions.yaml to staging/publishing
-
Eric Paris authored
-
Ted Yu authored
-
Kubernetes Prow Robot authored
publishing: bump go version to 1.10.8 for release-1.12
-
Nikhita Raghunath authored
-
Dr. Stefan Schimanski authored
-
Vallery Lancey authored
-
Lubomir I. Ivanov authored
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.
-
Kubernetes Prow Robot authored
Never skip multi-node conformance tests (instead just fail).
-
yanghaichao12 authored
-
Kubernetes Prow Robot authored
Only attempt to register cloud nodes on update with the cloud taint
-