Move redis config files out of old user-guide directory. (#7401)

pull/7406/head
Steve Perry 2018-02-13 17:10:51 -08:00 committed by k8s-ci-robot
parent ef6c7d8517
commit c025e88e37
4 changed files with 6 additions and 7 deletions

View File

@ -34,11 +34,10 @@ This page provides a real world example of how to configure Redis using a Config
You can follow the steps below to configure a Redis cache using data stored in a ConfigMap. You can follow the steps below to configure a Redis cache using data stored in a ConfigMap.
1. Create a ConfigMap from the `docs/user-guide/configmap/redis/redis-config` file: 1. Create a ConfigMap from the `docs/tutorials/configuration/configmap/redis/redis-config` file:
```shell ```shell
kubectl create configmap example-redis-config --from-file=docs/user-guide/configmap/redis/redis-config kubectl create configmap example-redis-config --from-file=https://k8s.io/docs/tutorials/configuration/configmap/redis/redis-config
kubectl get configmap example-redis-config -o yaml kubectl get configmap example-redis-config -o yaml
``` ```
@ -95,7 +94,7 @@ You can follow the steps below to configure a Redis cache using data stored in a
1. Create the pod: 1. Create the pod:
```shell ```shell
kubectl create -f docs/user-guide/configmap/redis/redis-pod.yaml kubectl create -f https://k8s.io/tutorials/configuration/configmap/redis/redis-pod.yaml
``` ```
In the example, the config volume is mounted at `/redis-master`. In the example, the config volume is mounted at `/redis-master`.

View File

@ -473,6 +473,9 @@ func TestExampleObjectSchemas(t *testing.T) {
"hello-apparmor-pod": {&api.Pod{}}, "hello-apparmor-pod": {&api.Pod{}},
"my-scheduler": {&extensions.Deployment{}}, "my-scheduler": {&extensions.Deployment{}},
}, },
"../docs/tutorials/configuration/configmap/redis": {
"redis-pod": {&api.Pod{}},
},
"../docs/concepts/overview/object-management-kubectl": { "../docs/concepts/overview/object-management-kubectl": {
"simple_deployment": {&extensions.Deployment{}}, "simple_deployment": {&extensions.Deployment{}},
"update_deployment": {&extensions.Deployment{}}, "update_deployment": {&extensions.Deployment{}},
@ -533,9 +536,6 @@ func TestExampleObjectSchemas(t *testing.T) {
"mount-file-pod": {&api.Pod{}}, "mount-file-pod": {&api.Pod{}},
"volume-pod": {&api.Pod{}}, "volume-pod": {&api.Pod{}},
}, },
"../docs/user-guide/configmap/redis": {
"redis-pod": {&api.Pod{}},
},
"../docs/user-guide/downward-api": { "../docs/user-guide/downward-api": {
"dapi-pod": {&api.Pod{}}, "dapi-pod": {&api.Pod{}},
"dapi-container-resources": {&api.Pod{}}, "dapi-container-resources": {&api.Pod{}},