I've downloaded kubernetes binary release 1.4.1 and want to install it on my Centos 7 cluster. The official guide is based on "yum install ...".
Is there any guide/instruction show me how to install and configure k8s using a binary release?
Highly appreciate your help.
I was struggling with the same setup too. After hours of googling I decided to go the kubeadm way.
wget https://github.com/kubernetes/release/archive/master.zip
unzip master.zip
cd release-master/rpm && ./docker-build.sh
This produced three rpm packages of v1.4.3. After installing packages, simply run kubeadm init and that is all.
In addition, there is some nice documentation for CoreOS , I tried to follow this first, but then I got compatibility issues in configuration between CentOS and CoreOS. Hope this helps.
Related
I am trying to install GlusterFS on CentOS 8 Vmware workstation, i am on a bridged network but everytime i attempy to download it i get this messsage. Is there another way to do this or to fix this issue?
at time of this post Gluster 8 (https://www.gluster.org/release-schedule/) is the current maintained version. So to install it you would do
dnf -y install centos-release-gluster8
Please note that you can find other versions in the extras repository which, as you see above, is enabled.
I made a fresh install of gcloud for ubuntu as instructed here. I want to use the additional components offered by gcloud like kubectl and docker.
So, when I tried typing gcloud components install kubectl, I get an error saying that The component manager is disabled for this installation. Here is the full error message:
This is because you installed google-cloud-sdk with a package manager like apt-get or yum.
kubectl:
If you look here you can see how to install additional components. Basically sudo apt-get install kubectl.
If by docker you mean the docker-credential-gcr then I don't know if there's a way to install using a package manager, can't seem to find it. Perhaps ou can try the github repo. Mind you, you don't need this for commands like gcloud docker -- push gcr.io/your-project/your-image:version.
If you mean actual docker for building images and running them locally, that's standalone software which you need to install separately, instructions here.
Alternatively, you can uninstall google-cloud-sdk with apt-get and then reinstall with interactive installer, which will support the suggested gcloud components install *
I need to install a Kubernetes cluster in complete offline mode. I can follow all the instructions at http://kubernetes.io/docs/getting-started-guides/scratch/ and install from binaries but that seems like an involved setup. The installation using kubeadm is pretty easy but I don't see any docs on whether I can install the cluster by downloading the .deb packages locally.
Any pointers to that direction are much appreciated.
I don't think that anyone has documented this yet. The biggest thing needed is to get the right images pre-loaded on every machine in the cluster. After that things should just work.
There was some discussion of this in this PR: https://github.com/kubernetes/kubernetes/pull/36759.
If I had the bandwidth I'd implement a kubeadm list-images so we could do docker save $(kubeadm list-images) | gzip > kube-images.tar.gz. You could manually construct that list by reading code and such.
Can we install Kubernetes in a complete offline mode with kubeadm?
Yes, I've already set up several offline clusters (1.15.x) with ansible and kubeadm. Mainly you need to prepare the following things in a USB drive and bring it to your offline environment.
.deb/.rpm files to install ansible
.deb/.rpm files to install docker
.deb/.rpm files to install kubeadm, kubectl, kubelet
Docker images of kubernetes cluster (You can find that with kubeadm config images list)
Docker images of kubernetes addons (flannel/calico, dashboard, etc)
Your ansible playbooks
The installation steps are as follow:
Install ansible with dpkg or rpm (manully)
Install docker with dpkg or rpm (via ansible tasks)
Install kubeadm, kubectl, kubelet with dpkg or rpm (via ansible tasks)
docker load all the docker images (via ansible tasks)
Run kubeadm init and kubeadm join (via ansible tasks)
There may be lots of details here. Feel free to leave your comments.
In my deep dive into the CentOS terminal, I was able to install and setup Jira, Confluence, and Bitbucket servers. However, the Hipchat Server seems to be based on something completely different.
Is there a step by step guide to installing Hipchat; From what's needed (dependencies) to installing (which I'm not even sure is part of the process) to seeing it work (log-in, etc.)?
Atlassian's official guide is written in such a way, that I look at it confused - as if it's a riddle that will never be solved. lol
By HipChat4, I'm assuming you refer to the HipChat Client. If so, have you tried the instructions outlined here?
sudo bash -c ‘cat > /etc/yum.repos.d/hipchat.repo << EOF_hipchat
[atlassian-hipchat]
name=Atlassian Hipchat
baseurl=https://atlassian.artifactoryonline.com/atlassian/hipchat-yum-client/
enabled=1
gpgcheck=0
EOF_hipchat’
sudo yum update
sudo yum install hipchat4
If what you're trying to install is the server, then keep in mind that HipChat Server is only supported on AWS (via the Atlassian provided AMI), or as a VM for private datacenters (via the Atlassian provided OVA). You can't install HipChat Server directly on a Linux box.
If your OS can run a virtualization platform (e.g. VirtualBox) then you can download the OVA from https://www.hipchat.com/server#get-hipchat-server, import it, start your VM and configure it. More thorough instructions are available here.
I'm working on a VM centos 6.6 on witch I installed collectd to gather metrics,
Everything is ok, but I want to edit some plugins to test collecting metrics from openstack that I've installed (single machine devstack)
I found this link
but the version was debian.
Is there an alternative solution to my problem?
I finally found ans answer for my question, due to fpm command that converts debian packages to rpm and vice versa.
Try to use this link: https://www.digitalocean.com/community/tutorials/how-to-use-fpm-to-easily-create-packages-in-multiple-formats
fondly