Move redis config files out of old user-guide directory. (#7401)
This commit is contained in:
committed by
k8s-ci-robot
parent
ef6c7d8517
commit
c025e88e37
@@ -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.
|
||||
|
||||
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
|
||||
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
|
||||
```
|
||||
|
||||
@@ -95,7 +94,7 @@ You can follow the steps below to configure a Redis cache using data stored in a
|
||||
1. Create the pod:
|
||||
|
||||
```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`.
|
||||
|
||||
@@ -473,6 +473,9 @@ func TestExampleObjectSchemas(t *testing.T) {
|
||||
"hello-apparmor-pod": {&api.Pod{}},
|
||||
"my-scheduler": {&extensions.Deployment{}},
|
||||
},
|
||||
"../docs/tutorials/configuration/configmap/redis": {
|
||||
"redis-pod": {&api.Pod{}},
|
||||
},
|
||||
"../docs/concepts/overview/object-management-kubectl": {
|
||||
"simple_deployment": {&extensions.Deployment{}},
|
||||
"update_deployment": {&extensions.Deployment{}},
|
||||
@@ -533,9 +536,6 @@ func TestExampleObjectSchemas(t *testing.T) {
|
||||
"mount-file-pod": {&api.Pod{}},
|
||||
"volume-pod": {&api.Pod{}},
|
||||
},
|
||||
"../docs/user-guide/configmap/redis": {
|
||||
"redis-pod": {&api.Pod{}},
|
||||
},
|
||||
"../docs/user-guide/downward-api": {
|
||||
"dapi-pod": {&api.Pod{}},
|
||||
"dapi-container-resources": {&api.Pod{}},
|
||||
|
||||
Reference in New Issue
Block a user