How do you use provision a centOS vm on spinnaker? - centos

Out of the box spinnaker does not come with centOS as an option when creating a pipeline. How do you make centOS an option and complete both the bake and deploy steps?

i had this same issue. after digging around i found that you actually have to edit the Rosco config.
https://github.com/spinnaker/rosco/blob/master/rosco-web/config/rosco.yml
you'll need to make your own entry. i also found that even after adding a centos base image, packer still had problems w/ RPM because of the install_packages.sh provisioning script. its missing RPM support in the AMI Spinnaker says to use in its documentation. the one im using is here...
https://github.com/spinnaker/rosco/blob/master/rosco-web/config/packer/install_packages.sh

Related

Install kubernetes on debian stretch server without systemd

I am trying to install Kubernetes on Debian 9 (stretch) server, which is on cloud and therefore can't do virtualization. And it doesn't have systemd. Also, I'm trying for really minimal configuration, not big cluster.
I've found Minikube, https://docs.gitlab.com/charts/development/minikube/index.html which is supposed to run without virtualization using docker, but it requires systemd, as mentioned here https://github.com/kubernetes/minikube/issues/2704 (and yes I get the related error message).
I also found k3s, https://github.com/rancher/k3s which can run either on systemd or openrc, but when I install openrc using https://wiki.debian.org/OpenRC I don't have the "net" service it depends on.
Then I found microk8s, https://microk8s.io/ which needs systemd simply because snapd needs systemd.
Is there some other alternative or solution to mentioned problems? Or did Poettering already bribed everyone?
Since you are well off the beaten path, you can probably just run things by hand with k3s. It's a single executable AFAIK. See https://github.com/rancher/k3s#manual-download as a simple starting point. You will eventually want some kind of service monitor to restart things if they crash, if not systemd then perhaps Upstart (which is not packaged for Deb9) or Runit (which itself usually runs under supervision).

Install Kubernetes on Red Hat Linux (RHEL 7)

I am trying to install Kubernetes on Red Hat Linux (RHEL 7) . Any advice on the best and easiest way to do this ? I would not like to use minikube. Thank you very much
kubeadm is the way to go for installing kubernetes on RHEL. Though in alpha, it works for most of the use cases.
You can find the installation instructions on the kubeadm installation page and steps to use it on the using kubeadm page.
Best and easy is in the eye of the beholder, but maybe you want to review the install options I tried to describe and categorize in the post Kubernetes: A Little Guide to Install Options against your requirements?
this link [https://www.linuxtechi.com/install-kubernetes-1-7-centos7-rhel7/ ] will help you.
1).there is some dependency of Kubernetes make sure that you use docker-engine 1.13.0 (tested).
2).write swapoff -a in your .bashrc file to off swap memory.
3).setup the firewall rules accordingly.
Happy Learning :)..
KubeSpray !
Gives you the ability to install addons as well on baremetal and in the cloud and is highly customizable because its all Ansible based.
Initially you just populate the inventory file and choose the options that you want in the variable files and thats it.
The ansible playbook does all the rest for you. And if you want to scale up, there is a playbook for that too.

can't find openstack plugins for collectd

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

Xen on Centos 7

I am a newbie to Xen and want to download it on my machine which currently has CentOS7. I have been researching and experimenting for a couple of days but can't seem to find a straightforward answer on how to install a fully functioning Xen on CentOS7. I tried using the workaround at http://www.lairdscomputer.com/Blog/tabid/62/EntryId/74/Installing-Xen-4-on-Centos-7.aspx, but it seems that some of the packages it uses might be outdated.
Is it even possible to install Xen on CentOS7, even if it is missing some parts to it? Would it be better just to go back to CentOS6.x so that I can install Xen4CentOS?
Thanks in advance! Any advice is appreciated!
Afaik RedHat therefore CentOS is not supporting Xen whoever in fact it is possible.
I am using xen4centos on my Centos7 server, it was installed along with official article from wiki:
https://wiki.centos.org/HowTos/Xen/Xen4QuickStart
It it is not, please provide some logs, errors etc

Update Centos Machine 5.10 to 6.5

I want to update my dedicate Centos Machine, which installed WHM. I want to know that if I do update the OS, there any changes on WHM. Like any default Setting changed? or any other Problems.
So please suggest me that right way of update Centos without any problems, because many websites hosted on this Server.
Thanks
Pankaj Gupta
Pankaj, because there are many changes in a major CentOS release you cannot upgrade from 5.10 to 6.5. You need to put together a migration plan. First install CentOS 6.5 on another server, configure httpd and php/passenger/whichever and test that each hosted website is working properly. Then you can reinstall and reconfigure everything.
Give CentOS 7 a try.
Upgrading is not possible and even if you try around doing some search you will end up wasting lot of time by fixing the dependency related errors etc. So its always better and safe to do a fresh install of CentOS 6.5 and then migrate the sites.