You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: admin_guide/managing_projects.adoc
+1-2
Original file line number
Diff line number
Diff line change
@@ -214,8 +214,7 @@ the entire cluster.
214
214
=== Developer-specified Node Selectors
215
215
216
216
{product-title} developers
217
-
xref:../dev_guide/deployments.adoc#assigning-pods-to-specific-nodes[can set a
218
-
node selector on their pod configuration] if they wish to restrict nodes even
217
+
xref:../dev_guide/deployments/basic_deployment_operations.adoc#assigning-pods-to-specific-nodes[can set a node selector on their pod configuration] if they wish to restrict nodes even
219
218
further. This will be in addition to the project node selector, meaning that you
220
219
can still dictate node selector values for all projects that have a node
controller] or a xref:../dev_guide/deployments.adoc#dev-guide-deployments[deployment configuration] to
413
-
the number of specified replicas:
411
+
xref:../architecture/core_concepts/deployments.adoc#replication-controllers[replication controller] or a deployment configuration to the number of specified replicas:
With this command, {product-title} fetches the source code, sets up the Builder image, xref:../builds.adoc#dev-guide-builds[builds] your application image, and deploys the newly created image together with the specified xref:../../using_images/db_images/postgresql.adoc#postgresql-environment-variables[environment variables]. The application is named `rails-app`.
303
303
304
-
You can verify the environment variables have been added by viewing the JSON document of the `rails-app` xref:../deployments.adoc#dev-guide-deployments[DeploymentConfig]:
304
+
You can verify the environment variables have been added by viewing the JSON document of the `rails-app` xref:../deployments/how_deployments_work.adoc#dev-guide-how-deployments-work[DeploymentConfig]:
305
305
306
306
----
307
307
$ oc get dc rails-app -o json
@@ -354,7 +354,7 @@ Run the migration from inside the container:
354
354
355
355
If you are running your Rails application in a `development` or `test` environment you don't have to specify the `RAILS_ENV` environment variable.
356
356
357
-
* By adding pre-deployment xref:../../dev_guide/deployments.adoc#lifecycle-hooks[lifecycle hooks] in your template. For example check the link:https://github.com/openshift/rails-ex/blob/master/openshift/templates/rails-postgresql.json#L122-L130[hooks example] in our link:https://github.com/openshift/rails-ex[Rails example] application.
357
+
* By adding pre-deployment xref:../../dev_guide/deployments/deployment_strategies.adoc#lifecycle-hooks[lifecycle hooks] in your template. For example check the link:https://github.com/openshift/rails-ex/blob/master/openshift/templates/rails-postgresql.json#L122-L130[hooks example] in our link:https://github.com/openshift/rails-ex[Rails example] application.
0 commit comments