Skip to content

Commit

Permalink
podSpec array doesn't have to be JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
sftim committed Jun 11, 2019
1 parent 80ac6ad commit 45e7a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/docs/concepts/workloads/pods/init-containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ If an init container fails for a Pod, Kubernetes restarts the Pod repeatedly unt
container succeeds. However, if the Pod has a `restartPolicy` of Never, it is not restarted.

To specify a container as an init container, add the `initContainers` field on the PodSpec as
a JSON array of objects of type
an array of objects of type
[Container](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#container-v1-core)
alongside the app `containers` array.
The status of the init containers is returned in `.status.initContainerStatuses`
Expand Down

0 comments on commit 45e7a56

Please sign in to comment.