DevOps

Gitlab-ce for Kubernets

Gitlab-ce for Kubernets

Gitlab-ce for Kubernets Clone project git clone https://github.com/vandocouto/Gitlab-ce cd Gitlab-ce Step by Step Step 1 – listing labels on nodes kubectl get nodes –show-labels NAME STATUS ROLES AGE VERSION LABELS kubernetes-1 Ready master 22d v1.12.2 beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/hostname=kubernetes-1,node-role.kubernetes.io/master= kubernetes-2 Ready node 22d

Monitorando ambiente com o Prometheus

Monitorando ambiente com o Prometheus

Resumo teórico: Primeiros passos Conceitos Básicos Configuração Armazenamento (Storage) Alertas Construindo o servidor Prometheus: Necessário que tenha conhecimento básicos de Docker Engine e Docker Compose. Baixando o projeto: git clone https://github.com/vandocouto/Docker-Prometheus-V2.2.1.git cd Docker-Prometheus-V2.2.1 Construindo as imagens: docker build -f build-prometheus/Dockerfile

Docker-Jenkins-LTS-2.107.2

Docker-Jenkins-LTS-2.107.2

Clone Project git clone https://github.com/vandocouto/Docker-Jenkins-LTS-2.107.2.git cd Docker-Jenkins-LTS-2.107.2.git Build Image Step 1 – ajust user and password Open file security.groovy vim build/security.groovy modify def user / def pass def user = “admin” def pass = “jenkins” Step 2 – Build imagem

Orquestrando um Cluster Swarm 17.12 em pouco minutos

Orquestrando um Cluster Swarm 17.12 em pouco minutos

  Clone do projeto $ https://github.com/vandocouto/docker-swarm-17.12.git Arquivo hosts (Ajuste os IP’s / Keypair) [docker-ce] master1 ansible_ssh_host=10.0.100 master2 ansible_ssh_host=10.0.100 master3 ansible_ssh_host=10.0.100 worker1 ansible_ssh_host=10.0.110 worker2 ansible_ssh_host=10.0.111 worker3 ansible_ssh_host=10.0.112 [swarm-master] master1 [swarm-manager] master2 master3 [swarm-worker] worker1 worker2 worker3 [all:children] docker-ce swarm-master swarm-manager swarm-worker