Skip to content

Instantly share code, notes, and snippets.

namespace: pulsar-demo3
tls:
enabled: true
proxy:
enabled: true
certs:
internal_issuer:
enabled: true
namespace: pulsar-demo2
tls:
enabled: false
proxy:
enabled: false
zookeeper:
replicaCount: 3
resources:
@rockybean
rockybean / demo.md
Created August 3, 2021 03:10
StreamNative Platform Demo Script
@rockybean
rockybean / docker-compose.yaml
Created July 25, 2021 02:16
Pulsar Docker Compose File
version: '3.4'
networks:
pulsar:
driver: bridge
services:
zk1:
container_name: zk1
@rockybean
rockybean / pulsar_operator_cluster_example.yaml
Last active May 19, 2021 04:06
pulsar_operator_cluster_example
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: test-broker
namespace: matrix
---
apiVersion: zookeeper.streamnative.io/v1alpha1
kind: ZooKeeperCluster
metadata:
@rockybean
rockybean / local-volume-provisioner.yaml
Created May 19, 2021 03:00
local-volume-provisioner-generate-example
---
# Source: provisioner/templates/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: local-volume-provisioner
namespace: kube-system
labels:
helm.sh/chart: provisioner-2.5.0
app.kubernetes.io/name: provisioner
@rockybean
rockybean / iam-policy
Created May 11, 2021 03:32
iam policy for cluster provisioning
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "",
"Effect": "Allow",
"Action": "ec2:DescribeAccountAttributes",
"Resource": "*"
},
{
@rockybean
rockybean / bulk_rejections.md
Created October 23, 2019 08:58 — forked from cdahlqvist/bulk_rejections.md
rally-bulk-rejections-track

Bulk Rejections Test

This Rally track is used to test the relationship between bulk indexing rejections and the following parameters:

  • Number of concurrent clients indexing into Elasticsearch
  • Number of shards actively being indexed into
  • Number of data nodes in the cluster
  • Size of bulk requests

The track contains a number of challenges, each indexing into an index with a set number of shards using a increasing number of concurrent client connections and two different bulk sizes.

@rockybean
rockybean / es_node_stats_fs
Created January 22, 2019 15:04
elasticsearch node stats fs
{
"_nodes": {
"total": 3,
"successful": 3,
"failed": 0
},
"cluster_name": "61657d98b1454298aac2fefbb2f00e91",
"nodes": {
"pQdNfyCJQC2lvG5wxmtWig": {
"timestamp": 1548169455122,
@rockybean
rockybean / ece-zk-log
Last active January 17, 2019 00:54
ece zookeeper log
2019-01-16 13:04:08,419 [myid:12] - WARN [QuorumPeer[myid=12](plain=/0.0.0.0:2193)(secure=disabled):Follower@95] - Exception when following the leader
java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:392)
at org.apache.jute.BinaryInputArchive.readInt(BinaryInputArchive.java:63)
at org.apache.zookeeper.server.quorum.QuorumPacket.deserialize(QuorumPacket.java:83)
at org.apache.jute.BinaryInputArchive.readRecord(BinaryInputArchive.java:99)
at org.apache.zookeeper.server.quorum.Learner.readPacket(Learner.java:155)
at org.apache.zookeeper.server.quorum.Follower.followLeader(Follower.java:91)
at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:1133)