This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.Este contenido no está disponible en el idioma seleccionado.
Chapter 4. Deploying the Jaeger production strategy from the web console
The production deployment strategy is intended for production environments, where long term storage of trace data is important, as well as a more scalable and highly available architecture is required.
Prerequisites
- The Elasticsearch Operator must be installed.
- The Jaeger Operator must be installed.
- Review the instructions for how to customize the Jaeger installation.
-
An account with the
cluster-adminrole.
Procedure
-
Log in to the OpenShift Container Platform web console as a user with the
cluster-adminrole. Create a new project, for example
jaeger-system.-
Navigate to Home
Projects. - Click Create Project.
-
Enter
jaeger-systemin the Name field. - Click Create.
-
Navigate to Home
-
Navigate to Operators
Installed Operators. -
If necessary, select
jaeger-systemfrom the Project menu. You may have to wait a few moments for the Operators to be copied to the new project. - Click the Jaeger Operator. On the Overview tab, under Provided APIs, the Operator provides a single link.
- Under Jaeger click Create Instance.
On the Create Jaeger page, replace the default
all-in-oneyaml text with your production YAML configuration, for example:Example jaeger-production.yaml file with Elasticsearch
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Click Create to create the Jaeger instance.
-
On the Jaegers page, click the name of the Jaeger instance, for example,
jaeger-prod-elasticsearch. - On the Jaeger Details page, click the Resources tab. Wait until all the pods have a status of "Running" before continuing.
4.1. Deploying Jaeger production from the CLI Copiar enlaceEnlace copiado en el portapapeles!
Follow this procedure to create an instance of Jaeger from the command line.
Prerequisites
- An installed, verified OpenShift Jaeger Operator.
-
Access to the OpenShift CLI (
oc). -
An account with the
cluster-adminrole.
Procedure
Log in to the OpenShift Container Platform CLI as a user with the
cluster-adminrole.oc login https://{HOSTNAME}:8443$ oc login https://{HOSTNAME}:8443Copy to Clipboard Copied! Toggle word wrap Toggle overflow Create a new project named
jaeger-system.oc new-project jaeger-system
$ oc new-project jaeger-systemCopy to Clipboard Copied! Toggle word wrap Toggle overflow -
Create a custom resource file named
jaeger-production.yamlthat contains the text of the example file in the previous procedure. Run the following command to deploy Jaeger:
oc create -n jaeger-system -f jaeger-production.yaml
$ oc create -n jaeger-system -f jaeger-production.yamlCopy to Clipboard Copied! Toggle word wrap Toggle overflow Run the following command to watch the progress of the pods during the installation process:
oc get pods -n jaeger-system -w
$ oc get pods -n jaeger-system -wCopy to Clipboard Copied! Toggle word wrap Toggle overflow Once the installation process has completed, you should see output similar to the following:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow