- 03 Feb, 2019 1 commit
-
-
Clayton Coleman authored
When we originally added YAML guessing we had a reasonable concern that we might get it wrong and need debugging. In the last 4 years we have not yet had such a case, and v(4) often shows up in operator style logs when it adds nothing. Remove the lines.
-
- 02 Feb, 2019 12 commits
-
-
Kubernetes Prow Robot authored
kubeadm: Introduce ValidateSupportedVersion
-
Kubernetes Prow Robot authored
Add unit test case for controller/disruption
-
Kubernetes Prow Robot authored
move AddToNodeAddresses to k8s.io/cloud-provider/node/helpers
-
Kubernetes Prow Robot authored
Graduate CustomPodDNS feature to GA
-
Kubernetes Prow Robot authored
exit kube-proxy when configuration file changes
-
Kubernetes Prow Robot authored
catch some unhandled errors
-
Kubernetes Prow Robot authored
move GCERegionalPersistentDisk feature to k8s.io/cloud-provider/features
-
Kubernetes Prow Robot authored
Fix node e2e localstorage eviction tests
-
Kubernetes Prow Robot authored
migrate the rest reference of pkg/util/exec to k8s.io/utils/exec
-
Kubernetes Prow Robot authored
allow re-usability of plugin handler
-
Kubernetes Prow Robot authored
Stop using beta apps versions
-
Kubernetes Prow Robot authored
Wait for post-hooks to run before checking the healthz output
-
- 01 Feb, 2019 27 commits
-
-
Kubernetes Prow Robot authored
Reduce hard code to avoid more mistakes
-
Kubernetes Prow Robot authored
Mark rules field as optional
-
Kubernetes Prow Robot authored
pkg/kubelet/cloudresource: fallback to old addresses if sync loop fails
-
Kubernetes Prow Robot authored
Use SSL health checks for ELBs when backend protocol is SSL/HTTPS
-
Kubernetes Prow Robot authored
clean code
-
juanvallejo authored
-
Anago GCB authored
-
David Eads authored
-
Andrew Kim authored
-
Andrew Kim authored
Co-authored-by:Weibin Lin <linweibin1@huawei.com>
-
Kubernetes Prow Robot authored
Document default value for enableServiceLinks
-
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>
-
Kubernetes Prow Robot authored
kubeadm: fix nil pointer dereference
-
Kubernetes Prow Robot authored
kubelet: remove unused parameter from runtime's SyncPod()
-
Kubernetes Prow Robot authored
Fix typo in create-heapster-node
-
Kubernetes Prow Robot authored
Limit scope and refactor config functions
-
Kubernetes Prow Robot authored
fix typo: writeable->writable
-
Kubernetes Prow Robot authored
fix priorityclass strategy comment
-
Kubernetes Prow Robot authored
remove GCE cloud provider dependency to pkg/master/ports
-
Kubernetes Prow Robot authored
Bump CoreDNS version to 1.3.1
-
Kubernetes Prow Robot authored
Add ps1 to windows executable extensions
-
Kubernetes Prow Robot authored
Added functionality for specifying target average value for object me…
-
Kubernetes Prow Robot authored
Move informer event handlers to scheduler
-
Brad Hoekstra authored
-
Ed Bartosh authored
If configuration file doesn't exist client variable is not assigned and causes kubeadm crash: $ sudo ./_output/bin/kubeadm reset [reset] Reading configuration from the cluster... [reset] FYI: You can look at this config file with 'kubectl -n kube-system get cm kubeadm-config -oyaml' panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0xf8 pc=0x108c9e7] goroutine 1 [running]: cmd/kubeadm/app/util/config.getInitConfigurationFromCluster(0x171109b, 0xf, 0x0, 0x0, 0xc0005b5a00, 0x3, 0x3, 0x69) cmd/kubeadm/app/util/config/cluster.go:93 +0x37 cmd/kubeadm/app/util/config.loadConfiguration(0x0, 0x0, 0x18d63a0, 0xc00000c018, 0x170620b, 0x5, 0x0, 0x0, 0x15d6000, 0x18d7601, ...) cmd/kubeadm/app/util/config/cluster.go:67 +0x374 k8s.io/kubernetes/cmd/kubeadm/app/util/config.FetchConfigFromFileOrCluster(0x0, 0x0, 0x18d63a0, 0xc00000c018, 0x170620b, 0x5, 0x0, 0x0, 0x497700, 0x18d63e0, ...) cmd/kubeadm/app/util/config/cluster.go:45 +0x9c k8s.io/kubernetes/cmd/kubeadm/app/cmd.resetDetectCRISocket(0x0, 0x0, 0x1, 0x0, 0x18d63e0, 0xc0003f0630) cmd/kubeadm/app/cmd/reset.go:304 +0x73 k8s.io/kubernetes/cmd/kubeadm/app/cmd.NewCmdReset.func1(0xc0002a6780, 0x26dd548, 0x0, 0x0) cmd/kubeadm/app/cmd/reset.go:71 +0x267 k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).execute(0xc0002a6780, 0x26dd548, 0x0, 0x0, 0xc0002a6780, 0x26dd548) vendor/github.com/spf13/cobra/command.go:760 +0x2cc k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc00019a000, 0xc000389180, 0xc00019a500, 0xc00057c1a0) vendor/github.com/spf13/cobra/command.go:846 +0x2fd k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).Execute(0xc00019a000, 0xc00000c010, 0x18d63a0) vendor/github.com/spf13/cobra/command.go:794 +0x2b k8s.io/kubernetes/cmd/kubeadm/app.Run(0xc000086180, 0x18b) cmd/kubeadm/app/kubeadm.go:48 +0x202 main.main() cmd/kubeadm/kubeadm.go:29 +0x33 Removing check for configuration file existence should fix the issue.
-
Kubernetes Prow Robot authored
make missing-directory errors non fatal
-
Kubernetes Prow Robot authored
Update to latest gophercloud
-