Browse code

Update deployment API examples and docs

Dan Mace authored on 2014/11/13 04:53:25
Showing 8 changed files
... ...
@@ -10,10 +10,7 @@
10 10
       "triggerPolicy": "manual",
11 11
       "template": {
12 12
         "strategy": {
13
-          "type": "CustomPod",
14
-          "customPod": {
15
-            "image": "127.0.0.1:5000/openshift/origin-deployer"
16
-          }
13
+          "type": "Recreate"
17 14
         },
18 15
         "controllerTemplate": {
19 16
           "replicas": 2,
... ...
@@ -5,10 +5,7 @@
5 5
   "triggerPolicy": "manual",
6 6
   "template": {
7 7
     "strategy": {
8
-      "type": "CustomPod",
9
-      "customPod": {
10
-        "image": "127.0.0.1:5000/openshift/origin-deployer"
11
-      }
8
+      "type": "Recreate"
12 9
     },
13 10
     "controllerTemplate": {
14 11
       "replicas": 2,
... ...
@@ -10,10 +10,7 @@
10 10
       "triggerPolicy": "manual",
11 11
       "configId": "redisslave-config",
12 12
       "strategy": {
13
-        "type": "CustomPod",
14
-        "customPod": {
15
-          "image": "127.0.0.1:5000/openshift/origin-deployer"
16
-        }
13
+        "type": "Recreate"
17 14
       },
18 15
       "controllerTemplate": {
19 16
         "replicas": 2,
... ...
@@ -5,10 +5,7 @@
5 5
   "triggerPolicy": "manual",
6 6
   "configId": "redisslave-config",
7 7
   "strategy": {
8
-    "type": "CustomPod",
9
-    "customPod": {
10
-      "image": "127.0.0.1:5000/openshift/origin-deployer"
11
-    }
8
+    "type": "Recreate"
12 9
   },
13 10
   "controllerTemplate": {
14 11
     "replicas": 2,
... ...
@@ -758,10 +758,7 @@
758 758
       "triggerPolicy": "manual",
759 759
       "template": {
760 760
         "strategy": {
761
-          "type": "CustomPod",
762
-          "customPod": {
763
-            "image": "127.0.0.1:5000/openshift/origin-deployer"
764
-          }
761
+          "type": "Recreate"
765 762
         },
766 763
         "controllerTemplate": {
767 764
           "replicas": 2,
... ...
@@ -814,10 +811,7 @@
814 814
   "triggerPolicy": "manual",
815 815
   "template": {
816 816
     "strategy": {
817
-      "type": "CustomPod",
818
-      "customPod": {
819
-        "image": "127.0.0.1:5000/openshift/origin-deployer"
820
-      }
817
+      "type": "Recreate"
821 818
     },
822 819
     "controllerTemplate": {
823 820
       "replicas": 2,
... ...
@@ -862,10 +856,7 @@
862 862
   "triggerPolicy": "manual",
863 863
   "template": {
864 864
     "strategy": {
865
-      "type": "CustomPod",
866
-      "customPod": {
867
-        "image": "127.0.0.1:5000/openshift/origin-deployer"
868
-      }
865
+      "type": "Recreate"
869 866
     },
870 867
     "controllerTemplate": {
871 868
       "replicas": 2,
... ...
@@ -921,10 +912,7 @@
921 921
       "triggerPolicy": "manual",
922 922
       "configId": "redisslave-config",
923 923
       "strategy": {
924
-        "type": "CustomPod",
925
-        "customPod": {
926
-          "image": "127.0.0.1:5000/openshift/origin-deployer"
927
-        }
924
+        "type": "Recreate"
928 925
       },
929 926
       "controllerTemplate": {
930 927
         "replicas": 2,
... ...
@@ -970,10 +958,7 @@
970 970
   "triggerPolicy": "manual",
971 971
   "configId": "redisslave-config",
972 972
   "strategy": {
973
-    "type": "CustomPod",
974
-    "customPod": {
975
-      "image": "127.0.0.1:5000/openshift/origin-deployer"
976
-    }
973
+    "type": "Recreate"
977 974
   },
978 975
   "controllerTemplate": {
979 976
     "replicas": 2,
... ...
@@ -1017,10 +1002,7 @@
1017 1017
   "triggerPolicy": "manual",
1018 1018
   "configId": "redisslave-config",
1019 1019
   "strategy": {
1020
-    "type": "CustomPod",
1021
-    "customPod": {
1022
-      "image": "127.0.0.1:5000/openshift/origin-deployer"
1023
-    }
1020
+    "type": "Recreate"
1024 1021
   },
1025 1022
   "controllerTemplate": {
1026 1023
     "replicas": 2,
... ...
@@ -1064,10 +1046,7 @@
1064 1064
   "triggerPolicy": "manual",
1065 1065
   "configId": "redisslave-config",
1066 1066
   "strategy": {
1067
-    "type": "CustomPod",
1068
-    "customPod": {
1069
-      "image": "127.0.0.1:5000/openshift/origin-deployer"
1070
-    }
1067
+    "type": "Recreate"
1071 1068
   },
1072 1069
   "controllerTemplate": {
1073 1070
     "replicas": 2,
... ...
@@ -91,8 +91,8 @@
91 91
         }
92 92
       ],
93 93
       "template": {
94
-        "strategy": {
95
-          "type": "Basic"
94
+        "strategy":{
95
+          "type":"Recreate"
96 96
         },
97 97
         "controllerTemplate": {
98 98
           "replicas": 1,
... ...
@@ -161,8 +161,8 @@
161 161
         }
162 162
       ],
163 163
       "template": {
164
-        "strategy": {
165
-          "type": "Basic"
164
+        "strategy":{
165
+          "type":"Recreate"
166 166
         },
167 167
         "controllerTemplate": {
168 168
           "replicas": 1,
... ...
@@ -95,7 +95,7 @@
95 95
       ],
96 96
       "template": {
97 97
         "strategy": {
98
-          "type": "Basic"
98
+          "type":"Recreate"
99 99
         },
100 100
         "controllerTemplate": {
101 101
           "replicas": 1,
... ...
@@ -165,7 +165,7 @@
165 165
       ],
166 166
       "template": {
167 167
       "strategy": {
168
-        "type": "Basic"
168
+        "type":"Recreate"
169 169
       },
170 170
       "controllerTemplate": {
171 171
         "replicas": 1,
... ...
@@ -28,7 +28,7 @@
28 28
       ],
29 29
       "template":{
30 30
         "strategy":{
31
-          "type":"Basic"
31
+          "type":"Recreate"
32 32
         },
33 33
         "controllerTemplate":{
34 34
           "replicas":1,