Reword PodPreset concept

- Note feature state for PodPreset
- Emphasize section on enabling PodPreset
- Omit version check
  Assume that the reader has a supported version of Kubernetes that
  includes PodPreset.
- List PodPreset as a task prerequisite
  PodPreset is an alpha feature; you can't follow the task page unless
  it's enabled.
This commit is contained in:
Tim Bannister
2019-12-27 18:38:37 +00:00
parent c00970e177
commit 58498dc3ca
2 changed files with 34 additions and 30 deletions
@@ -2,20 +2,23 @@
reviewers:
- jessfraz
title: Inject Information into Pods Using a PodPreset
min-kubernetes-server-version: v1.10
min-kubernetes-server-version: v1.6
content_template: templates/task
weight: 60
---
{{% capture overview %}}
{{< feature-state for_k8s_version="v1.6" state="alpha" >}}
This page shows how to use PodPreset objects to inject information like {{< glossary_tooltip text="Secrets" term_id="secret" >}}, volume mounts, and {{< glossary_tooltip text="environment variables" term_id="container-env-variables" >}} into Pods at creation time.
{{% /capture %}}
{{% capture prerequisites %}}
{{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}
You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. If you do not already have a cluster, you can create one using [Minikube](/docs/setup/learning-environment/minikube/).
Make sure that you have [enabled PodPreset](/docs/concepts/workloads/pods/podpreset/#enable-pod-preset) in your cluster.
{{% /capture %}}