Skip to content

Commit d0bd03e

Browse files
committed
cache
1 parent e36ef30 commit d0bd03e

File tree

6 files changed

+17
-48
lines changed

6 files changed

+17
-48
lines changed

addons-cluster/redis/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ storage: 20
4040

4141
# custom password of default user for redis by passing a secret
4242
# the secret must contain keys named 'username' and 'password'
43-
customSecretName: ""
43+
customSecretName: ""ad
4444
customSecretNamespace: ""
4545

4646
## @param twemproxy.enable

addons/elasticsearch/README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ metadata:
166166
spec:
167167
terminationPolicy: Delete
168168
componentSpecs:
169-
- name: data
169+
- name: dit
170170
componentDef: elasticsearch-8
171171
serviceVersion: 8.8.2
172172
configs:
@@ -893,6 +893,15 @@ metadata:
893893
labels: # this is labels set in `prometheus.spec.podMonitorSelector`
894894
release: prometheus
895895
spec:
896+
jobLabel: app.kubernetes.io/managed-by
897+
# defines the labels which are transferred from the
898+
# associated Kubernetes `Pod` object onto the ingested metrics
899+
# set the lables w.r.t you own needs
900+
podTargetLabels:
901+
- app.kubernetes.io/instance
902+
- app.kubernetes.io/managed-by
903+
- apps.kubeblocks.io/component-name
904+
- apps.kubeblocks.io/pod-name
896905
podMetricsEndpoints:
897906
- path: /metrics
898907
port: metrics

addons/kafka/README.md

Lines changed: 3 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Before starting, ensure you have:
6161

6262
#### Quick Start
6363

64-
Create a Kafka cluster with controller , broker and a exporter components:
64+
Create a Kafka cluster with controller, broker and a exporter components:
6565

6666
```yaml
6767
# cat examples/kafka/cluster-separated.yaml
@@ -678,7 +678,7 @@ spec:
678678
apiVersion: monitoring.coreos.com/v1
679679
kind: PodMonitor
680680
metadata:
681-
name: kafka-jmx-pod-monitor
681+
name: kafka-pod-monitor
682682
namespace: demo
683683
labels: # this is labels set in `prometheus.spec.podMonitorSelector`
684684
release: prometheus
@@ -702,50 +702,10 @@ spec:
702702
selector:
703703
matchLabels:
704704
app.kubernetes.io/instance: kafka-separated-cluster
705-
apps.kubeblocks.io/component-name: kafka-controller
706705
```
707706
708707
```bash
709-
kubectl apply -f examples/kafka/jvm-pod-monitor.yaml
710-
```
711-
712-
- Pod Monitor for Kafka Exporter:
713-
714-
```yaml
715-
# cat examples/kafka/exporter-pod-monitor.yaml
716-
717-
apiVersion: monitoring.coreos.com/v1
718-
kind: PodMonitor
719-
metadata:
720-
name: kafka-exporter-pod-monitor
721-
namespace: demo
722-
labels: # this is labels set in `prometheus.spec.podMonitorSelector`
723-
release: prometheus
724-
spec:
725-
jobLabel: app.kubernetes.io/managed-by
726-
# defines the labels which are transferred from the
727-
# associated Kubernetes `Pod` object onto the ingested metrics
728-
# set the lables w.r.t you own needs
729-
podTargetLabels:
730-
- app.kubernetes.io/instance
731-
- app.kubernetes.io/managed-by
732-
- apps.kubeblocks.io/component-name
733-
- apps.kubeblocks.io/pod-name
734-
podMetricsEndpoints:
735-
- path: /metrics
736-
port: metrics
737-
scheme: http
738-
namespaceSelector:
739-
matchNames:
740-
- demo
741-
selector:
742-
matchLabels:
743-
app.kubernetes.io/instance: kafka-separated-cluster
744-
apps.kubeblocks.io/component-name: kafka-exporter
745-
```
746-
747-
```bash
748-
kubectl apply -f examples/kafka/exporter-pod-monitor.yaml
708+
kubectl apply -f examples/kafka/kafka-pod-monitor.yaml
749709
```
750710

751711
#### 2. Grafana Dashboard Setup

addons/rabbitmq/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ kubectl apply -f examples/rabbitmq/expose-enable.yaml
671671
- Option 2. Use port-forwarding:
672672

673673
```bash
674-
kubectl port-forward svc/rabbitmq-cluster-rabbitmq 15672:15672
674+
kubectl port-forward svc/rabbitmq-cluster-rabbitmq -ndemo 15672:15672
675675
```
676676

677677
Then log in to the RabbitMQ Management console at `http://<localhost>:<port>/` with the user and password.

examples/kafka/cluster-separated.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ spec:
2727
# This field allows for detailed configuration of each Component within the Cluster
2828
componentSpecs:
2929
- name: kafka-broker
30-
replicas: 3
30+
replicas: 1
3131
resources:
3232
limits:
3333
cpu: "0.5"

examples/mongodb/restore-pitr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
# NOTE: replace <ENCRYPTED-SYSTEM-ACCOUNTS> with the accounts info from you backup
88
# NOTE: replace <CONTINUOUS_BACKUP_NAME> with the continuouse backup name
99
# NOTE: replace <RESTORE_POINT_TIME> with a valid time within the backup timeRange.
10-
kubeblocks.io/restore-from-backup: '{"redis":{"encryptedSystemAccounts":"<ENCRYPTED-SYSTEM-ACCOUNTS>","name":"<CONTINUOUS_BACKUP_NAME>","namespace":"demo","restoreTime":"<RESTORE_POINT_TIME>","volumeRestorePolicy":"Parallel"}}'
10+
kubeblocks.io/restore-from-backup: '{"mongodb":{"encryptedSystemAccounts":"<ENCRYPTED-SYSTEM-ACCOUNTS>","name":"<CONTINUOUS_BACKUP_NAME>","namespace":"demo","restoreTime":"<RESTORE_POINT_TIME>","volumeRestorePolicy":"Parallel"}}'
1111
spec:
1212
terminationPolicy: Delete
1313
clusterDef: mongodb

0 commit comments

Comments
 (0)