+
+ {addRepoCommand}
+
+
+
+ >
+ ),
+ },
+ {
+ title: i18n.translate(
+ 'xpack.observability_onboarding.otelKubernetesPanel.installStackStepTitle',
+ {
+ defaultMessage: 'Install the OpenTelemetry Operator',
+ }
+ ),
+ children: installStackCommand ? (
+ <>
+
+
+ {i18n.translate(
+ 'xpack.observability_onboarding.otelKubernetesPanel.certmanagerLinkLabel',
+ { defaultMessage: 'cert-manager' }
+ )}
+
+ ),
+ }}
+ />{' '}
+
+
+
+
+ {installStackCommand}
+
+
+
+
+
+
+
+
+ {i18n.translate(
+ 'xpack.observability_onboarding.otelKubernetesPanel.downloadValuesFileButtonEmptyLabel',
+ { defaultMessage: 'Download values file' }
+ )}
+
+
+
+ >
+ ) : (
+
+ ),
+ },
+ {
+ title: i18n.translate(
+ 'xpack.observability_onboarding.otelKubernetesPanel.instrumentApplicationStepTitle',
+ {
+ defaultMessage: 'Instrument your application (optional)',
+ }
+ ),
+ children: (
+ <>
+
+ {i18n.translate(
+ 'xpack.observability_onboarding.otelKubernetesPanel.theOperatorAutomatesTheLabel',
+ {
+ defaultMessage:
+ 'The Operator automates the injection of auto-instrumentation libraries into the annotated pods for some languages.',
+ }
+ )}
+
+
+ setIdSelected(optionId)}
+ options={[
+ {
+ id: 'nodejs',
+ label: 'Node.js',
+ },
+ {
+ id: 'java',
+ label: 'Java',
+ },
+ {
+ id: 'python',
+ label: 'Python',
+ },
+ {
+ id: 'dotnet',
+ label: '.NET',
+ },
+ {
+ id: 'go',
+ label: 'Go',
+ },
+ ]}
+ />
+
+
+ {`apiVersion: v1
+kind: Pod
+metadata:
+ name: my-app
+ annotations:
+ instrumentation.opentelemetry.io/inject-${idSelected}: "true"
+spec:
+ containers:
+ - name: my-app
+ image: my-app:latest`}
+
+
+
+
+
+
+ {i18n.translate(
+ 'xpack.observability_onboarding.otelKubernetesPanel.referToTheDocumentationLinkLabel',
+ { defaultMessage: 'refer to the documentation' }
+ )}
+
+ ),
+ }}
+ />
+
+ >
+ ),
+ },
+ {
+ title: i18n.translate(
+ 'xpack.observability_onboarding.otelKubernetesPanel.monitorStepTitle',
+ {
+ defaultMessage: 'Visualize your data',
+ }
+ ),
+ children: data ? (
+ <>
+
+ {i18n.translate(
+ 'xpack.observability_onboarding.otelKubernetesPanel.onceYourKubernetesInfrastructureLabel',
+ {
+ defaultMessage:
+ 'Analyse your Kubernetes cluster’s health and monitor your container workloads.',
+ }
+ )}
+
+
+
+ >
+ ) : (
+
+ ),
+ },
+ ]}
+ />
+
+