<commit_before># Automations, locks and annotations

In this tutorial we want to get a better feel for what we can do with
Flux. We won't spend too much time with getting it up and running, so let's
get that out of the way first.

In our example we are going to use the `flux-get-started` example deployment.
So as your first step, please head to [our example
deployment](https://github.com/fluxcd/flux-get-started) and click on the
"Fork" button.

## Setup

First, please [install `fluxctl`](../references/fluxctl.md).

Then, run (replace `YOURUSER` with your GitHub username):

```sh
export GHUSER="YOURUSER"
fluxctl install \
--git-user=${GHUSER} \
--git-email=${<EMAIL> \
--git-url=<EMAIL>:${GHUSER}/flux-get-started \
--git-paths=namespaces,workloads \
--namespace=flux | kubectl apply -f -
```

### Alternative: Using Helm for the setup

If you have never used Helm, you first need to

- Download/install Helm
- Set up Tiller. First create a service account and a cluster role binding
  for Tiller:

  ```sh
  kubectl -n kube-system create sa tiller
  kubectl create clusterrolebinding tiller-cluster-rule \
    --clusterrole=cluster-admin \
    --serviceaccount=kube-system:tiller
  ```

  Deploy Tiller in the `kube-system` namespace:
<commit_msg>Update driving-flux.md<commit_after># Automations, locks and annotations

In this tutorial we want to get a better feel for what we can do with
Flux. We won't spend too much time with getting it up and running, so let's
get that out of the way first.

In our example we are going to use the `flux-get-started` example deployment.
So as your first step, please head to [our example
deployment](https://github.com/fluxcd/flux-get-started) and click on the
"Fork" button.

## Setup

First, please [install `fluxctl`](../references/fluxctl.md).

Then, run (replace `YOURUSER` with your GitHub username):

```sh
export GHUSER="YOURUSER"
fluxctl install \
--git-user=${GHUSER} \
--git-email=${<EMAIL> \
--git-url=<EMAIL>:${GHUSER}/flux-get-started \
--git-path=namespaces,workloads \
--namespace=flux | kubectl apply -f -
```

### Alternative: Using Helm for the setup

If you have never used Helm, you first need to

- Download/install Helm
- Set up Tiller. First create a service account and a cluster role binding
  for Tiller:

  ```sh
  kubectl -n kube-system create sa tiller
  kubectl create clusterrolebinding tiller-cluster-rule \
    --clusterrole=cluster-admin \
    --serviceaccount=kube-system:tiller
  ```

  Deploy Tiller in the `kube-system` namespace:

{'fraction_non_alphanumeric': 0.11199364575059571, 'fraction_numerical': 0.0, 'mean_word_length': 3.881782945736434, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3603021', 'n_tokens_mistral': 841, 'n_tokens_neox': 791, 'n_words': 301}