File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed
content/en/docs/tutorials/stateful-application Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -27,14 +27,25 @@ following Kubernetes concepts:
27
27
* [ Headless Services] ( /docs/concepts/services-networking/service/#headless-services )
28
28
* [ PersistentVolumes] ( /docs/concepts/storage/persistent-volumes/ )
29
29
* [ PersistentVolume Provisioning] ( https://github.com/kubernetes/examples/tree/master/staging/persistent-volume-provisioning/ )
30
- * [ StatefulSets] ( /docs/concepts/workloads/controllers/statefulset/ )
31
30
* The [ kubectl] ( /docs/reference/kubectl/kubectl/ ) command line tool
32
31
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
+
33
41
{{< note >}}
34
42
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
36
45
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.
38
49
{{< /note >}}
39
50
40
51
## {{% heading "objectives" %}}
You can’t perform that action at this time.
0 commit comments