Monthly 404 fix (#5494)
* Monthly 404 fix * WIP * 404 fixes cont * finish 404 fixes * file syntax tested and fixed * fix cn file for netlify preview * syntax cleanup for consistency
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: command-demo
|
||||
labels:
|
||||
purpose: demonstrate-command
|
||||
spec:
|
||||
containers:
|
||||
- name: command-demo-container
|
||||
image: debian
|
||||
command: ["printenv"]
|
||||
args: ["HOSTNAME", "KUBERNETES_PORT"]
|
||||
@@ -30,7 +30,7 @@ title: 为容器设置启动时要执行的命令及其入参
|
||||
|
||||
本示例中,将创建一个只包含单个容器的Pod。在Pod配置文件中设置了一个命令与两个入参:
|
||||
|
||||
{% include code.html language="yaml" file="commands.yaml" ghlink="/docs/tasks/inject-data-application/commands.yaml" %}
|
||||
{% include code.html language="yaml" file="commands.yaml" ghlink="/cn/docs/tasks/inject-data-application/commands.yaml" %}
|
||||
|
||||
1. 基于YAML文件创建一个Pod:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user