Search code examples
kubernetesinstallationrpmfedora-29

RPMs for Kubernetes do not exist anymore on https://packages.cloud.google.com/


After following the Kubernetes installation guide I found than all the RPMS were removed from the YUM repository https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64/Packages. However, on the release notes page you can see the links to binaries but not RPMs (for example: https://dl.k8s.io/v1.18.0/kubernetes-server-linux-amd64.tar.gz).

Can someone point me to the location of the RPMs? I'm aware Fedora comes with their own RPMS but these are older compared to the ones offered from the website (For example, Fedora 29 offers 1.10 while the website offers 1.18).

Thanks in advance.

--Jose


Solution

  • For completeness, I decided to post how to get the RPMS using DNF:

    sudo  dnf install kubelet kubeadm kubectl --disableexcludes=kubernetes -v --downloaddir=/tmp/k8s --downloadonly
    
    Dependencies resolved.
    Excludes in repo kubernetes: kubeadm, kubectl, kubelet
    ===========================================================================================================================================================================================================
     Package                                                   Arch                                      Version                                           Repository                                     Size
    ===========================================================================================================================================================================================================
    Installing:
     kubeadm                                                   x86_64                                    1.19.2-0                                          kubernetes                                    8.3 M
     kubectl                                                   x86_64                                    1.19.2-0                                          kubernetes                                    9.0 M
     kubelet                                                   x86_64                                    1.19.2-0                                          kubernetes                                     19 M
    Installing dependencies:
     cri-tools                                                 x86_64                                    1.13.0-0                                          kubernetes                                    5.1 M
     kubernetes-cni                                            x86_64                                    0.8.7-0                                           kubernetes                                     19 M
     conntrack-tools                                           x86_64                                    1.4.4-8.fc29                                      strike-os                                     200 k
     ebtables                                                  x86_64                                    2.0.10-28.fc29                                    strike-os                                     132 k
     libnetfilter_cthelper                                     x86_64                                    1.0.0-14.fc29                                     strike-os                                      22 k
     libnetfilter_cttimeout                                    x86_64                                    1.0.0-12.fc29                                     strike-os                                      22 k
     libnetfilter_queue                                        x86_64                                    1.0.2-12.fc29                                     strike-os                                      26 k
    
    Transaction Summary
    ===========================================================================================================================================================================================================
    Install  10 Packages
    
    Total size: 61 M
    Installed size: 261 M
    DNF will only download packages for the transaction.
    Is this ok [y/N]:
    

    The rpms will be waiting for you on /tmp/k8s