Skip to content

Commit cab22c4

Browse files
author
Tim Bannister
committed
Revise tutorial introduction
1 parent 08e0d63 commit cab22c4

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

content/en/docs/tutorials/stateful-application/basic-stateful-set.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,25 @@ following Kubernetes concepts:
2727
* [Headless Services](/docs/concepts/services-networking/service/#headless-services)
2828
* [PersistentVolumes](/docs/concepts/storage/persistent-volumes/)
2929
* [PersistentVolume Provisioning](https://github.com/kubernetes/examples/tree/master/staging/persistent-volume-provisioning/)
30-
* [StatefulSets](/docs/concepts/workloads/controllers/statefulset/)
3130
* The [kubectl](/docs/reference/kubectl/kubectl/) command line tool
3231

32+
{{% include "task-tutorial-prereqs.md" %}}
33+
You should configure `kubectl` to use a context that uses the `default`
34+
namespace.
35+
If you are using an existing cluster, make sure that it's OK to use that
36+
cluster's default namespace to practice. Ideally, practice in a cluster
37+
that doesn't run any real workloads.
38+
39+
It's also useful to read the concept page about [StatefulSets](/docs/concepts/workloads/controllers/statefulset/).
40+
3341
{{< note >}}
3442
This tutorial assumes that your cluster is configured to dynamically provision
35-
PersistentVolumes. If your cluster is not configured to do so, you
43+
PersistentVolumes. You'll also need to have a [default StorageClass](/docs/concepts/storage/storage-classes/#default-storageclass).
44+
If your cluster is not configured to provision storage dynamically, you
3645
will have to manually provision two 1 GiB volumes prior to starting this
37-
tutorial.
46+
tutorial and
47+
set up your cluster so that those PersistentVolumes map to the
48+
PersistentVolumeClaim templates that the StatefulSet defines.
3849
{{< /note >}}
3950

4051
## {{% heading "objectives" %}}

0 commit comments

Comments
 (0)