Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Docs: fix namespace in kubectl logs example #2526

Merged
merged 1 commit into from
Oct 17, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions docs/tutorials/driving-flux.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ interact with the deployments. (It enables you to drive all of Flux, so have a l
at the resulting annotation changes and make the changes in Git. This is
GitOps after all. :-)

Tell fluxctl in which namespace is Flux installed
Tell fluxctl in which namespace is Flux installed:

```sh
export FLUX_FORWARD_NAMESPACE=flux
Expand All @@ -104,7 +104,7 @@ export FLUX_FORWARD_NAMESPACE=flux
To enable Flux to sync your config, you need to add the deployment key
to your fork.

Get your Flux deployment key by running
Get your Flux deployment key by running:

```sh
fluxctl identity
Expand All @@ -114,7 +114,7 @@ Copy/paste the key and add it to
`https://github.com/YOUR-USER-ID/flux-get-started/settings/keys/new` and
enable write access for it.

Wait for sync to happen or run
Wait for sync to happen or run:

```sh
fluxctl sync
Expand All @@ -124,15 +124,15 @@ fluxctl sync

After syncing, Flux will find out which workloads there are, which
images are available and what needs doing. To find out which workloads are
managed by Flux, run
managed by Flux, run:

```sh
fluxctl list-workloads -a
```

Notice that `podinfo` is on `v1.3.2` and in state `automated`.

To check which images are avaible for podinfo run
To check which images are avaible for podinfo run:

```sh
fluxctl list-images -w demo:deployment/podinfo
Expand Down Expand Up @@ -185,7 +185,7 @@ Again, wait for the sync to happen or run
fluxctl sync
```

To check which image is current, run
To check which image is current, run:

```sh
fluxctl list-images -w demo:deployment/podinfo
Expand All @@ -201,7 +201,7 @@ Lock deployment with a message describing why:
fluxctl lock -w demo:deployment/podinfo -m "1.4.2 does not work for us"
```

The resulting diff should look like this
The resulting diff should look like this:

```diff
--- a/workloads/podinfo-dep.yaml
Expand All @@ -224,7 +224,7 @@ Rollback to `1.4.1`. Flag `--force` is needed because the workload is locked:
fluxctl release --force --workload demo:deployment/podinfo -i stefanprodan/podinfo:1.4.1
```

The response should be
The response should be:

```sh
Submitting release ...
Expand Down Expand Up @@ -254,10 +254,10 @@ And that's it. At the end of this tutorial, you have automated, locked and
annotated deployments with Flux.

Another tip, if you should get stuck anywhere: check what Flux is doing. You
can do that by simply running
can do that by simply running:

```sh
kubectl logs -n default deploy/flux -f
kubectl logs -n flux deploy/flux -f
```

If you should have any questions, find us on Slack in the [#flux
Expand Down