From 906a1f8e9f4713f0182b1d4f8d173021420a2e0d Mon Sep 17 00:00:00 2001 From: "Jay Lau (Guangya Liu)" Date: Mon, 9 Feb 2015 21:37:01 +0800 Subject: [PATCH] Change replicas to 2 in dev quick start As the dev quick start will only create two minions, so if when create 4 replicas, there will be only 2 pods create succeed and the other 2 pods will be in Pending status. This patch is updating the replicas to 2 to make sure all pods in the replication controller can be created successfully. Change-Id: Ib9373487e76d4296dc412cc8a4f61af1bca94647 --- doc/source/dev/dev-quickstart.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/dev/dev-quickstart.rst b/doc/source/dev/dev-quickstart.rst index 349eb87244..82ed37b7b0 100644 --- a/doc/source/dev/dev-quickstart.rst +++ b/doc/source/dev/dev-quickstart.rst @@ -331,10 +331,10 @@ in the cluster:: To make it a replicated redis cluster create replication controllers for the redis slaves and sentinels:: - sed -i 's/\(replicas: \)1/\1 4/' redis-controller.yaml + sed -i 's/\(replicas: \)1/\1 2/' redis-controller.yaml magnum rc-create --manifest ./redis-controller.yaml --bay-id $BAY_UUID - sed -i 's/\(replicas: \)1/\1 4/' redis-sentinel-controller.yaml + sed -i 's/\(replicas: \)1/\1 2/' redis-sentinel-controller.yaml magnum rc-create --manifest ./redis-sentinel-controller.yaml --bay-id $BAY_UUID Full lifecycle and introspection operations for each object are supported. For