Commit 24f020e2 authored by Geoff Simmons's avatar Geoff Simmons

Doc polish.

parent 1140313d
...@@ -18,7 +18,7 @@ folder](/examples). ...@@ -18,7 +18,7 @@ folder](/examples).
Define a ServiceAccount named ``varnish-ingress-controller`` and apply Define a ServiceAccount named ``varnish-ingress-controller`` and apply
[Role-based access [Role-based access
control](https://kubernetes.io/docs/reference/access-authn-authz/rbac/) control](https://kubernetes.io/docs/reference/access-authn-authz/rbac/)
(RBAC) to permits the necessary API access for the Ingress controller: (RBAC) to permit the necessary API access for the Ingress controller:
``` ```
$ kubectl apply -f serviceaccount.yaml $ kubectl apply -f serviceaccount.yaml
``` ```
...@@ -221,8 +221,9 @@ directed to Varnish instances. ...@@ -221,8 +221,9 @@ directed to Varnish instances.
The Service definition must fulfill some requirements: The Service definition must fulfill some requirements:
* A port with the name ``varnishadm`` and whose ``targetPort`` * A port with the name ``varnishadm`` and whose ``targetPort``
matches the admin port defined above (named `´admport`` in the matches the admin port defined above (named ``admport`` in the
sample Deployment for Varnish) MUST be specified: sample Deployment for Varnish) MUST be specified:
``` ```
ports: ports:
- port: 6081 - port: 6081
...@@ -258,8 +259,8 @@ spec: ...@@ -258,8 +259,8 @@ spec:
``` ```
In recent versions, both specifications are permitted in the YAML, In recent versions, both specifications are permitted in the YAML,
as in example YAML (the annotation is deprecated, but is not yet an as in the example YAML (the annotation is deprecated, but is not yet
error). an error).
* The ``selector`` must specify the label ``app: varnish-ingress``: * The ``selector`` must specify the label ``app: varnish-ingress``:
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment