Skip to content

Commit 30189fa

Browse files
authored
DOC-3707 Attributes v 0.2.0 (#38)
* attributes * fix some pulsar-stack and pulsar-operator * missed a possessive
1 parent 39bf5dc commit 30189fa

15 files changed

Lines changed: 80 additions & 76 deletions

File tree

antora.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ nav:
88

99
asciidoc:
1010
attributes:
11+
company: 'DataStax'
1112
protocol_version: '2.10'
1213
pulsar-operator: 'KAAP Operator'
1314
pulsar-operator-full-name: 'Kubernetes Autoscaling for Apache Pulsar (KAAP)'
1415
pulsar-stack: 'KAAP stack'
16+
pulsar: 'Apache Pulsar'
17+
pulsar-short: 'Pulsar'
18+
pulsar-reg: 'Apache Pulsar(TM)'

modules/ROOT/pages/index.adoc

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
= {pulsar-operator-full-name}
22
:navtitle: About {pulsar-operator-full-name}
33

4-
{pulsar-operator-full-name} simplifies running https://pulsar.apache.org[Apache Pulsar] on Kubernetes by applying the familiar https://kubernetes.io/docs/concepts/extend-kubernetes/operator/[Operator pattern] to Pulsar's components, and horizonally scaling resources up or down based on CPU and memory workloads.
4+
{pulsar-operator-full-name} simplifies running https://pulsar.apache.org[{pulsar-reg}] on Kubernetes by applying the familiar https://kubernetes.io/docs/concepts/extend-kubernetes/operator/[Operator pattern] to the {pulsar-short} components, and horizontally scaling resources up or down based on CPU and memory workloads.
55

6-
Operating and maintaining Apache Pulsar clusters traditionally involves complex manual configurations, making it challenging for developers and operators to effectively manage the system's lifecycle. However, with the KAAP operator, these complexities are abstracted away, enabling developers to focus on their applications rather than the underlying infrastructure.
6+
Operating and maintaining {pulsar} clusters traditionally involves complex manual configurations, making it challenging for developers and operators to effectively manage the system's lifecycle. However, with the {pulsar-operator}, these complexities are abstracted away, enabling developers to focus on their applications rather than the underlying infrastructure.
77

8-
Some of the key features and benefits of the KAAP operator include:
8+
Some of the key features and benefits of the {pulsar-operator} include:
99

10-
- **Easy Deployment**: Deploying an Apache Pulsar cluster on Kubernetes is simplified through declarative configurations and automation provided by the operator.
10+
- **Easy Deployment**: Deploying an {pulsar} cluster on Kubernetes is simplified through declarative configurations and automation provided by the operator.
1111
12-
- **Scalability**: The KAAP operator enables effortless scaling of Pulsar clusters by automatically handling the creation and configuration of new Pulsar brokers and bookies as per defined rules. The broker autoscaling is integrated with the Pulsar broker load balancer to make smart resource management decisions, and bookkeepers are scaled up and down based on storage usage in a safe, controlled manner.
12+
- **Scalability**: The {pulsar-operator} enables effortless scaling of {pulsar-short} clusters by automatically handling the creation and configuration of new {pulsar-short} brokers and bookies as per defined rules. The broker autoscaling is integrated with the {pulsar-short} broker load balancer to make smart resource management decisions, and bookkeepers are scaled up and down based on storage usage in a safe, controlled manner.
1313
14-
- **High Availability**: The operator implements best practices for high availability, ensuring that Pulsar clusters are fault-tolerant and can sustain failures without service disruptions.
14+
- **High Availability**: The operator implements best practices for high availability, ensuring that {pulsar-short} clusters are fault-tolerant and can sustain failures without service disruptions.
1515
16-
- **Lifecycle Management**: The operator takes care of common Pulsar cluster lifecycle tasks, such as cluster creation, upgrade, configuration updates, and graceful shutdowns.
16+
- **Lifecycle Management**: The operator takes care of common {pulsar-short} cluster lifecycle tasks, such as cluster creation, upgrade, configuration updates, and graceful shutdowns.
1717
18-
We also offer the xref:getting-started:stack.adoc[{pulsar-stack}] if you're looking for more Kubernetes-native tooling deployed with your Pulsar cluster. Along with the PulsarCluster CRDs, KAAP stack also includes:
18+
We also offer the xref:getting-started:stack.adoc[{pulsar-stack}] if you're looking for more Kubernetes-native tooling deployed with your {pulsar-short} cluster. Along with the PulsarCluster CRDs, {pulsar-stack} also includes:
1919

20-
* Pulsar Operator
20+
* {pulsar-operator}
2121
* Prometheus Stack (Grafana)
22-
* Pulsar Grafana dashboards
22+
* {pulsar-short} Grafana dashboards
2323
* Cert Manager
2424
* Keycloak
2525
26-
Whether you are a developer looking to leverage the power of Apache Pulsar in your Kubernetes environment or an operator seeking to streamline the management of Pulsar clusters, the {pulsar-operator} provides a robust and user-friendly solution.
26+
Whether you are a developer looking to leverage the power of {pulsar} in your Kubernetes environment or an operator seeking to streamline the management of {pulsar-short} clusters, the {pulsar-operator} provides a robust and user-friendly solution.
2727

2828
This guide offers a starting point for {pulsar-operator}.
29-
We will cover installation and deployment, configuration points, and further options for managing Pulsar components with the {pulsar-operator}.
29+
We will cover installation and deployment, configuration points, and further options for managing {pulsar-short} components with the {pulsar-operator}.
3030

3131
[NOTE]
3232
====
@@ -36,65 +36,65 @@ If you're upgrading from KAAP v0.1.0 to v0.2.0, you must upgrade the CRDs to v1b
3636
== Features
3737

3838
After a new custom resource type is added to your cluster by installing a CRD, you can create instances of the resource based on its specification.
39-
The Kubernetes API can be extended to support the new resource type, automating away the tedious aspects of managing a Pulsar cluster.
39+
The Kubernetes API can be extended to support the new resource type, automating away the tedious aspects of managing a {pulsar-short} cluster.
4040

4141
* xref:scaling-components:autoscale-bookies.adoc[Bookkeeper autoscaler] - Automatically scale the number of bookies based on memory usage.
4242
* xref:scaling-components:autoscale-brokers.adoc[Broker autoscaler] - Automatically scale the number of brokers based on CPU load.
4343
* xref:resource-sets:index.adoc[Rack-aware bookkeeper placement] - Place bookies in different racks to guarantee high availability.
44-
* xref:scaling-components:kafka.adoc[Kafka API] - Use the Starlight for Kafka API to bring your Kafka message traffic to Pulsar.
44+
* xref:scaling-components:kafka.adoc[Kafka API] - Use the Starlight for Kafka API to bring your Kafka message traffic to {pulsar-short}.
4545

46-
== How {pulsar-operator} makes Pulsar easier
46+
== How {pulsar-operator} makes {pulsar-short} easier
4747

4848
Operators are a common pattern for packaging, deploying, and managing Kubernetes applications.
4949
Operators extend Kubernetes functionality to automate common tasks in stateful applications.
50-
Think of {pulsar-operator} as a manager for the individual components of Pulsar. By implementing the pulsarCluster Custom Resource Definition, the operator knows enough to manage the deployment, configuration, and scaling of Pulsar components with re-usable and automated tasks, such as:
50+
Think of {pulsar-operator} as a manager for the individual components of {pulsar-short}. By implementing the pulsarCluster Custom Resource Definition, the operator knows enough to manage the deployment, configuration, and scaling of {pulsar-short} components with re-usable and automated tasks, such as:
5151

52-
* Deploying a Pulsar cluster
52+
* Deploying a {pulsar-short} cluster
5353
* Deploying monitoring and logging components
5454
* Autoscaling bookies based on memory usage, or brokers based on CPU load
5555
* Assigning resources to specific availability zones (AZs)
5656

5757
{pulsar-operator} is configured, deployed, and packaged with Helm charts and based on the https://quarkiverse.github.io/quarkiverse-docs/quarkus-operator-sdk/dev/index.html[Quarkus Operator SDK].
5858

59-
== Pulsar component architecture
59+
== {pulsar-short} component architecture
6060

61-
A typical Pulsar cluster *requires* the following components:
61+
A typical {pulsar-short} cluster *requires* the following components:
6262

63-
* https://pulsar.apache.org/docs/concepts-architecture-overview/#metadata-store[Zookeeper] - This is Pulsar’s meta data store. It stores data about a clusters configuration, helps the proxy direct messages to the correct broker, and holds Bookie configurations.
63+
* https://pulsar.apache.org/docs/concepts-architecture-overview/#metadata-store[Zookeeper] - This is the {pulsar-short} metadata store. It stores data about a cluster's configuration, helps the proxy direct messages to the correct broker, and holds Bookie configurations.
6464

65-
* https://pulsar.apache.org/docs/concepts-architecture-overview/#brokers[Broker] - This is Pulsar's message router.
65+
* https://pulsar.apache.org/docs/concepts-architecture-overview/#brokers[Broker] - This is the {pulsar-short} message router.
6666

67-
* https://pulsar.apache.org/docs/concepts-architecture-overview/#apache-bookkeeper[Bookkeeper (bookie)] - This is Pulsar’s data store.
67+
* https://pulsar.apache.org/docs/concepts-architecture-overview/#apache-bookkeeper[Bookkeeper (bookie)] - This is the {pulsar-short} data store.
6868
Bookkeeper stores message data in a low-latency, resilient way.
6969

7070
In addition to the required components, you might want to include some *optional components*:
7171

72-
* https://bookkeeper.apache.org/docs/admin/autorecovery[Bookkeeper AutoRecovery] - This is a Pulsar component that recovers Bookkeeper data in the event of a bookie outage.
73-
* https://pulsar.apache.org/docs/concepts-architecture-overview/#pulsar-proxy[Pulsar proxy] - The Pulsar proxy is just that - a proxy that runs at the edge of the cluster with public facing endpoints.
74-
Pulsar proxy also offers special options for cluster extensions, like our [Starlight Suite of APIs].
75-
* https://pulsar.apache.org/docs/functions-worker-run-separately/[Dedicated functions worker(s)] - You can optionally run dedicated function workers in a Pulsar cluster.
76-
* xref:luna-streaming:components:admin-console-tutorial.adoc[Pulsar AdminConsole] - This is an optional web-based admin console for managing Pulsar clusters.
77-
* xref:luna-streaming:components:heartbeat-vm.adoc[Pulsar Heartbeat] - This is an optional component that monitors the health of Pulsar cluster and emits metrics about the cluster that are helpful for observing and debugging issues.
72+
* https://bookkeeper.apache.org/docs/admin/autorecovery[Bookkeeper AutoRecovery] - This is a {pulsar-short} component that recovers Bookkeeper data in the event of a bookie outage.
73+
* https://pulsar.apache.org/docs/concepts-architecture-overview/#pulsar-proxy[{pulsar-short} proxy] - The {pulsar-short} proxy is just that - a proxy that runs at the edge of the cluster with public facing endpoints.
74+
{pulsar-short} proxy also offers special options for cluster extensions, like our [Starlight Suite of APIs].
75+
* https://pulsar.apache.org/docs/functions-worker-run-separately/[Dedicated functions worker(s)] - You can optionally run dedicated function workers in a {pulsar-short} cluster.
76+
* xref:luna-streaming:components:admin-console-tutorial.adoc[{pulsar-short} AdminConsole] - This is an optional web-based admin console for managing {pulsar-short} clusters.
77+
* xref:luna-streaming:components:heartbeat-vm.adoc[{pulsar-short} Heartbeat] - This is an optional component that monitors the health of {pulsar-short} cluster and emits metrics about the cluster that are helpful for observing and debugging issues.
7878
* Prometheus/Grafana/Alert manager stack - This is the default observability stack for a cluster. The Luna Helm chart includes pre-made dashboards in Grafana and pre-wires all the metrics scraping.
7979

80-
To enable these optional components, set them in the Helm chart values. For example, to enable the Pulsar Admin Console in your KAAP stack deployment, add the following configuration to your https://github.com/datastax/kaap/blob/755807d3744735b6f6ae0400365e159e5dcf5dd0/helm/kaap-stack/values.yaml#L25C1-L26C17[values.yaml] file:
80+
To enable these optional components, set them in the Helm chart values. For example, to enable the {pulsar-short} Admin Console in your {pulsar-stack} deployment, add the following configuration to your https://github.com/datastax/kaap/blob/755807d3744735b6f6ae0400365e159e5dcf5dd0/helm/kaap-stack/values.yaml#L25C1-L26C17[values.yaml] file:
8181
[source,yaml]
8282
----
8383
pulsarAdminConsole:
8484
enabled: true
8585
----
8686

87-
== How {pulsar-operator} installs Pulsar
87+
== How {pulsar-operator} installs {pulsar-short}
8888

8989
{pulsar-operator} can be installed in two ways.
9090

91-
* xref:getting-started:operator.adoc[Pulsar Operator] - Installs just the operator and PulsarCluster CRDs into an existing Pulsar cluster.
91+
* xref:getting-started:operator.adoc[{pulsar-operator}] - Installs just the operator and PulsarCluster CRDs into an existing {pulsar-short} cluster.
9292

93-
* xref:getting-started:stack.adoc[Pulsar Stack] - Installs and deploys the operator, a Pulsar cluster, and a full Prometheus monitoring stack.
93+
* xref:getting-started:stack.adoc[{pulsar-stack}] - Installs and deploys the operator, a {pulsar-short} cluster, and a full Prometheus monitoring stack.
9494

9595
[TIP]
9696
====
97-
You can also scan an existing Pulsar cluster and generate an equivalent PulsarCluster CRD. For more, see xref:migration:migrate-cluster.adoc[].
97+
You can also scan an existing {pulsar-short} cluster and generate an equivalent PulsarCluster CRD. For more, see xref:migration:migrate-cluster.adoc[].
9898
====
9999

100100
To get started, see xref:getting-started:index.adoc[Getting Started].

modules/authentication/pages/auth-tls.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
= TLS communication
22

3-
You can enable TLS communication for each component in the Pulsar cluster, or you can enable it only for specific components.
3+
You can enable TLS communication for each component in the {pulsar-short} cluster, or you can enable it only for specific components.
44
Each component has its own dedicated configuration section, but they're all under the `global.tls` section.
55
Once the TLS setup is done, the operator updates the components configuration to use TLS.
66

modules/getting-started/pages/index.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
* xref:getting-started:operator.adoc[{pulsar-operator}] - Installs just the operator pod and PulsarCluster CRDs.
66
7-
* xref:getting-started:stack.adoc[{pulsar-stack}] - Installs and deploys the operator, a Pulsar cluster, and a full Prometheus monitoring stack.
7+
* xref:getting-started:stack.adoc[{pulsar-stack}] - Installs and deploys the operator, a {pulsar-short} cluster, and a full Prometheus monitoring stack.
88
99
[TIP]
1010
====
11-
If you have an existing Pulsar cluster, you can scan and generate an equivalent PulsarCluster CRD. For more, see xref:migration:migrate-cluster.adoc[].
11+
If you have an existing {pulsar-short} cluster, you can scan and generate an equivalent PulsarCluster CRD. For more, see xref:migration:migrate-cluster.adoc[].
1212
====

modules/getting-started/pages/operator.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ You can install just the operator and the PulsarCluster CRDs, or you can install
66
[#operator]
77
== Install {pulsar-operator}
88

9-
Install the DataStax Helm repository:
9+
Install the {company} Helm repository:
1010

1111
[source,shell]
1212
----
1313
helm repo add kaap https://datastax.github.io/kaap
1414
helm repo update
1515
----
1616

17-
. Download the https://github.com/datastax/kaap/releases/latest[KAAP Operator Helm chart].
17+
. Download the https://github.com/datastax/kaap/releases/latest[{pulsar-operator} Helm chart].
1818

19-
. Install the KAAP operator Helm chart:
19+
. Install the {pulsar-operator} Helm chart:
2020
+
2121
[source,shell]
2222
----
@@ -30,7 +30,7 @@ REVISION: 1
3030
TEST SUITE: None
3131
----
3232

33-
. Ensure KAAP operator is up and running:
33+
. Ensure {pulsar-operator} is up and running:
3434
+
3535
[source,shell]
3636
----
@@ -115,7 +115,7 @@ Events:
115115
You've now installed KAAP.
116116
+
117117
By default, when KAAP is installed, the PulsarCluster CRDs are also created.
118-
This setting is defined in the Pulsar operator values.yaml file as `crd: create: true`.
118+
This setting is defined in the {pulsar-operator} values.yaml file as `crd: create: true`.
119119
120120
. Get the available CRDs:
121121
+

modules/getting-started/pages/stack.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ Need more monitoring and management capabilities?
44
Check out the {pulsar-stack}.
55
{pulsar-stack} includes:
66

7-
* Pulsar Operator
7+
* {pulsar-operator}
88
* Prometheus Stack (Grafana)
9-
* Pulsar Grafana dashboards
9+
* {pulsar-short} Grafana dashboards
1010
* Cert Manager
1111
* Keycloak
1212
1313
To install a PulsarCluster with the {pulsar-stack} included, do the following:
1414

15-
. Install the DataStax Helm repository:
15+
. Install the {company} Helm repository:
1616
+
1717
[source,shell]
1818
----
@@ -133,7 +133,7 @@ You've now installed {pulsar-stack}.
133133
134134
== Uninstall
135135
136-
Uninstall the KAAP operator and the cluster:
136+
Uninstall the {pulsar-operator} and the cluster:
137137
138138
[source,shell]
139139
----

modules/getting-started/pages/upgrades.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ stateDiagram-v2
4343

4444
== Upgrade example
4545

46-
For this example, assume you installed the operator and a Pulsar cluster with the following yaml file:
46+
For this example, assume you installed the operator and a {pulsar-short} cluster with the following yaml file:
4747

4848
[source,shell]
4949
----

modules/migration/pages/migrate-cluster.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
= Migrate existing cluster to KAAP operator
1+
= Migrate existing cluster to {pulsar-operator}
22

3-
Migrating an existing Apache Pulsar cluster to one controlled by the {pulsar-operator} is a manual process, but we've included a migration tool to help you along the way.
3+
Migrating an existing {pulsar-reg} cluster to one controlled by the {pulsar-operator} is a manual process, but we've included a migration tool to help you along the way.
44

5-
The migration tool is a CLI application that connects to an existing Apache Pulsar cluster and generates a valid and equivalent PulsarCluster CRD.
5+
The migration tool is a CLI application that connects to an existing {pulsar} cluster and generates a valid and equivalent PulsarCluster CRD.
66
The migration tool simulates what would happen if the generated PulsarCluster would be submitted, retrieves the Kubernetes resources that would be created, and compares them with the existing cluster's resources, generating a detailed HTML report.
77
You can then examine the report and decide if you want to proceed with the cluster migration, or if you need to make some changes first.
88

99
== Prerequisites
1010

1111
* Java 17
12-
* An existing Apache Pulsar cluster
12+
* An existing {pulsar} cluster
1313
* Migration-tool JAR downloaded from the https://github.com/datastax/kaap/releases[latest release].
1414

1515
== Scan and generate cluster CRDs
@@ -42,7 +42,7 @@ CURRENT NAME CLUSTER
4242
+
4343
Before running the migration tool, {company} recommends switching to K8's current context and ensuring connectivity, such as with `kubectl get pods`.
4444

45-
.. The `namespace` is the namespace with the Apache Pulsar resources you wish to scan.
45+
.. The `namespace` is the namespace with the {pulsar} resources you wish to scan.
4646

4747
.. The `clusterName` is the prefix of each pod.
4848
For example, if the broker pod is `pulsar-prod-cluster-broker-0`, then the `clusterName` is `pulsar-prod-cluster`.
@@ -54,7 +54,7 @@ For example, if the broker pod is `pulsar-prod-cluster-broker-0`, then the `clus
5454
java -jar migration-tool.jar generate -i input-cluster-specs.yaml -o output
5555
----
5656

57-
. Find the link to the generated report in the logs, open the generated report in your browser, and then examine the differences between the existing cluster and the KAAP operator.
57+
. Find the link to the generated report in the logs, open the generated report in your browser, and then examine the differences between the existing cluster and the {pulsar-operator}.
5858
+
5959
If everything looks good, proceed to the <<migration-procedure,migration procedure>>.
6060
+

modules/resource-sets/pages/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
= Resource sets
22

3-
The operator allows you to create multiple sets of Pulsar proxies, brokers, and bookies, called resource sets.
3+
The operator allows you to create multiple sets of {pulsar-short} proxies, brokers, and bookies, called resource sets.
44
Each set is a dedicated deployment/statefulset with its own service and configmap.
55
When multiple sets are specified, an umbrella service is created as the main entrypoint of the cluster, but otherwise, a dedicated service is created for each set. You can customize the service per set - for example, you might assign different DNS domains for each resource set.
66

0 commit comments

Comments
 (0)