[root@prom1 ~]# useradd prometheus [root@prom1 ~]# su - prometheus [prometheus@prom1 ~]$ wget https://github.com/prometheus/node_exporter/releases/download/v0.14.0/node_exporter-0.14.0.linux-amd64.tar.gz [prometheus@prom1 ~]$ ls -l total 3928 -rw-rw-r--. 1 prometheus prometheus 4019675 Nov 26 02:42 node_exporter-0.14.0.linux-amd64.tar.gz [prometheus@prom1 ~]$ mkdir -p Prometheus/node_exporter [prometheus@prom1 ~]$ cd $_ [prometheus@prom1 node_exporter]$ [prometheus@prom1 node_exporter]$ tar xzf ../../node_exporter-0.14.0.linux-amd64.tar.gz [prometheus@prom1 node_exporter]$ logout [root@prom1 ~]# vim /etc/systemd/system/node_exporter.service # echo "[Unit] Description=Node Exporter … Continue reading hook up grafana with prometheus
Month: November 2017
installing consul
[root@instance-1 ~]# wget https://releases.hashicorp.com/consul/1.0.0/consul_1.0.0_linux_amd64.zip [root@instance-1 ~]# ls -l -rw-r--r--. 1 root root 10407455 Oct 16 16:36 consul_1.0.0_linux_amd64.zip [root@instance-1 ~]# yum install unzip -y [root@instance-1 ~]# unzip consul_1.0.0_linux_amd64.zip Archive: consul_1.0.0_linux_amd64.zip inflating: consul [root@instance-1 ~]# ls -l -rwxr-xr-x. 1 root root 42845786 Oct 16 16:30 consul -rw-r--r--. 1 root root 10407455 Oct 16 16:36 consul_1.0.0_linux_amd64.zip [root@instance-1 ~]# … Continue reading installing consul
kubernetes help pages
mohammedrafi@NOC-RAFI:~$ sudo kubectl kubectl controls the Kubernetes cluster manager. Find more information at https://github.com/kubernetes/kubernetes. Basic Commands (Beginner): create Create a resource by filename or stdin expose Take a replication controller, service, deployment or pod and expose it as a new Kubernetes Service run Run a particular image on the cluster run-container Run a particular image … Continue reading kubernetes help pages
