Skip to content

Instantly share code, notes, and snippets.

Avatar
🤓
learning

Marcio Dala Corte Fernandes marciodf

🤓
learning
View GitHub Profile
View Instalando Kubernetes DIY -Master
#/* ****************Master.sh **************** */
#/* bash Master.sh | tee ~/master.out
#!/bin/bash -x
## Abril 2020
echo "Ubuntu 18.04"
sleep 3
echo
echo "Disable swap until next reboot"
echo
sudo swapoff -a
@marciodf
marciodf / comandos.txt
Last active Apr 5, 2020
backup dos comandos linux
View comandos.txt
38 2018-08-14 09:27:23 yum info
39 2018-08-14 16:12:02 rpm -qa
40 2018-08-14 16:12:18 rpm -qa | grep spider
41 2018-08-14 16:12:27 rpm -qa | grep oak
42 2018-08-14 16:14:02 rpm -qa | grep semaphor
43 2018-08-14 16:14:10 rpm -qa | grep sem
44 2018-08-14 16:14:44 rpm -qa | grep Spi
45 2018-08-14 16:15:04 yum remove SpiderOakGroups
46 2018-08-14 16:15:58 systemctl --list-units
47 2018-08-14 16:16:03 systemctl list-units
@marciodf
marciodf / hosts
Last active Mar 25, 2020
Laboratorio OCP 3.11 backup - 1 master, 1 infra e 2 app nodes
View hosts
[OSEv3:children]
masters
nodes
etcd
glusterfs
[etcd]
master1.contoso.int openshift_public_hostname=master1.contoso.int
[masters]
View openshift-pre-req.md

Openshift prerequisites

Servers

1 Servidor (Master)

  • RHEL 7.6 minimal puro (sem customização);
  • 4 vCPUs;
  • 16 GB de memória;
  • Partição LVM separada para o /var com no mínimo 40GB;
@marciodf
marciodf / hosts
Last active Feb 11, 2019
inventario lab: 1 master e 2 app nodes
View hosts
[OSEv3:children]
masters
nodes
etcd
glusterfs
glusterfs_registry
[OSEv3:vars]
ansible_ssh_user=root