Skip to content

Feedback: Deploy a Python To-Do App with Flask, Kubernetes, and CockroachDB Cloud #22150

@kota2and3kan

Description

@kota2and3kan

Page: https://cockroachlabs.com/docs/cockroachcloud/deploy-a-python-to-do-app-with-flask-kubernetes-and-cockroachcloud.html

What is the reason for your feedback?

[ ] Missing the information I need

[ ] Too complicated

[ ] Out of date

[x] Something is broken

[ ] Other

Additional details

Hello Team,

In this documentation, the directory name flask-alchemy is used in several places.

However, according to the sample application repository, it seems that the correct directory name is flask-sqlalchemy.

$ git diff
diff --git a/src/current/cockroachcloud/deploy-a-python-to-do-app-with-flask-kubernetes-and-cockroachcloud.md b/src/current/cockroachcloud/deploy-a-python-to-do-app-with-flask-kubernetes-and-cockroachcloud.md
index 30317d885..51a1851a8 100644
--- a/src/current/cockroachcloud/deploy-a-python-to-do-app-with-flask-kubernetes-and-cockroachcloud.md
+++ b/src/current/cockroachcloud/deploy-a-python-to-do-app-with-flask-kubernetes-and-cockroachcloud.md
@@ -132,7 +132,7 @@ ### Step 1. Configure the sample Python app
     $ git clone https://github.com/cockroachdb/examples-python
     ~~~

-1. Navigate to the `flask-alchemy` folder:
+1. Navigate to the `flask-sqlalchemy` folder:

     {% include_cached copy-clipboard.html %}
     ~~~ shell
@@ -218,7 +218,7 @@ ### Step 2. Create a Kubernetes secret

 ### Step 3. Change certificate directory path in configuration file

-In the `hello.cfg` file in the `flask-alchemy` folder, replace the certificate directory path from the default location to `/data/certs` and save the file.
+In the `hello.cfg` file in the `flask-sqlalchemy` folder, replace the certificate directory path from the default location to `/data/certs` and save the file.

 {% include_cached copy-clipboard.html %}
 ~~~
@@ -276,7 +276,7 @@ ### Step 4. Create a container with the application

 ### Step 5. Deploy the application

-1. In the `flask-alchemy` folder, create a file named `app-deployment.yaml` and copy the following code into the file. Replace the `{username}` placeholder with the SQL user's username that you created [while preparing the cluster](#step-2-create-a-sql-user):
+1. In the `flask-sqlalchemy` folder, create a file named `app-deployment.yaml` and copy the following code into the file. Replace the `{username}` placeholder with the SQL user's username that you created [while preparing the cluster](#step-2-create-a-sql-user):

     {% include_cached copy-clipboard.html %}
     ~~~

Regards,

Jira issue: DOC-15848

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions