@@ -42,7 +42,7 @@ file for the Pod defines a command and two arguments:
|
|||||||
|
|
||||||
1. Create a Pod based on the YAML configuration file:
|
1. Create a Pod based on the YAML configuration file:
|
||||||
|
|
||||||
kubectl create -f http://k8s.io/docs/tasks/configure-pod-container/commands.yaml
|
kubectl create -f http://k8s.io/docs/tasks/inject-data-application/commands.yaml
|
||||||
|
|
||||||
1. List the running Pods:
|
1. List the running Pods:
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ Pod:
|
|||||||
|
|
||||||
1. Create a Pod based on the YAML configuration file:
|
1. Create a Pod based on the YAML configuration file:
|
||||||
|
|
||||||
kubectl create -f http://k8s.io/docs/tasks/configure-pod-container/envars.yaml
|
kubectl create -f http://k8s.io/docs/tasks/inject-data-application/envars.yaml
|
||||||
|
|
||||||
1. List the running Pods:
|
1. List the running Pods:
|
||||||
|
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ fields of the Container in the Pod.
|
|||||||
Create the Pod:
|
Create the Pod:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kubectl create -f http://k8s.io/docs/tasks/configure-pod-container/dapi-volume.yaml
|
kubectl create -f http://k8s.io/docs/tasks/inject-data-application/dapi-volume.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
Verify that Container in the Pod is running:
|
Verify that Container in the Pod is running:
|
||||||
@@ -168,7 +168,7 @@ should be stored in a file named `cpu_limit`.
|
|||||||
Create the Pod:
|
Create the Pod:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kubectl create -f http://k8s.io/docs/tasks/configure-pod-container/dapi-volume-resources.yaml
|
kubectl create -f http://k8s.io/docs/tasks/inject-data-application/dapi-volume-resources.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
Get a shell into the Container that is running in your Pod:
|
Get a shell into the Container that is running in your Pod:
|
||||||
|
|||||||
Reference in New Issue
Block a user