Skip to content

Commit cea6f08

Browse files
committed
fix: Improve PodTemplate glossary
1 parent 6b47ec3 commit cea6f08

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed
Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,28 @@
11
---
2-
title: Pod Template
2+
title: PodTemplate
33
id: pod-template
44
date: 2024-10-13
55
short_description: >
6-
A Pod Template defines template for creating pods.
6+
A template for creating Pods.
77
88
aka:
9+
- pod template
910
tags:
1011
- core-object
1112

1213
---
13-
An API object that defines a template for creating {{< glossary_tooltip text="pod" term_id="pod" >}}, typically used in higher-level controllers.
14+
An API object that defines a template for creating {{< glossary_tooltip text="Pods" term_id="pod" >}}.
15+
The PodTemplate API is also embedded in API definitions for workload management, such as
16+
{{< glossary_tooltip text="Deployment" term_id="deployment" >}} or
17+
{{< glossary_tooltip text="StatefulSets" term_id="StatefulSet" >}}.
1418

1519
<!--more-->
1620

17-
Pod Templates provide a specification that includes metadata, labels, and a pod's desired state, which is utilized by controllers like {{< glossary_tooltip text="deployment" term_id="deployment" >}} and {{< glossary_tooltip text="statefulset" term_id="statefulset" >}} to create and manage multiple {{< glossary_tooltip text="replicas" term_id="" >}} of {{< glossary_tooltip text="pod" term_id="pod" >}}.
21+
Pod templates allow you to define common metadata (such as labels, or a template for the name of a
22+
new Pod) as well as to specify a pod's desired state.
23+
[Workload management](/docs/concepts/workloads/controllers/) controllers use Pod templates
24+
(embedded into another object, such as a Deployment or StatefulSet)
25+
to define and manage one or more {{< glossary_tooltip text="Pods" term_id="pod" >}}.
26+
When there can be multiple Pods based on the same template, these are called
27+
{{< glossary_tooltip term_id="replica" text="replicas" >}}.
28+
Although you can create a PodTemplate object directly, you rarely need to do so.

0 commit comments

Comments
 (0)