Package Details: kubeadm 1.18.6-1

Git Clone URL: https://aur.archlinux.org/kubernetes.git (read-only, click to copy)
Package Base: kubernetes
Description: Kubernetes Cluster Bootstrapping Tool
Upstream URL: http://kubernetes.io/
Licenses: Apache
Submitter: irtimmer
Maintainer: irtimmer
Last Packager: irtimmer
Votes: 50
Popularity: 0.122309
First Submitted: 2015-05-29 17:48
Last Updated: 2020-07-26 11:46

Pinned Comments

irtimmer commented on 2019-08-21 20:20

NOTICE: Since version 1.15.3 this package(s) only provides the required bits to setup a cluster using kubeadm (similiar to the debs/rpms provided by the upstream project) as documentation about setting up a cluster from scratch has removed and provided systemd services were out-of-date. Also there is now only 4GB of ram required to build the package.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

12101111 commented on 2020-07-15 11:37

I got this error when join a cluster:

[failed to find plugin "calico" in path [/usr/lib/cni]]

Deleting kubelet.default fix this issue.

ayekat commented on 2020-05-26 07:37

I'm currently running into this error:

==> Starting build()...
+++ [0526 09:29:39] Building go targets for linux/amd64:
    ./vendor/k8s.io/code-generator/cmd/defaulter-gen
+++ [0526 09:29:39] Building go targets for linux/amd64:
    ./vendor/k8s.io/code-generator/cmd/deepcopy-gen
+++ [0526 09:29:39] Building go targets for linux/amd64:
    ./vendor/github.com/go-bindata/go-bindata/go-bindata
+++ [0526 09:29:39] Building go targets for linux/amd64:
    ./vendor/k8s.io/kube-openapi/cmd/openapi-gen
+++ [0526 09:29:39] Building go targets for linux/amd64:
    ./vendor/k8s.io/code-generator/cmd/conversion-gen
warning: ignoring symlink /home/ayekat/.local/src/kubernetes_aur/src/_output/local/go/src/k8s.io/kubernetes
go: warning: "k8s.io/kubernetes/vendor/github.com/go-bindata/go-bindata/..." matched no packages
touch: cannot touch '_output/bin/defaulter-gen': No such file or directory
make[1]: *** [Makefile.generated_files:295: _output/bin/defaulter-gen] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:544: generated_files] Error 2
==> ERROR: A failure occurred in build().

According to https://github.com/kubernetes/kubernetes/issues/89675#issuecomment-612522019, one has to apply this change:

Then rebuilding with makepkg -e works. A patch would of course be more elegant.

--edit, 2020-07-06: With 1.18.5, this no longer appears to be an issue.

--edit, 2020-07-27: With 1.18.6, this is again an issue.

newsboost commented on 2019-09-21 11:10

Thanks ayekat for the help/explanation! I'm slowly learning kubernetes in my sparetime incl the difference between kubectl, kubeadm and kubelet (work in progress), I might try with go 1.12 later, when I have more time than now...

ayekat commented on 2019-09-20 21:22

@newsboost: Kubernetes currently does not build with Go 1.13. Try buiding with Go 1.12 for the time being.

Also, some component of Go has the very annoying habit of creating directory structures read-only if it fails halfway through. One workaround is to recursively add back write permissions with chmod -R u+w … before trying to delete them.

--edit: Also, kubectl is not the same as kubeadm and kubelet. There's a reason this one here exists (and you attempted to build it, I assume?)

newsboost commented on 2019-09-19 01:29

Not sure if I misunderstood anything, but I cannot install - see errors/output: https://pastebin.com/jqZbtQYa (I get errors during install, e.g. "go/build: importGo k8s.io/kubernetes: exit status 1 can't load package: package k8s.io/kubernetes: cannot find module providing package k8s.io/kubernetes", "can't load package: package k8s.io/kubernetes/vendor/k8s.io/code-generator/cmd/deepcopy-gen: no matching versions for query "latest"", "!!! [0919 03:19:53] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...) make[1]: [Makefile.generated_files:200: _output/bin/deepcopy-gen] Error 1", "can't load package: package k8s.io/kubernetes/vendor/k8s.io/code-generator/cmd/defaulter-gen: no matching versions for query "latest"", "make: [Makefile:557: generated_files] Error 2" and it ends with ""==> ERROR: A failure occurred in build(). Aborting... Error making: kubernetes (kubelet)") - if I try again, I get:

190812203447-cdfb69ac37fc/http/httpproxy/go19_test.go': Permission denied
rm: cannot remove '/home/martin/.cache/yay/kubernetes/src/_output/local/go/pkg/mod/golang.org/x/net@v0.0.0-20190812203447-cdfb69ac37fc/http/httpproxy/export_test.go': Permission denied
rm: cannot remove '/home/martin/.cache/yay/kubernetes/src/_output/local/go/pkg/mod/golang.org/x/net@v0.0.0-20190812203447-cdfb69ac37fc/.gitignore': Permission denied
rm: cannot remove '/home/martin/.cache/yay/kubernetes/src/_output/local/go/pkg/mod/golang.org/x/net@v0.0.0-20190812203447-cdfb69ac37fc/netutil/listen.go': Permission denied
rm: cannot remove '/home/martin/.cache/yay/kubernetes/src/_output/local/go/pkg/mod/golang.org/x/net@v0.0.0-20190812203447-cdfb69ac37fc/netutil/listen_test.go': Permission denied
rm: cannot remove '/home/martin/.cache/yay/kubernetes/src/_output/local/go/pkg/mod/golang.org/x/net@v0.0.0-20190812203447-cdfb69ac37fc/CONTRIBUTORS': Permission denied

==> ERROR: An unknown error has occurred. Exiting...
Error making: kubernetes (kubelet)

I'll try "pacman -S cubectl" instead...

irtimmer commented on 2019-08-21 20:20

NOTICE: Since version 1.15.3 this package(s) only provides the required bits to setup a cluster using kubeadm (similiar to the debs/rpms provided by the upstream project) as documentation about setting up a cluster from scratch has removed and provided systemd services were out-of-date. Also there is now only 4GB of ram required to build the package.

annguyenfoss commented on 2019-08-12 10:11

Anyone knows why this package is orphaned now? I can adopt and update it, but I need to know the root cause. Thanks

@irtimmer: Can you please help me out?

zrhoffman commented on 2019-06-23 23:26

The kubernetes AUR package conflicts with community/kubectl.

NonerKao commented on 2019-01-11 09:26

I have done a patch to trim this package at: https://github.com/NonerKao/aur-kubernetes

With my patch, one can build the package without too much pain using the zram tricks easily, install, and then

# kubeadm init ... (according to your custom settings here)

DO NOT start kubelet service until kubeadm starts to complain about the health of :10248. This flow turns out to be perfect for me.

I am also considering expanding the wiki page. Details here: https://wiki.archlinux.org/index.php/Talk:Kubernetes

NonerKao commented on 2019-01-10 03:19

Thanks to @tunggad, the comment is extremely helpful. Verified 1.13.1.