*: don't create -f from http endpoints!
k8s.io didn't always have https. But, now we do. We should fix this immediatly.
This commit is contained in:
@@ -42,7 +42,7 @@ file for the Pod defines a command and two arguments:
|
||||
|
||||
1. Create a Pod based on the YAML configuration file:
|
||||
|
||||
kubectl create -f http://k8s.io/docs/tasks/inject-data-application/commands.yaml
|
||||
kubectl create -f https://k8s.io/docs/tasks/inject-data-application/commands.yaml
|
||||
|
||||
1. List the running Pods:
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ Pod:
|
||||
|
||||
1. Create a Pod based on the YAML configuration file:
|
||||
|
||||
kubectl create -f http://k8s.io/docs/tasks/inject-data-application/envars.yaml
|
||||
kubectl create -f https://k8s.io/docs/tasks/inject-data-application/envars.yaml
|
||||
|
||||
1. List the running Pods:
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ fields of the Container in the Pod.
|
||||
Create the Pod:
|
||||
|
||||
```shell
|
||||
kubectl create -f http://k8s.io/docs/tasks/inject-data-application/dapi-volume.yaml
|
||||
kubectl create -f https://k8s.io/docs/tasks/inject-data-application/dapi-volume.yaml
|
||||
```
|
||||
|
||||
Verify that Container in the Pod is running:
|
||||
@@ -168,7 +168,7 @@ should be stored in a file named `cpu_limit`.
|
||||
Create the Pod:
|
||||
|
||||
```shell
|
||||
kubectl create -f http://k8s.io/docs/tasks/inject-data-application/dapi-volume-resources.yaml
|
||||
kubectl create -f https://k8s.io/docs/tasks/inject-data-application/dapi-volume-resources.yaml
|
||||
```
|
||||
|
||||
Get a shell into the Container that is running in your Pod:
|
||||
|
||||
@@ -62,7 +62,7 @@ Container in the Pod.
|
||||
Create the Pod:
|
||||
|
||||
```shell
|
||||
kubectl create -f http://k8s.io/docs/tasks/inject-data-application/dapi-envars-pod.yaml
|
||||
kubectl create -f https://k8s.io/docs/tasks/inject-data-application/dapi-envars-pod.yaml
|
||||
```
|
||||
|
||||
Verify that the Container in the Pod is running:
|
||||
@@ -137,7 +137,7 @@ from Container fields.
|
||||
Create the Pod:
|
||||
|
||||
```shell
|
||||
kubectl create -f http://k8s.io/docs/tasks/inject-data-application/dapi-envars-container.yaml
|
||||
kubectl create -f https://k8s.io/docs/tasks/inject-data-application/dapi-envars-container.yaml
|
||||
```
|
||||
|
||||
Verify that the Container in the Pod is running:
|
||||
|
||||
Reference in New Issue
Block a user