forked from openshift/openshift-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request openshift#30703 from neal-timpe/ossmdoc-246
OSSMDOC-246: Deploying to production
- Loading branch information
Showing
4 changed files
with
69 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// Module included in the following assemblies: | ||
// | ||
// * service_mesh/v2x/ossm-deploy-production.adoc | ||
|
||
[id="ossm-smcp-prod_{context}"] | ||
= Configuring your ServiceMeshControlPlane resource for production | ||
|
||
If you have installed a basic `ServiceMeshControlPlane` resource to test {ProductShortName}, you must configure it to production specification before you use {ProductName} in production. | ||
|
||
You cannot change the `metadata.name` field of an existing `ServiceMeshControlPlane` resource. For production deployments, you must customize the default template. | ||
|
||
.Procedure | ||
|
||
. Configure Jaeger for production. | ||
+ | ||
.. Edit the `ServiceMeshControlPlane` resource to use the `production` deployment strategy, by setting `spec.addons.jaeger.install.storage.type` to `Elasticsearch` and specify additional configuration options under `install`. You can create and configure your Jaeger instance and set `spec.addons.jaeger.name` to the name of the Jaeger instance, for example, `jaeger-production`. | ||
+ | ||
.Default Jaeger parameters including Elasticsearch | ||
[source,yaml] | ||
---- | ||
apiVersion: maistra.io/v2 | ||
kind: ServiceMeshControlPlane | ||
metadata: | ||
name: basic | ||
spec: | ||
version: v2.0 | ||
tracing: | ||
sampling: 100 | ||
type: Jaeger | ||
addons: | ||
jaeger: | ||
name: jaeger-production | ||
install: | ||
storage: | ||
type: Elasticsearch | ||
ingress: | ||
enabled: true | ||
runtime: | ||
components: | ||
tracing.jaeger.elasticsearch: # only supports resources and image name | ||
container: | ||
resources: {} | ||
---- | ||
|
||
. Ensure your security certificates are production ready by installing security certificates from an external certificate authority. For more information, see the Security section. | ||
|
||
. Verify the results. Enter the following command to verify that the `ServiceMeshControlPlane` resource updated properly. In this example, `basic` is the name of the `ServiceMeshControlPlane` resource. | ||
|
||
[source,terminal] | ||
---- | ||
$ oc get smcp basic -o yaml | ||
---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[id="ossm-production"] | ||
include::modules/ossm-document-attributes.adoc[] | ||
= Configuring Service Mesh for production | ||
:context: ossm-architecture | ||
toc::[] | ||
|
||
When you are ready to move from a basic installation to production, you must configure your control plane, tracing, and security certificates to meet production requirements. | ||
|
||
.Prerequisites | ||
|
||
* Install and configure {ProductName}. | ||
* Test your configuration in a staging environment. | ||
include::modules/ossm-smcp-prod.adoc[leveloffset=+1] |