Skip to content

Commit ab5c3cb

Browse files
authored
ia: Restructure deployment docs (#1304)
1 parent 9e373d5 commit ab5c3cb

File tree

92 files changed

+4619
-485
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+4619
-485
lines changed

modules/ROOT/nav.adoc

Lines changed: 39 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -63,37 +63,47 @@
6363
*** xref:develop:data-transforms/labs.adoc[Examples]
6464
** xref:develop:transactions.adoc[]
6565
* xref:deploy:index.adoc[Deploy]
66-
** xref:deploy:deployment-option/self-hosted/kubernetes/index.adoc[Kubernetes]
67-
*** xref:deploy:deployment-option/self-hosted/kubernetes/k-deployment-overview.adoc[Overview]
68-
*** xref:deploy:deployment-option/self-hosted/kubernetes/k-production-workflow.adoc[Deployment Workflow]
69-
*** xref:deploy:deployment-option/self-hosted/kubernetes/k-requirements.adoc[Requirements and Recommendations]
70-
*** xref:deploy:deployment-option/self-hosted/kubernetes/k-tune-workers.adoc[Tune Worker Nodes]
71-
*** xref:deploy:deployment-option/self-hosted/kubernetes/kubernetes-deploy.adoc[Deploy Redpanda]
72-
*** xref:deploy:deployment-option/self-hosted/kubernetes/k-deploy-connectors.adoc[Deploy Connectors]
73-
*** xref:deploy:deployment-option/self-hosted/kubernetes/k-high-availability.adoc[High Availability]
74-
*** xref:deploy:deployment-option/self-hosted/kubernetes/get-started-dev.adoc[Guides]
75-
**** xref:deploy:deployment-option/self-hosted/kubernetes/aks-guide.adoc[Azure AKS]
76-
**** xref:deploy:deployment-option/self-hosted/kubernetes/eks-guide.adoc[Amazon EKS]
77-
**** xref:deploy:deployment-option/self-hosted/kubernetes/gke-guide.adoc[Google GKE]
78-
**** xref:deploy:deployment-option/self-hosted/kubernetes/local-guide.adoc[Local (kind and minikube)]
79-
** xref:deploy:deployment-option/self-hosted/manual/index.adoc[Linux]
80-
*** xref:deploy:deployment-option/self-hosted/manual/production/requirements.adoc[Hardware and Software Requirements]
81-
*** xref:deploy:deployment-option/self-hosted/manual/production/index.adoc[Deployment Options]
82-
**** xref:deploy:deployment-option/self-hosted/manual/production/dev-deployment.adoc[Deploy for Development]
83-
**** xref:deploy:deployment-option/self-hosted/manual/production/production-deployment-automation.adoc[]
84-
**** xref:deploy:deployment-option/self-hosted/manual/production/production-deployment.adoc[]
85-
**** xref:deploy:deployment-option/self-hosted/manual/production/production-readiness.adoc[]
86-
*** xref:deploy:deployment-option/self-hosted/manual/high-availability.adoc[High Availability]
87-
*** xref:deploy:deployment-option/self-hosted/manual/sizing-use-cases.adoc[Sizing Use Cases]
88-
*** xref:deploy:deployment-option/self-hosted/manual/sizing.adoc[Sizing Guidelines]
89-
*** xref:deploy:deployment-option/self-hosted/manual/linux-system-tuning.adoc[System Tuning]
90-
** xref:deploy:deployment-option/self-hosted/docker-image.adoc[Connectors]
66+
** xref:deploy:redpanda/index.adoc[Redpanda]
67+
*** xref:deploy:redpanda/kubernetes/index.adoc[Kubernetes]
68+
**** xref:deploy:redpanda/kubernetes/k-deployment-overview.adoc[Overview]
69+
**** xref:deploy:redpanda/kubernetes/get-started-dev.adoc[Get Started]
70+
***** xref:deploy:redpanda/kubernetes/aks-guide.adoc[Azure AKS]
71+
***** xref:deploy:redpanda/kubernetes/eks-guide.adoc[Amazon EKS]
72+
***** xref:deploy:redpanda/kubernetes/gke-guide.adoc[Google GKE]
73+
***** xref:deploy:redpanda/kubernetes/local-guide.adoc[Local (kind and minikube)]
74+
**** xref:deploy:redpanda/kubernetes/k-production-workflow.adoc[Deployment Workflow]
75+
**** xref:deploy:redpanda/kubernetes/k-requirements.adoc[Requirements and Recommendations]
76+
**** xref:deploy:redpanda/kubernetes/k-tune-workers.adoc[Tune Worker Nodes]
77+
**** xref:deploy:redpanda/kubernetes/k-production-deployment.adoc[Deploy Redpanda]
78+
**** xref:deploy:redpanda/kubernetes/k-high-availability.adoc[High Availability]
79+
*** xref:deploy:redpanda/manual/index.adoc[Linux]
80+
**** xref:deploy:redpanda/manual/production/requirements.adoc[Hardware and Software Requirements]
81+
**** xref:deploy:redpanda/manual/production/index.adoc[Deployment Options]
82+
***** xref:deploy:redpanda/manual/production/dev-deployment.adoc[Deploy for Development]
83+
***** xref:deploy:redpanda/manual/production/production-deployment-automation.adoc[]
84+
***** xref:deploy:redpanda/manual/production/production-deployment.adoc[]
85+
***** xref:deploy:redpanda/manual/production/production-readiness.adoc[]
86+
**** xref:deploy:redpanda/manual/high-availability.adoc[High Availability]
87+
**** xref:deploy:redpanda/manual/sizing-use-cases.adoc[Sizing Use Cases]
88+
**** xref:deploy:redpanda/manual/sizing.adoc[Sizing Guidelines]
89+
**** xref:deploy:redpanda/manual/linux-system-tuning.adoc[System Tuning]
90+
** xref:deploy:console/index.adoc[Redpanda Console]
91+
*** xref:deploy:console/kubernetes/index.adoc[Kubernetes]
92+
**** xref:deploy:console/kubernetes/k-requirements.adoc[Requirements]
93+
**** xref:deploy:console/kubernetes/deploy.adoc[Deploy on Kubernetes]
94+
*** xref:deploy:console/linux/index.adoc[Linux]
95+
**** xref:deploy:console/linux/requirements.adoc[Requirements]
96+
**** xref:deploy:console/linux/deploy.adoc[Deploy on Linux]
97+
** xref:redpanda-connect:home:index.adoc[Redpanda Connect]
98+
** xref:deploy:kafka-connect/index.adoc[Kafka Connect]
99+
*** xref:deploy:kafka-connect/k-deploy-kafka-connect.adoc[Deploy on Kubernetes]
100+
*** xref:deploy:kafka-connect/deploy-kafka-connect.adoc[Deploy on Docker]
91101
* xref:manage:index.adoc[Manage]
92102
** xref:manage:kubernetes/index.adoc[Kubernetes]
93103
*** xref:manage:kubernetes/k-configure-helm-chart.adoc[Customize the Helm Chart]
94104
*** xref:manage:kubernetes/k-cluster-property-configuration.adoc[Cluster Properties]
95105
*** xref:manage:kubernetes/k-manage-topics.adoc[Manage Topics]
96-
*** xref:manage:kubernetes/k-manage-connectors.adoc[Manage Connectors]
106+
*** xref:manage:kubernetes/k-manage-connectors.adoc[Manage Kafka Connect]
97107
*** xref:manage:kubernetes/storage/index.adoc[Storage]
98108
**** xref:manage:kubernetes/storage/k-volume-types.adoc[Volume Types]
99109
**** xref:manage:kubernetes/storage/k-configure-storage.adoc[Configure Storage]
@@ -133,7 +143,7 @@
133143
*** xref:manage:kubernetes/k-recovery-mode.adoc[Recovery Mode]
134144
*** xref:manage:kubernetes/monitoring/index.adoc[Monitor]
135145
**** xref:manage:kubernetes/monitoring/k-monitor-redpanda.adoc[Redpanda]
136-
**** xref:manage:kubernetes/monitoring/k-monitor-connectors.adoc[Connectors]
146+
**** xref:manage:kubernetes/monitoring/k-monitor-connectors.adoc[Kafka Connect]
137147
*** xref:manage:kubernetes/k-rolling-restart.adoc[Rolling Restart]
138148
*** xref:manage:kubernetes/k-resilience-testing.adoc[Resilience Testing]
139149
** xref:manage:cluster-maintenance/index.adoc[Cluster Maintenance]
@@ -181,13 +191,12 @@
181191
*** xref:manage:schema-reg/schema-reg-overview.adoc[Overview]
182192
*** xref:manage:schema-reg/manage-schema-reg.adoc[]
183193
**** xref:manage:schema-reg/schema-reg-api.adoc[API]
184-
**** xref:console:ui/schema-reg.adoc[Redpanda Console]
185194
**** xref:manage:kubernetes/k-schema-controller.adoc[Kubernetes]
186195
*** xref:manage:schema-reg/schema-reg-authorization.adoc[Schema Registry Authorization]
187196
*** xref:manage:schema-reg/schema-id-validation.adoc[]
188197
*** xref:console:ui/schema-reg.adoc[Manage in Redpanda Console]
189198
** xref:manage:console/index.adoc[Redpanda Console]
190-
*** xref:console:config/configure-console.adoc[Configure Console]
199+
*** xref:console:config/configure-console.adoc[Configure Redpanda Console]
191200
*** xref:console:config/enterprise-license.adoc[Add an Enterprise License]
192201
*** xref:console:config/connect-to-redpanda.adoc[Connect to Redpanda]
193202
*** xref:console:config/security/index.adoc[Security]
@@ -196,9 +205,9 @@
196205
**** xref:console:config/security/tls-termination.adoc[TLS Termination]
197206
*** xref:console:config/http-path-rewrites.adoc[HTTP Path Rewrites]
198207
*** xref:console:config/deserialization.adoc[Deserialization]
199-
*** xref:console:config/kafka-connect.adoc[Kafka Connect]
200208
*** xref:console:config/topic-documentation.adoc[Topic Documentation]
201209
*** xref:console:config/analytics.adoc[Telemetry]
210+
*** xref:console:config/kafka-connect.adoc[Kafka Connect]
202211
** xref:manage:recovery-mode.adoc[Recovery Mode]
203212
** xref:manage:rack-awareness.adoc[Rack Awareness]
204213
** xref:manage:monitoring.adoc[]

modules/console/pages/config/analytics.adoc

Lines changed: 68 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
= Redpanda Console Telemetry
2-
:description: Understand what telemetry Redpanda Console collects by default, how it is handled, and how to disable it.
2+
:description: Learn what telemetry Redpanda Console collects by default, how it is handled, and how to disable it.
33

44
Redpanda Console collects telemetry (analytics) data for purposes including product improvements and user experience optimization. This document explains what data is collected, how it is processed, and how you can disable telemetry if desired.
55

@@ -45,13 +45,79 @@ Telemetry data is processed with the following features:
4545

4646
== Disable telemetry
4747

48-
To turn off telemetry and user tracking, set the following in your Console configuration file:
48+
To turn off telemetry and user tracking, set the following in your Redpanda Console configuration:
49+
50+
[tabs]
51+
======
52+
Standalone::
53+
+
54+
--
4955
5056
[source,yaml]
5157
----
5258
analytics:
5359
enabled: false
5460
----
5561
62+
--
63+
64+
Kubernetes embedded::
65+
+
66+
--
67+
68+
When Redpanda Console is part of the Redpanda Helm chart or Operator:
69+
70+
[tabs]
71+
====
72+
Operator::
73+
+
74+
[,yaml]
75+
.`redpanda-cluster`.yaml
76+
----
77+
apiVersion: cluster.redpanda.com/v1alpha2
78+
kind: Redpanda
79+
metadata:
80+
name: redpanda
81+
spec:
82+
clusterSpec:
83+
console:
84+
enabled: true
85+
console:
86+
config:
87+
analytics:
88+
enabled: false
89+
----
90+
91+
Helm::
92+
+
93+
[,yaml]
94+
.`redpanda-values.yaml`
95+
----
96+
console:
97+
enabled: true
98+
console:
99+
config:
100+
analytics:
101+
enabled: false
102+
----
103+
====
104+
--
105+
Kubernetes standalone::
106+
+
107+
--
108+
109+
When using the standalone Redpanda Console Helm chart:
110+
111+
[,yaml]
112+
.`console-values.yaml`
113+
----
114+
config:
115+
analytics:
116+
enabled: false
117+
----
118+
119+
--
120+
======
121+
56122
Restart the Redpanda Console service to apply the change and stop all telemetry and user tracking.
57123

modules/console/pages/config/configure-console.adoc

Lines changed: 138 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
12
= Configure Redpanda Console
2-
:description: Redpanda Console configuration file with property descriptions.
3+
:description: Learn how to configure Redpanda Console using environment variables, YAML files, or command-line arguments.
34
:page-aliases: console:reference/config.adoc, reference:console/config.adoc
45
:page-context-switcher: [{"name": "Redpanda Console v2.x", "to": "24.3@ROOT:console:config/configure-console.adoc" },{"name": "Redpanda Console v3.x", "to": "current" } ]
56

@@ -8,25 +9,16 @@ include::console:partial$operator-console-version-note.adoc[]
89
Redpanda Console loads configuration properties from three sources, in the following order of precedence:
910

1011
. Environment variables
11-
. YAML file configuration (recommended)
12+
. YAML file configuration
1213
. Command-line arguments
1314

1415
Environment variables and YAML configurations can overwrite input that is set on the command line.
1516

16-
== YAML file configuration
17-
18-
The recommended configuration source is a YAML file. You can specify the path to the configuration file by setting either
19-
the `-config.filepath` flag or the `CONFIG_FILEPATH` environment variable.
20-
A reference configuration file is provided under <<Complete configuration file example>>.
21-
22-
In Linux package installations, this file is located in `/etc/redpanda/redpanda-console-config.yaml` by default and Redpanda Console is configured to read from this file path.
23-
24-
In containerized environments, ensure that the configuration file is mounted to a directory accessible by the Redpanda Console container. When the file is mounted, you can specify its file path using the `-config.filepath` flag or the `CONFIG_FILEPATH` environment variable.
17+
== Environment variable mapping
2518

26-
== Environment variables
19+
Configuration options can be set using environment variables. The key for the environment variable is auto-generated by converting the <<config-yaml, YAML equivalent>> to uppercase and adding an underscore for each indentation level.
2720

28-
Configuration options can be configured using environment variables. The key for the environment
29-
variable is auto-generated by converting the YAML equivalent to uppercase and adding an underscore for each indentation level. For example:
21+
For example:
3022

3123
[cols="1m,1m"]
3224
|===
@@ -46,19 +38,144 @@ For configuration properties that expect a list of values, use commas between ea
4638
KAFKA_BROKERS=redpanda-0:9092,redpanda-1:9092,redpanda-2:9092
4739
----
4840

49-
NOTE: You cannot use environment variables to configure object arrays, such as the configuration
50-
for Kafka Connect clusters. In this case, use a YAML file, and provide secrets using environment variables or command line arguments.
41+
NOTE: You cannot use environment variables to configure object arrays, such as the configuration for Kafka Connect clusters. In this case, use a YAML file, and provide secrets using environment variables or command line arguments.
42+
43+
== Platform-specific configuration
44+
45+
Redpanda Console can be deployed in several ways. The configuration method and file structure you use depends on your deployment scenario. Use the tabs on this page and throughout the docs to find the instructions and examples for your environment.
46+
47+
- **Standalone (binary, Docker, or systemd):**
48+
For users running Redpanda Console as a separate service, either on a VM, bare metal, or in a container (not managed by Kubernetes or the Redpanda Operator/Helm chart).
49+
- **Kubernetes embedded:**
50+
For users running Redpanda Console as part of a Redpanda cluster managed by the Redpanda Operator or the Redpanda Helm chart.
51+
- **Kubernetes standalone:**
52+
For users deploying Redpanda Console in Kubernetes using the dedicated Redpanda Console Helm chart (not as part of a Redpanda cluster).
53+
54+
[tabs]
55+
======
56+
Standalone::
57+
+
58+
--
59+
Use this method when deploying Redpanda Console as a standalone service (binary, Docker, or systemd).
60+
61+
The recommended configuration source is a YAML file. You can specify the path to the configuration file by setting either the `-config.filepath` flag or the `CONFIG_FILEPATH` environment variable.
62+
63+
In Linux package installations, this file is located in `/etc/redpanda/redpanda-console-config.yaml` by default and Redpanda Console is configured to read from this file path.
64+
65+
In containerized environments, ensure that the configuration file is mounted to a directory accessible by the Redpanda Console container. When the file is mounted, you can specify its file path using the `-config.filepath` flag or the `CONFIG_FILEPATH` environment variable.
66+
67+
--
68+
Kubernetes embedded::
69+
+
70+
--
71+
72+
Use this method when Redpanda Console is deployed as part of the Redpanda Helm chart or Redpanda Operator.
73+
74+
NOTE: When Redpanda Console is embedded in the Redpanda deployment, the Kafka broker configuration is automatically set to connect to the Redpanda cluster in the same deployment.
75+
76+
[tabs]
77+
====
78+
Operator::
79+
+
80+
Configure Redpanda Console in the `console` section of your Redpanda custom resource:
81+
+
82+
[,yaml]
83+
.`redpanda-cluster`.yaml
84+
----
85+
apiVersion: cluster.redpanda.com/v1alpha2
86+
kind: Redpanda
87+
metadata:
88+
name: redpanda
89+
spec:
90+
clusterSpec:
91+
console:
92+
enabled: true
93+
console:
94+
config:
95+
#kafka:
96+
#brokers: [] # Auto-configured to connect to this Redpanda cluster
97+
server:
98+
listenPort: 8080
99+
# Add any other Redpanda Console configuration here
100+
----
101+
+
102+
Apply the configuration:
103+
+
104+
[,bash]
105+
----
106+
kubectl apply -f redpanda-cluster.yaml --namespace <namespace>
107+
----
108+
109+
Helm::
110+
+
111+
Configure Redpanda Console in the `console` section of your Redpanda Helm values file:
112+
+
113+
[,yaml]
114+
.`redpanda-values.yaml`
115+
----
116+
console:
117+
enabled: true
118+
console:
119+
config:
120+
#kafka:
121+
#brokers: [] # Auto-configured to connect to this Redpanda cluster
122+
server:
123+
listenPort: 8080
124+
# Add any other Redpanda Console configuration here
125+
----
126+
+
127+
Apply the configuration:
128+
+
129+
[,bash]
130+
----
131+
helm upgrade --install redpanda redpanda/redpanda \
132+
--namespace <namespace> \
133+
--values redpanda-values.yaml
134+
----
135+
====
136+
--
137+
Kubernetes standalone::
138+
+
139+
--
140+
141+
Use this method when deploying Redpanda Console as a standalone service in Kubernetes using the dedicated Redpanda Console Helm chart.
51142
52-
include::shared:partial$community-supported-kc.adoc[]
143+
When using the standalone Redpanda Console Helm chart, configure Redpanda Console through the `config` section of your values file:
144+
145+
[,yaml]
146+
.`console-values.yaml`
147+
----
148+
config:
149+
kafka:
150+
brokers:
151+
- redpanda-0.redpanda.svc.cluster.local:9092
152+
- redpanda-1.redpanda.svc.cluster.local:9092
153+
server:
154+
listenPort: 8080
155+
# Add any other Redpanda Console configuration here
156+
----
157+
158+
Apply the configuration:
159+
160+
[,bash]
161+
----
162+
helm upgrade --install console redpanda/console \
163+
--namespace redpanda \
164+
--values console-values.yaml
165+
----
166+
167+
--
168+
======
53169

54170
== Docker Compose example
55171

56172
If you are using Docker Compose, you can mount the configuration file and set the environment variable in your `docker-compose.yml` file:
57173

58-
```yaml
174+
[,yaml,subs="attributes+"]
175+
----
59176
console:
60177
container_name: redpanda-console
61-
image: docker.redpanda.com/redpandadata/console:latest
178+
image: docker.redpanda.com/redpandadata/console:{latest-console-tag}
62179
entrypoint: /bin/sh
63180
command: -c 'echo "$$CONSOLE_CONFIG_FILE" > /tmp/config.yml
64181
volumes:
@@ -70,8 +187,9 @@ console:
70187
# See https://docs.redpanda.com/current/console/config/connect-to-redpanda/
71188
kafka:
72189
brokers: ["redpanda-0:9092","redpanda-1:9092","redpanda-2:9092"]
73-
```
190+
----
74191

192+
[[config-yaml]]
75193
== Complete configuration file example
76194

77195
The following YAML file contains a complete list of all Redpanda Console configuration properties and their descriptions. All values are default values.

0 commit comments

Comments
 (0)