From e6ce40afb7a1895450733a620b538bbec103bbac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mois=C3=A9s=20Calzado?= Date: Tue, 2 Apr 2024 11:04:00 +0200 Subject: [PATCH] Delete docs folder --- doc/README.md | 4 -- doc/customizations-custom-service-account.md | 9 --- doc/root-migrate-to-kubernetes.md | 63 -------------------- 3 files changed, 76 deletions(-) delete mode 100644 doc/README.md delete mode 100644 doc/customizations-custom-service-account.md delete mode 100644 doc/root-migrate-to-kubernetes.md diff --git a/doc/README.md b/doc/README.md deleted file mode 100644 index 0f30a86..0000000 --- a/doc/README.md +++ /dev/null @@ -1,4 +0,0 @@ -# Documentation - -> **Important** -> The following documentation is deprecated and will eventually be migrated to [docs.carto.com](https://docs.carto.com/carto-self-hosted) diff --git a/doc/customizations-custom-service-account.md b/doc/customizations-custom-service-account.md deleted file mode 100644 index fe13480..0000000 --- a/doc/customizations-custom-service-account.md +++ /dev/null @@ -1,9 +0,0 @@ -## Custom Service Account - -CARTO deploys a dedicated infrastructure for every self hosted installation, including a Service Account key that is required to use some of the services deployed. - -If you prefer using your own GCP Service Account, please do the following prior to the Self Hosted installation: - -1. Create a dedicated Service Account for the CARTO Self Hosted. - -2. Contact CARTO support team and provide them the service account email. \ No newline at end of file diff --git a/doc/root-migrate-to-kubernetes.md b/doc/root-migrate-to-kubernetes.md deleted file mode 100644 index 70e253d..0000000 --- a/doc/root-migrate-to-kubernetes.md +++ /dev/null @@ -1,63 +0,0 @@ -## Migrate to Kubernetes - -To migrate your CARTO Self Hosted from Docker Compose installation to -[Kubernetes/Helm](https://github.com/CartoDB/carto-selfhosted-helm) you need to follow these steps: - -> :warning: Migration incurs in downtime. To minimize it, reduce the DNS TTL before starting the process - -### Preconditions - -- You have a running Self Hosted deployed with Docker Compose i.e using a Google Compute engine instance. -- You have configured external databases (Redis and PostgreSQL). -- You have a K8s cluster to deploy the new self hosted and credentials to deploy. -- You have received a new customer package from CARTO (with files for Kubernetes and for Docker). If you do not have them, please contact Support. - -### Steps - -1. [Update](#update) Docker installation to the latest release with the customer package received. - -2. Allow network connectivity from k8s nodes to your pre-existing databases. [i.e (Cloud SQL connection notes](https://github.com/CartoDB/carto-selfhosted/README.md#cloud-sql-connection-configuration)). - -3. Create a `customizations.yaml` following [this instructions](https://github.com/CartoDB/carto-selfhosted-helm/tree/main/customizations). Keep the same external database connection settings you are using in CARTO for Docker. [Postgres](https://github.com/CartoDB/carto-selfhosted-helm/tree/main/customizations#configure-external-postgres) and [Redis](https://github.com/CartoDB/carto-selfhosted-helm/tree/main/customizations#configure-external-redis). - - > :warning: NOTE: Do not trust the default values and fill all variables related to database connections, example: - - ```yaml - externalPostgresql: - host: "" - adminUser: postgres - adminPassword: - password: - database: workspace - user: workspace_admin - sslEnabled: true - internalPostgresql: - enabled: false - - internalRedis: - # Disable the internal Redis - enabled: false - externalRedis: - host: "yourRedisHost" - port: "6379" - password: " - tlsEnabled: false - ``` - - > Read also the instructions on how to [expose the Kubernetes](https://github.com/CartoDB/carto-selfhosted-helm/blob/main/customizations/README.md#access-to-carto-from-outside-the-cluster) installation to outside the cluster. - -4. Create a `customizations.yaml` following [these instructions](https://github.com/CartoDB/carto-selfhosted-helm/tree/main/customizations). Keep the same external database connection settings you are using in CARTO for Docker. [Postgres](https://github.com/CartoDB/carto-selfhosted-helm/tree/main/customizations#configure-external-postgres) and [Redis](https://github.com/CartoDB/carto-selfhosted-helm/tree/main/customizations#configure-external-redis). - -5. Shut down you CARTO for Docker installation: `docker-compose down`. - - > Once you execute this, the service is down. - -6. Deploy to your cluster. Follow the [installation steps](https://github.com/CartoDB/carto-selfhosted-helm#installation). - -7. Check pods are running and stable with `kubectl get pods <-n your_namespace>`. - -8. Change DNS records to point to the new service (`helm install` will point how to get the IP or DNS), it will take some time to propagate. - -9. Test your CARTO Self Hosted for Kubernetes installation. Service is restored. - -> If for whatever reason the installation did not go as planned. You can bring back the docker installation and point back your DNS to it. \ No newline at end of file