Browse code

use pod name instead of id in oc delete example

juanvallejo authored on 2016/07/18 23:24:39
Showing 4 changed files
... ...
@@ -1223,8 +1223,8 @@ Delete one or more resources
1223 1223
   # Delete pods and services with label name=myLabel.
1224 1224
   oc delete pods,services -l name=myLabel
1225 1225
 
1226
-  # Delete a pod with ID 1234-56-7890-234234-456456.
1227
-  oc delete pod 1234-56-7890-234234-456456
1226
+  # Delete a pod with name node-1-vsjnm.
1227
+  oc delete pod node-1-vsjnm
1228 1228
 
1229 1229
   # Delete all resources associated with a running app, includes
1230 1230
   # buildconfig,deploymentconfig,service,imagestream,route and pod,
... ...
@@ -154,8 +154,8 @@ will be lost along with the rest of the resource.
154 154
   # Delete pods and services with label name=myLabel.
155 155
   oc delete pods,services \-l name=myLabel
156 156
 
157
-  # Delete a pod with ID 1234\-56\-7890\-234234\-456456.
158
-  oc delete pod 1234\-56\-7890\-234234\-456456
157
+  # Delete a pod with name node\-1\-vsjnm.
158
+  oc delete pod node\-1\-vsjnm
159 159
 
160 160
   # Delete all resources associated with a running app, includes
161 161
   # buildconfig,deploymentconfig,service,imagestream,route and pod,
... ...
@@ -154,8 +154,8 @@ will be lost along with the rest of the resource.
154 154
   # Delete pods and services with label name=myLabel.
155 155
   openshift cli delete pods,services \-l name=myLabel
156 156
 
157
-  # Delete a pod with ID 1234\-56\-7890\-234234\-456456.
158
-  openshift cli delete pod 1234\-56\-7890\-234234\-456456
157
+  # Delete a pod with name node\-1\-vsjnm.
158
+  openshift cli delete pod node\-1\-vsjnm
159 159
 
160 160
   # Delete all resources associated with a running app, includes
161 161
   # buildconfig,deploymentconfig,service,imagestream,route and pod,
... ...
@@ -127,8 +127,8 @@ will be lost along with the rest of the resource.`
127 127
   # Delete pods and services with label name=myLabel.
128 128
   %[1]s delete pods,services -l name=myLabel
129 129
 
130
-  # Delete a pod with ID 1234-56-7890-234234-456456.
131
-  %[1]s delete pod 1234-56-7890-234234-456456
130
+  # Delete a pod with name node-1-vsjnm.
131
+  %[1]s delete pod node-1-vsjnm
132 132
 
133 133
   # Delete all resources associated with a running app, includes
134 134
   # buildconfig,deploymentconfig,service,imagestream,route and pod,