*: don't apply -f from http endpoints!
k8s.io didn't always have https. But, now we do. We should fix this immediately.reviewable/pr3822/r1
parent
3b5bdc3f00
commit
56ffe1644c
|
@ -96,7 +96,7 @@ specifies that the deployment should be updated to use nginx 1.8.
|
|||
|
||||
1. Apply the new YAML file:
|
||||
|
||||
kubectl apply -f http://k8s.io/docs/tutorials/stateless-application/deployment-update.yaml
|
||||
kubectl apply -f https://k8s.io/docs/tutorials/stateless-application/deployment-update.yaml
|
||||
|
||||
1. Watch the deployment create pods with new names and delete the old pods:
|
||||
|
||||
|
@ -112,7 +112,7 @@ should have four pods:
|
|||
|
||||
1. Apply the new YAML file:
|
||||
|
||||
kubectl apply -f http://k8s.io/docs/tutorials/stateless-application/deployment-scale.yaml
|
||||
kubectl apply -f https://k8s.io/docs/tutorials/stateless-application/deployment-scale.yaml
|
||||
|
||||
1. Verify that the Deployment has four pods:
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ Here's an example of an object configuration file:
|
|||
Create the object using `kubectl apply`:
|
||||
|
||||
```shell
|
||||
kubectl apply -f http://k8s.io/docs/tutorials/object-management-kubectl/simple_deployment.yaml
|
||||
kubectl apply -f https://k8s.io/docs/tutorials/object-management-kubectl/simple_deployment.yaml
|
||||
```
|
||||
|
||||
Print the live configuration using `kubectl get`:
|
||||
|
@ -137,7 +137,7 @@ Here's an example configuration file:
|
|||
Create the object using `kubectl apply`:
|
||||
|
||||
```shell
|
||||
kubectl apply -f http://k8s.io/docs/tutorials/object-management-kubectl/simple_deployment.yaml
|
||||
kubectl apply -f https://k8s.io/docs/tutorials/object-management-kubectl/simple_deployment.yaml
|
||||
```
|
||||
|
||||
**Note:** For purposes of illustration, the preceding command refers to a single
|
||||
|
@ -245,7 +245,7 @@ Update the `simple_deployment.yaml` configuration file to change the image from
|
|||
Apply the changes made to the configuration file:
|
||||
|
||||
```shell
|
||||
kubectl apply -f http://k8s.io/docs/tutorials/object-management-kubectl/update_deployment.yaml
|
||||
kubectl apply -f https://k8s.io/docs/tutorials/object-management-kubectl/update_deployment.yaml
|
||||
```
|
||||
|
||||
Print the live configuration using `kubectl get`:
|
||||
|
@ -680,7 +680,7 @@ Here's a configuration file for a Deployment. The file does not specify `strateg
|
|||
Create the object using `kubectl apply`:
|
||||
|
||||
```shell
|
||||
kubectl apply -f http://k8s.io/docs/tutorials/object-management-kubectl/simple_deployment.yaml
|
||||
kubectl apply -f https://k8s.io/docs/tutorials/object-management-kubectl/simple_deployment.yaml
|
||||
```
|
||||
|
||||
Print the live configuration using `kubectl get`:
|
||||
|
|
|
@ -389,7 +389,7 @@ zk-0 0/1 Terminating 0 11m
|
|||
Reapply the manifest in `zookeeper.yaml`.
|
||||
|
||||
```shell
|
||||
kubectl apply -f http://k8s.io/docs/tutorials/stateful-application/zookeeper.yaml
|
||||
kubectl apply -f https://k8s.io/docs/tutorials/stateful-application/zookeeper.yaml
|
||||
```
|
||||
|
||||
The `zk` StatefulSet will be created, but, as they already exist, the other API
|
||||
|
|
Loading…
Reference in New Issue