doc: various small doc fixes
Change-Id: I257f1e2f24edb75f6e7dee27b466c25d5da4521f
diff --git a/doc/tutorial/kubernetes/README.md b/doc/tutorial/kubernetes/README.md
index 3cfd06f..8eee896 100644
--- a/doc/tutorial/kubernetes/README.md
+++ b/doc/tutorial/kubernetes/README.md
@@ -597,7 +597,7 @@
In this section we will look into generalizing the objects per directory.
-#### Directory `frontent`
+#### Directory `frontend`
We observe that all deployments in subdirectories of `frontend`
have a single container with one port,
@@ -1106,11 +1106,11 @@
For ports we define two simple maps from name to port number:
```
- // expose port defines named ports that is exposed in the service
- expose port <N>: int
+ // expose port defines named ports that is exposed in the service
+ expose port <N>: int
- // port defines a named port that is not exposed in the service.
- port <N>: int
+ // port defines a named port that is not exposed in the service.
+ port <N>: int
```
Both maps get defined in the container definition, but only `port` gets
included in the service definition.
@@ -1161,14 +1161,14 @@
// define services implied by deployments
service "\(k)": {
- // Copy over all ports exposed from containers.
- port "\(Name)": {
- port: Port | int
- targetPort: Port | int
- } for Name, Port in spec.expose.port
+ // Copy over all ports exposed from containers.
+ port "\(Name)": {
+ port: Port | int
+ targetPort: Port | int
+ } for Name, Port in spec.expose.port
- // Copy over the labels
- label: spec.label
+ // Copy over the labels
+ label: spec.label
} for k, spec in deployment
```
@@ -1212,8 +1212,8 @@
to write configurations.
For instance, none of the files in the subdirectories contain comprehensions,
not even the template files in these directores (such as `kitchen/kube.cue`).
-
-
+Furthermore, none of the configuration files in any of the
+leaf directories contain string interpolations.
### Metrics