Introduce custom Jekyll tags for better glossary integration

This commit is contained in:
Jessica Yao
2017-10-17 18:23:17 -07:00
committed by Andrew Chen
parent 8ff083b0f3
commit 46d9cbe5ae
51 changed files with 546 additions and 197 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ title: Ingress
---
{% capture overview %}
{% include templates/glossary/snippet.md term="ingress" length="all" %}
{% glossary_definition term_id="ingress" length="all" %}
{% endcapture %}
{% capture body %}
@@ -10,10 +10,10 @@ title: StatefulSets
---
{% capture overview %}
**StatefulSet is the workload API object used to manage stateful applications.
**StatefulSet is the workload API object used to manage stateful applications.
StatefulSets are beta in 1.8.**
{% include templates/glossary/snippet.md term="statefulset" length="all" %}
{% glossary_definition term_id="statefulset" length="all" %}
{% endcapture %}
{% capture body %}
+3 -2
View File
@@ -56,9 +56,10 @@ default_active_tag: fundamental
Also known as: <i>{{ term.aka | join: ", " }}</i>
<br>
{% endif %}
<span class="preview-text">{{ term.short-description | markdownify }} <a href="javascript:void(0)" class="click-controller no-underline" data-target="{{ term.id }}">[+]</a></span>
<span class="preview-text">{{ term.short-description | liquify | markdownify }} <a href="javascript:void(0)" class="click-controller no-underline" data-target="{{ term.id }}">[+]</a></span>
<div id="{{ term.id }}" class="hide">
{{ term.long-description | markdownify }}
{{ term.long-description | liquify | markdownify }}
</div>
</div>
</li>
@@ -124,12 +124,14 @@ Pod's 200 MiB limit.
}
```
Delete your Pod:
```shell
kubectl delete pod memory-demo --namespace=mem-example
```
## Exceed a Container's memory limit
A Container can exceed its memory request if the Node has memory available. But a Container
@@ -370,4 +372,3 @@ kubectl delete namespace mem-example
{% include templates/task.md %}
@@ -5,7 +5,7 @@ title: Define a Command and Arguments for a Container
{% capture overview %}
This page shows how to define commands and arguments when you run a container
in a Kubernetes Pod.
in a {% glossary_tooltip term_id="pod" %}.
{% endcapture %}