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 10, 2019
1 parent e280bb9 commit 438682f
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 @@ -33,7 +33,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 438682f

Please sign in to comment.