Search Criteria
Package Details: kubectl-bin 1.32.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/kubectl-bin.git (read-only, click to copy) |
---|---|
Package Base: | kubectl-bin |
Description: | Kubernetes.io kubectl binary |
Upstream URL: | http://kubernetes.io |
Licenses: | Apache |
Conflicts: | kubectl |
Provides: | kubectl |
Submitter: | GeorgeRaven |
Maintainer: | GeorgeRaven |
Last Packager: | GeorgeRaven |
Votes: | 2 |
Popularity: | 0.000039 |
First Submitted: | 2022-09-30 21:42 (UTC) |
Last Updated: | 2025-01-30 10:33 (UTC) |
Dependencies (0)
Required by (74)
- azure-dev-cli (requires kubectl)
- ballerina (requires kubectl) (optional)
- capo-shell (requires kubectl)
- chart-testing (requires kubectl)
- clusterctl-bin (requires kubectl) (optional)
- devops-tools (requires kubectl)
- fission-bin (requires kubectl)
- google-cloud-cli-gke-gcloud-auth-plugin (requires kubectl)
- helm-2to3 (requires kubectl)
- helmsman (requires kubectl)
- i3blocks-contrib (requires kubectl) (optional)
- i3blocks-contrib-git (requires kubectl) (optional)
- k8sfw-daemon (requires kubectl)
- k8sfw-daemon-git (requires kubectl)
- k9s-flux (requires kubectl)
- k9s-openstack (requires kubectl)
- kafkactl (requires kubectl) (optional)
- karpor-bin (requires kubectl)
- kauthproxy (requires kubectl)
- kconnect (requires kubectl)
- kconnect-bin (requires kubectl)
- kind (requires kubectl)
- kpt-bin (requires kubectl)
- kss (requires kubectl)
- kube-commander (requires kubectl)
- kube-dump (requires kubectl)
- kube-fzf (requires kubectl)
- kube-pod-connect
- kube-prompt (requires kubectl)
- kube-prompt-git (requires kubectl)
- kube-ps1 (requires kubectl)
- kubecolor (requires kubectl)
- kubectl-argo-rollouts-bin (requires kubectl)
- kubectl-cnpg (requires kubectl)
- kubectl-crossplane-bin (requires kubectl)
- kubectl-kots-bin (requires kubectl)
- kubectl-minio-bin (requires kubectl)
- kubectl-neat (requires kubectl)
- kubectl-neat-diff (requires kubectl)
- kubectl-pgo (requires kubectl)
- kubectl-split-yaml (requires kubectl)
- kubectl-tree (requires kubectl)
- kubectl-unused-volumes (requires kubectl)
- kubectl-view-secret-bin (requires kubectl)
- kubectl-view-secret-git (requires kubectl)
- kubectl-who-can (requires kubectl)
- kubectx-bash (requires kubectl)
- kubedecode-git (requires kubectl)
- kubedee (requires kubectl)
- kubedee-git (requires kubectl)
- kubelogin (requires kubectl)
- kubergrunt (requires kubectl) (optional)
- kubetail (requires kubectl)
- kui-bin (requires kubectl)
- lens (requires kubectl) (optional)
- liquidprompt (requires kubectl) (optional)
- litmusctl (requires kubectl)
- microshift-bin (requires kubectl)
- minikube-bin-aliyun (requires kubectl) (optional)
- minikube-git (requires kubectl) (optional)
- octant (requires kubectl)
- okteto (requires kubectl) (optional)
- okteto-beta (requires kubectl) (optional)
- okteto-beta-bin (requires kubectl) (optional)
- okteto-bin (requires kubectl) (optional)
- okteto-git (requires kubectl) (optional)
- skaffold-bin (requires kubectl) (optional)
- skaffold-git (requires kubectl) (optional)
- sonobuoy (requires kubectl) (optional)
- tanka-bin (requires kubectl)
- tanka-git (requires kubectl)
- telepresence (requires kubectl)
- velero (requires kubectl)
- velero-bin (requires kubectl)
Latest Comments
vitaliikuzhdin commented on 2025-02-11 00:06 (UTC) (edited on 2025-02-11 00:10 (UTC) by vitaliikuzhdin)
@GeorgeRaven, you're correct that
updpkgsums
works for arch-specific sources and even supportsPKGBUILD
s which have multiple hash algorithms present at once. While not as relevant in this specific case, it's worth noting that if you want to change the type of hashes used, you can manually replace every instance of, say,b2
withsha512
, and the next run ofupdpkgsums
will update the array contents accordingly.I initially directed you to speedtest-go-bin due to its support for numerous architectures. However, a more relevant example might be protoc-gen-go-bin or any of my recently updated packages. These include an
.nvchecker.toml
file, which enables version checking withpkgctl version check
and upgrading withpkgctl version upgrade
. This process updates both thepkgver
and the*sums*
arrays (checking the version before upgrading is optional). After this, I only need to update the.SRCINFO
and submit the commit.Regarding the
kubectl-bin
package itself, I realise we should have begun our discussion by addressing the presence of any issues. If the upstream binaries are known to have fewer problems, then the necessity of your package becomes apparent, at least temporarily. Of course, this assumes that the issue has been reported to the upstream developers or respective maintainers, as this workaround, while helpful, isn't a universal solution that should be necessary in the first place.GeorgeRaven commented on 2025-02-10 23:23 (UTC)
@vitaliikuzhdin Thank you, that is helpful information with regard to source_aarch64 and b2sums_aarch64.
I was aware of the Arch Linux arm differences in packaging, and how they had existing packages, however they did not always work consistently across my heterogenous Arch Linux Kubernetes clusters which I have been running for years. Admittedly, this had more to do with kubelet, kubeadm, and cni-plugins than kubectl since kubectl is only necessary on client machines, but I have since inherited all the associated packages. However, I will grant the landscape has changed since, making things more accessible, and potentially unnecessary, at least for kubectl.
May I ask, how are you keeping your speedtest-go-bin with its various checksums up to date? Does updpkgsums now work with multiple architectures?
vitaliikuzhdin commented on 2025-02-10 22:16 (UTC)
@GeorgeRaven, there is indeed an issue with the architectures. As you mentioned below, the hash sum check will be broken. One way to solve this is to use
source_x86_64=()
andb2sums_x86_64=()
forx86_64
-specific files (binaries in this case),source_aarch64=()
andb2sums_aarch64=()
foraarch64
-specific files, and so on. See the Arch Wiki link that I have sent below for more information. You can also find my implementation of this technique here, if needed.While the Arch Linux upstream does not provide multiarch packages as of now, people who use Arch Linux ARM do not use the repositories from Arch Linux. They have their own (almost) identical repositories, which do provide the same package, as I have linked below. For example, on both Arch Linux and Arch Linux ARM, you would need to execute
pacman -S kubectl
to install the package. There's no need to installbase-devel
, set up an AUR helper, or trust strangers on the internet. The official packages also install additional useful files like manpages and shell completions. Additionally, the binaries shipped with them are built with flags chosen best for Arch Linux:Don't get me wrong, I'm not trying to take your package away from you. It's just hard to see a point in you spending your time and effort maintaining this if there is always an official alternative which is better in every way. Personally, I've already had a few of my
-bin
packages deleted because the normal ones were in theextra
, so I guess this is a more or less standard practice (though Package Maintainers will have the final say, of course). In this case, I think we should not be asking ourselves "what's wrong with this package such that it deserves deletion" but rather "what's wrong with the official package such that it needs an unofficial alternative". I don't see any issues with the official one, and even if there are, you would just need to submit an issue for that to be fixed.I apologize if I'm under- or over-explaining some parts. I have no idea how different our levels of knowledge about Arch Linux are.
GeorgeRaven commented on 2025-02-10 21:16 (UTC)
@vitaliikuzhdin, thank you for your feedback, if you have a particular issue with installation or if it's not working out for you on other architectures please let me know.
I will agree to disagree, while other packages have changed, this still represents a multi-architecture variant whereas upstream does not. Again, if there is a specific issue with this, please let me know. Remember, not fitting your definition of useful does not preclude this package's existence, nor that of the even older packages that I have inherited for the same purpose.
Thank you for pointing out armv7l I will check and remove it if the is not being provided any more upstream.
vitaliikuzhdin commented on 2025-02-10 20:46 (UTC)
@GeorgeRaven,
The packages found in the official repositories are already installed as binaries; you do not need to compile anything yourself (unless, of course, you want to). Additionally, they often include Arch-specific patches/hacks not shipped by the upstream.
If the package is any different (it's not), it should not provide
kubectl
.The package does not support other architectures. Try executing
CARCH=aarch64 makepkg -s
. Hint: you can usesource_aarch64=()
andsha256sums_aarch64=()
architecture-specific arrays.It's odd that you mention Arch Linux ARM since kubectl already exists in its official repositories. Also, it does not have the
armv7l
architecture, so shipping it here is pointless.GeorgeRaven commented on 2025-02-10 17:36 (UTC)
@vitaliikuzhdin This is a binary package, packaged differently, and supports different architectures. If you are on archlinuxarm you will probably have an easier time here for instance.
vitaliikuzhdin commented on 2025-02-10 15:31 (UTC)
What is the point of this package? kubectl already exists in
extra
.GeorgeRaven commented on 2023-10-05 08:11 (UTC) (edited on 2023-10-05 08:12 (UTC) by GeorgeRaven)
@meijin I can see you are using the ARM build and the b2sum is failing validation, you will likely need to skip the b2sum/ checksum as it is a limitation of the new automation. In my new automation https://github.com/DreamingRaven/aur-packages I use updpkgsums to update the sums however it does not appear to work with multi-arch packages.
Until I find time for a good workaround please skip the sums for non x86_64 builds or until updpkgsums supports multi arch builds.
meijin commented on 2023-09-28 09:08 (UTC)
failing in build: