<commit_before># Install SQLFlow Playground on Your Kubernetes Cluster

This is a tutorial on how to install SQLFlow playground on your Kubernetes, this tutorial includes two sections:

- [Install SQLFlow playground with single-user mode](#install-sqlflow-with-single-user).
- [Install SQLFlow playground with multi-users mode](#install-sqlflow-with-multi-users).

Before starting any sections, please [Setup Minikube and Argo](#setup-minikube-and-argo) first.

## Setup Minikube and Argo

1. [install Minikube](https://kubernetes.io/docs/tasks/tools/install-minikube/) on your laptop.
1. Install Argo

    ``` bash
    kubectl create namespace argo
    kubectl apply -n argo -f https://raw.githubusercontent.com/argoproj/argo/v2.7.7/manifests/install.yaml
    ```

1. Access the Argo UI

    ``` bash
    kubectl -n argo port-forward deployment/argo-ui 8001:8001
    ```

    Then visit: `http://127.0.0.1:8001`

## Install SQLFlow Playground with single-user Mode

On the single-user mode, we would install a MySQL server, a SQLFlow server with Jupyter Notebook as GUI on your Kubernetes cluster:

1. Run the following command to install SQLFlow and its dependencies:

    ``` bash<commit_msg>Correct Argo UI port (#2372)<commit_after># Install SQLFlow Playground on Your Kubernetes Cluster

This is a tutorial on how to install SQLFlow playground on your Kubernetes, this tutorial includes two sections:

- [Install SQLFlow playground with single-user mode](#install-sqlflow-with-single-user).
- [Install SQLFlow playground with multi-users mode](#install-sqlflow-with-multi-users).

Before starting any sections, please [Setup Minikube and Argo](#setup-minikube-and-argo) first.

## Setup Minikube and Argo

1. [install Minikube](https://kubernetes.io/docs/tasks/tools/install-minikube/) on your laptop.
1. Install Argo

    ``` bash
    kubectl create namespace argo
    kubectl apply -n argo -f https://raw.githubusercontent.com/argoproj/argo/v2.7.7/manifests/install.yaml
    ```

1. Access the Argo UI

    ``` bash
    kubectl -n argo port-forward deployment/argo-server 2746:2746
    ```

    Then visit: `http://127.0.0.1:2746`

## Install SQLFlow Playground with single-user Mode

On the single-user mode, we would install a MySQL server, a SQLFlow server with Jupyter Notebook as GUI on your Kubernetes cluster:

1. Run the following command to install SQLFlow and its dependencies:

    ``` bash
{'fraction_non_alphanumeric': 0.0958904109589041, 'fraction_numerical': 0.0224159402241594, 'mean_word_length': 3.948665297741273, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1266338', 'n_tokens_mistral': 777, 'n_tokens_neox': 709, 'n_words': 257}