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: modules/deploy/pages/console/kubernetes/deploy.adoc
+284-7Lines changed: 284 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,13 @@
1
1
= Deploy Redpanda Console on Kubernetes
2
-
:description: Deploy Redpanda Console on Kubernetes using Helm charts or YAML manifests.
2
+
:description: Deploy Redpanda Console on Kubernetes using the Redpanda Operator, Helm charts, or YAML manifests.
3
3
:env-kubernetes: true
4
+
:page-topic-type: how-to
5
+
:personas: platform_operator
6
+
:learning-objective-1: Deploy Redpanda Console on Kubernetes using the Redpanda Operator, Helm charts, or YAML manifests
7
+
:learning-objective-2: Configure TLS and SASL authentication for Redpanda Console
8
+
:learning-objective-3: Verify and scale a Redpanda Console deployment
4
9
5
-
This page shows you how to deploy Redpanda Console as a standalone service on Kubernetes using Helm charts or YAML manifests.
10
+
This page shows you how to deploy Redpanda Console as a standalone service on Kubernetes using the Redpanda Operator (Console custom resource), Helm charts, or YAML manifests.
6
11
7
12
[NOTE]
8
13
====
@@ -15,6 +20,11 @@ Use this standalone deployment guide only when you need to:
15
20
* Deploy multiple Redpanda Console instances for different environments.
16
21
====
17
22
23
+
After reading this page, you will be able to:
24
+
25
+
* [ ] {learning-objective-1}
26
+
* [ ] {learning-objective-2}
27
+
* [ ] {learning-objective-3}
18
28
19
29
== Prerequisites
20
30
@@ -23,6 +33,77 @@ Use this standalone deployment guide only when you need to:
23
33
24
34
== Install Redpanda Console
25
35
36
+
Choose your deployment method.
37
+
38
+
[tabs]
39
+
======
40
+
Operator::
41
+
+
42
+
--
43
+
44
+
The Redpanda Operator provides a `Console` custom resource (CR) that lets you deploy and manage Redpanda Console declaratively. The operator handles the lifecycle of the Console deployment, including creating the underlying Deployment, Service, and ConfigMap resources.
45
+
46
+
. Create a Console custom resource:
47
+
+
48
+
[,yaml]
49
+
.`console.yaml`
50
+
----
51
+
apiVersion: cluster.redpanda.com/v1alpha2
52
+
kind: Console
53
+
metadata:
54
+
name: redpanda-console
55
+
namespace: redpanda
56
+
spec:
57
+
cluster:
58
+
clusterRef: <1>
59
+
name: redpanda
60
+
replicaCount: 2 <2>
61
+
resources: <3>
62
+
requests:
63
+
cpu: 100m
64
+
memory: 512Mi
65
+
limits:
66
+
cpu: 4000m
67
+
memory: 2Gi
68
+
service: <4>
69
+
type: LoadBalancer
70
+
port: 8080
71
+
ingress: <5>
72
+
enabled: true
73
+
annotations:
74
+
cert-manager.io/cluster-issuer: letsencrypt-prod
75
+
className: nginx
76
+
hosts:
77
+
- host: console.example.com
78
+
paths:
79
+
- path: /
80
+
pathType: Prefix
81
+
tls:
82
+
- secretName: console-tls
83
+
hosts:
84
+
- console.example.com
85
+
----
86
+
+
87
+
<1> Reference to your Redpanda cluster CR. The operator automatically configures broker addresses, TLS, and authentication based on the referenced cluster. If your Redpanda cluster is not managed by the operator, use `staticConfiguration` instead of `clusterRef`. See the TLS section for `staticConfiguration` examples.
88
+
<2> For production, run at least two replicas for high availability and rolling upgrades.
89
+
<3> Adjust resource requests and limits based on your expected workload and available node resources.
90
+
<4> Use `LoadBalancer` for cloud environments or when you want Redpanda Console to be accessible from outside the cluster. Use `ClusterIP` for internal-only access.
91
+
<5> Enable and configure Ingress if you want to expose Redpanda Console using a domain name and use TLS/HTTPS. Make sure your cluster has an Ingress controller installed.
The operator reconciles the Console CR and creates the necessary Deployment, Service, and ConfigMap resources.
101
+
102
+
--
103
+
Helm::
104
+
+
105
+
--
106
+
26
107
. Create a values file:
27
108
+
28
109
The values file is where you configure how Redpanda Console connects to your Redpanda or Kafka cluster. You must specify the broker addresses in the `config.kafka.brokers` section.
Redpanda Console will now connect securely to your Redpanda cluster using TLS. For production, set `insecureSkipTlsVerify: false` and use a trusted CA.
298
+
Redpanda Console now connects securely to your Redpanda cluster using TLS. For production, set `insecureSkipTlsVerify: false` and use a trusted CA.
154
299
300
+
--
301
+
======
155
302
156
303
== Deploy Redpanda Console as standalone service with YAML manifests
Make sure to configure the following settings in your values file or ConfigMap:
424
+
Make sure to configure the following settings in your Console CR, values file, or ConfigMap:
278
425
279
426
=== Connect to Redpanda
280
427
281
-
Configure the connection to your Redpanda cluster by setting the broker addresses in your values file or ConfigMap.
428
+
Configure the connection to your Redpanda cluster by setting the broker addresses in your Console CR or values file.
282
429
283
430
See xref:console:config/connect-to-redpanda.adoc[].
284
431
@@ -290,6 +437,70 @@ For production deployments, configure:
290
437
* **SASL authentication**: Configure SASL if Redpanda uses authentication
291
438
* **RBAC**: Set up role-based access control
292
439
440
+
Configure authentication based on your deployment method.
441
+
442
+
[tabs]
443
+
======
444
+
Operator::
445
+
+
446
+
--
447
+
448
+
When you use `clusterRef`, the operator automatically inherits SASL and TLS settings from the referenced Redpanda cluster. No additional Console configuration is needed.
449
+
450
+
To configure SASL manually with `staticConfiguration`:
0 commit comments