---
# System prepended metadata

title: Untitled

---


---


**TST358 - [Beta 3][NE1] Provisionamentodo novo rancher e projetos no NE1.**

Dependencias openstack:
    * Projetos openstack
        RBACs
        Redes
            SecGroups
        Routers
        Users/Groups
* magalucloud
    0: team-integration
    0: rancherd
    0: rancher-prod
    1: elasticsearch (logs)
    1: harbor
* ~~magalu~~ Done!!!!
    0: iaas-workloads-autoseg-customer-qa
    0: iaas-workloads-autoseg-customer-prod
    0: iaas-workload-k6

---

**[TST358] Provisionar rancherd**:
* Criar VM - Done
* Instalar RKE2 - Done
    * Referencia: https://docs.rke2.io/install/quickstart/
```
        * curl -sfL https://get.rke2.io | sh -
        * systemctl enable rke2-server.service
        * systemctl start rke2-server.service
        * journalctl -u rke2-server -f
        * echo "export KUBECONFIG=/etc/rancher/rke2/rke2.yaml" >> /root/.bashrc && echo "export PATH=$PATH:$echo$(find /var/lib/rancher/rke2/data/ -iname kubectl|sed -r 's/kubectl//')" >> /root/.bashrc && source /root/.bashrc
```
* Instalar rancher - Done
```
helm repo add
helm repo update
kubectl create ns cattle-system

helm upgrade --install rancher rancher-latest/rancher --namespace cattle-system  --set replicas=1 --set rancherImageTag=v2.6.9 --set hostname=rancherd.br-ne-1.jaxyendy.com --set bootstrapPassword=ML_P@ssw0rd --set ingress.tls.source=br-ne-1-jaxyendy --set auditLog.level=1 --set 'extraEnv[0].name=CATTLE_FEATURES' --set 'extraEnv[0].value=multi-cluster-management=true,unsupported-storage-drivers=true'

kubectl get logs -f -l app=rancher -n cattle-system -c rancher
```
* Instalar certificados - Done
    * Secret name:
        * br-ne-1-jaxyendy
* Re-add FIPS - Done
    *    config openstack:
```
    *  openstack floating ip create --description "yada" --floating-ip-address x.x.x.x --project ID public
```
* config svc k8s:
```
        annotations:
            loadbalancer.openstack.org/keep-floatingip: "true"
        spec:
            loadBalancerIP: IP
```
* Recriar todos os DNS (rancher e argo) - Done
* argocd - Done

---

**[TST358] Provisionar rancher-prod** (ta no repo 50% do caminho) - Done
* Instalar rancher - Done
* Instalar certificados - Done
* Re-add FIPS - Done
* Recriar todos os DNS (rancher e argo) - Done
* argocd - Done

---

**[TST358] Provisionar projeto OpenStack e K8s de team-integration e seus serviços**
* argo team-integration (adriano e sidnei) - Done
* argo team-kafka-integration (adriano e sidnei) - Done
* banco (sidnei)
    * criar a vm pg-test pra servidr de bastion pro ansible
* kafka (sidnei)
* kong (adriano) - Done
* prometheus (adriano) - Done
* logging (adriano) - Done
