Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge upstream #7

Open
wants to merge 78 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
8cb3c18
Allow Proxy and Broker HPA to specify scaling policies on scaleUp or …
frankjkelly Sep 15, 2023
9542c7b
Use container ports for proxy stateful set probes (#410)
emre-aydin Dec 11, 2023
d1729e8
fix issue https://github.com/apache/pulsar-manager/issues/505 (#385)
jak78 Dec 11, 2023
fba51bd
Lowered BOOKIE_MEM and PULSAR_MEM in init containers (#386)
MichalKoziorowski-TomTom Dec 11, 2023
e349bc5
Update common_auth.sh (#243)
rrva Dec 11, 2023
a8d667a
Correct Keytool env generation (#375)
mnit016 Dec 11, 2023
608b51e
Bump appVersion to 3.0.2 (#413)
lhotari Dec 11, 2023
89da2b2
Zookeeper replicas: adhere to own recommendations (#336)
MisterTimn Dec 11, 2023
8167d22
Run CI tests with k8s 1.21 and 1.27 and bump tool versions (#414)
lhotari Dec 11, 2023
08bac44
Remove RELEASE_NOTES.md
lhotari Dec 11, 2023
a7247b6
Bump chart version to 3.1.0
lhotari Dec 11, 2023
7f84d6e
Revisit release process
lhotari Dec 11, 2023
91178e8
Revisit release process
lhotari Dec 11, 2023
2757074
Update default versions in ct.sh
lhotari Dec 11, 2023
2afd5ce
Update RELEASE.md
lhotari Dec 19, 2023
ccf443c
Update RELEASE.md
lhotari Dec 19, 2023
d963056
Update RELEASE.md
lhotari Dec 19, 2023
99380d9
Improve clarity of release instructions
lhotari Dec 21, 2023
ad32dfe
Update helm chart index release instructions
lhotari Dec 21, 2023
434de4b
Add instructions for generating the release notes in GitHub UI
lhotari Dec 21, 2023
7bdce5b
Release note template improvements
lhotari Dec 21, 2023
0b2d9b4
Decouple Service account creation from PodSecurityPolicy (#387)
frankjkelly Dec 21, 2023
14c048e
Share common parts of the values files used in CI (#415)
lhotari Dec 21, 2023
a725188
feat: added support for tolerations for the init jobs (#399)
kovaxur Dec 21, 2023
eedc21d
feat: add metricsRelabelings on podMonitor (#406)
lenglet-k Dec 21, 2023
0a45f77
Run CI on pushes to master branch
lhotari Dec 21, 2023
066b40c
Fix linting errors
lhotari Dec 21, 2023
76fb0bb
docs: Update README for PodDisruptionBudget issue during Pulsar upgra…
nrashok Dec 22, 2023
8061a8b
add loadBalancerIP support for proxy service (#421)
hadican Dec 29, 2023
62569f4
Fail the chart-testing job if linting fails (#429)
lhotari Jan 15, 2024
04b8cce
Resource specs for Init Containers (#428)
Mortom123 Jan 15, 2024
c094322
feat: add imagePullSecrets in Job (#404)
lenglet-k Jan 15, 2024
e54354d
feat: add externalTrafficPolicy and loadBalancerSourceRanges (#405)
lenglet-k Jan 15, 2024
f20756a
Support configuring "proxyRoles" in broker (#430)
lhotari Jan 16, 2024
a8c7745
Add testing of upgrading of latest released chart version to CI (#432)
lhotari Jan 16, 2024
5d1275e
Change default value for rbac.limit_to_namespace and functions.rbac.l…
lhotari Jan 17, 2024
5c0d56c
Update RELEASE.md
lhotari Jan 17, 2024
0197e08
Update RELEASE.md
lhotari Jan 17, 2024
f0844d1
Update RELEASE.md
lhotari Jan 17, 2024
18e67f2
Update RELEASE.md
lhotari Jan 17, 2024
cfa156f
Tiered Storage config (#205)
pellicano Jan 17, 2024
e6ccd93
Test Pulsar Functions in CI (#434)
lhotari Jan 17, 2024
e49bd32
Fix indent for Tiered storage offload environment
lhotari Jan 17, 2024
23211c9
Fix creating namespace for cert-manager deployment
lhotari Jan 17, 2024
89602c3
Improve functions testing logging
lhotari Jan 17, 2024
6db886f
Chart: Bump version to 3.2.0
lhotari Jan 17, 2024
584b18a
Update RELEASE.md
lhotari Jan 17, 2024
aae69e8
Update README.md
lhotari Jan 17, 2024
9461dfc
Update RELEASE.md
lhotari Jan 17, 2024
1cb8339
Don't use TLS from function instances to brokers by default (#435)
lhotari Jan 18, 2024
e058aa5
Require helm version 3.10 or newer (#436)
lhotari Jan 18, 2024
a755088
Update helm version requirement in docs
lhotari Jan 19, 2024
d486e4a
Add default configuration for Pulsar Grafana dashboards (#439)
lhotari Jan 24, 2024
65a5fc0
Fix typo in Apache License 2.0 abbrev, should be AL 2.0
lhotari Jan 24, 2024
de4d2e7
Add kubeVersion to Chart.yaml to enforce minimum Kubernetes version (…
lhotari Jan 24, 2024
8cd3a04
expose admin port of pulsar manager in service (#440)
Mortom123 Jan 25, 2024
727dccb
Update RELEASE.md
lhotari Jan 25, 2024
72a8fb6
Upgrade kube-prometheus-stack to 56.x.x version (#445)
lhotari Jan 26, 2024
8d2d567
Remove pulsar_detector dash board (#446)
lhotari Jan 26, 2024
4daf6d8
grouped init containers (#441)
Mortom123 Jan 26, 2024
9cbe03c
Improve Bookkeeper default configuration (#454)
lhotari Jan 31, 2024
24b80c1
Add validation using kubeconform (#449)
lhotari Jan 31, 2024
1f20887
Fix kubeconform check and improve it (#456)
lhotari Feb 13, 2024
d0b784a
Feature/pulsar manager initialize (#457)
Mortom123 Feb 14, 2024
a1cf2ac
Upgrade to recent version of pulsarctl (#458)
lhotari Feb 15, 2024
ad65ac9
Prepare scripts for arm64 / aarch64 support (#459)
lhotari Feb 15, 2024
29ea17b
Enable persistence for pulsar-manager (#343)
vfauth Feb 15, 2024
cb269bb
Feature/pulsar manager v0.2.0 with jwt setup admin account creation (…
csthomas1 Feb 21, 2024
0e3251b
Remove deprecated "extra" key to configure components, also remove da…
lhotari Feb 21, 2024
17a4239
Remove buggy and useless function-worker-config-map (#462)
lhotari Feb 21, 2024
89c5987
Bugfix/pulsar manager init (#463)
Mortom123 Feb 22, 2024
aeae9d7
Chart: Bump version to 3.3.0
lhotari Feb 23, 2024
b0a68e7
Merge remote-tracking branch 'upstream/master'
Bloodyludi Feb 26, 2024
6493b4a
Bump chart and app version
Bloodyludi Feb 26, 2024
5202d10
Bump CI kubectl version
Bloodyludi Feb 26, 2024
fb2e497
Keep 3.1.0 as appVersion to use image automation for update
Bloodyludi Feb 26, 2024
069b7dd
Do not validate template for k8s 1.21.0
Bloodyludi Feb 26, 2024
ac9c665
Fix CI upgrade tests
Bloodyludi Feb 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 47 additions & 5 deletions .ci/chart_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,27 +27,69 @@ VALUES_FILE=$1
TLS=${TLS:-"false"}
SYMMETRIC=${SYMMETRIC:-"false"}
FUNCTION=${FUNCTION:-"false"}
MANAGER=${MANAGER:-"false"}

source ${PULSAR_HOME}/.ci/helm.sh

# create cluster
ci::create_cluster

ci::helm_repo_add

extra_opts=""
if [[ "x${SYMMETRIC}" == "xtrue" ]]; then
extra_opts="-s"
fi

# install pulsar chart
ci::install_pulsar_chart ${PULSAR_HOME}/${VALUES_FILE} ${extra_opts}
if [[ "x${EXTRA_SUPERUSERS}" != "x" ]]; then
extra_opts="${extra_opts} --pulsar-superusers proxy-admin,broker-admin,admin,${EXTRA_SUPERUSERS}"
fi

install_type="install"
test_action="produce-consume"
if [[ "$UPGRADE_FROM_VERSION" != "" ]]; then
# install older version of pulsar chart
PULSAR_CHART_VERSION="$UPGRADE_FROM_VERSION"
ci::install_pulsar_chart install ${PULSAR_HOME}/.ci/values-common.yaml ${PULSAR_HOME}/${VALUES_FILE} ${extra_opts}
install_type="upgrade"
echo "Wait 10 seconds"
sleep 10
# test that we can access the admin api
ci::test_pulsar_admin_api_access
# produce messages with old version of pulsar and consume with new version
ci::test_pulsar_producer_consumer "produce"
test_action="consume"

if [[ "$(ci::helm_values_for_deployment | yq .kube-prometheus-stack.enabled)" == "true" ]]; then
echo "Upgrade Prometheus Operator CRDs before upgrading the deployment"
${PULSAR_HOME}/scripts/kube-prometheus-stack/upgrade_prometheus_operator_crds.sh
fi
fi

PULSAR_CHART_VERSION="local"
# install (or upgrade) pulsar chart
ci::install_pulsar_chart ${install_type} ${PULSAR_HOME}/.ci/values-common.yaml ${PULSAR_HOME}/${VALUES_FILE} ${extra_opts}

echo "Wait 10 seconds"
sleep 10

# check pulsar environment
ci::check_pulsar_environment

# test that we can access the admin api
ci::test_pulsar_admin_api_access
# test producer/consumer
ci::test_pulsar_producer_consumer
ci::test_pulsar_producer_consumer "${test_action}"

if [[ "x${FUNCTION}" == "xtrue" ]]; then
# install cert manager
if [[ "$(ci::helm_values_for_deployment | yq .components.functions)" == "true" ]]; then
# test functions
ci::test_pulsar_function
fi

if [[ "$(ci::helm_values_for_deployment | yq .components.pulsar_manager)" == "true" ]]; then
# test manager
ci::test_pulsar_manager
fi

# delete the cluster
ci::delete_cluster
65 changes: 0 additions & 65 deletions .ci/clusters/values-bk-tls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,71 +17,6 @@
# under the License.
#

kube-prometheus-stack:
enabled: false
prometheusOperator:
enabled: false
grafana:
enabled: false
alertmanager:
enabled: false
prometheus:
enabled: false

# disabled AntiAffinity
affinity:
anti_affinity: false

# disable auto recovery and pulsar manager
components:
autorecovery: false
pulsar_manager: false

zookeeper:
replicaCount: 1
# Disable pod monitor since we're disabling CRD installation
podMonitor:
enabled: false

bookkeeper:
replicaCount: 3
# Disable pod monitor since we're disabling CRD installation
podMonitor:
enabled: false
configData:
diskUsageThreshold: "0.999"
diskUsageWarnThreshold: "0.999"
PULSAR_PREFIX_diskUsageThreshold: "0.999"
PULSAR_PREFIX_diskUsageWarnThreshold: "0.999"

broker:
replicaCount: 1
# Disable pod monitor since we're disabling CRD installation
podMonitor:
enabled: false
configData:
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
## without persistence
autoSkipNonRecoverableData: "true"
# storage settings
managedLedgerDefaultEnsembleSize: "1"
managedLedgerDefaultWriteQuorum: "1"
managedLedgerDefaultAckQuorum: "1"

autorecovery:
# Disable pod monitor since we're disabling CRD installation
podMonitor:
enabled: false

proxy:
replicaCount: 1
# Disable pod monitor since we're disabling CRD installation
podMonitor:
enabled: false

toolset:
useProxy: false

# enable TLS
tls:
enabled: true
Expand Down
65 changes: 0 additions & 65 deletions .ci/clusters/values-broker-tls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,71 +17,6 @@
# under the License.
#

kube-prometheus-stack:
enabled: false
prometheusOperator:
enabled: false
grafana:
enabled: false
alertmanager:
enabled: false
prometheus:
enabled: false

# disabled AntiAffinity
affinity:
anti_affinity: false

# disable auto recovery and pulsar manager
components:
autorecovery: false
pulsar_manager: false

zookeeper:
replicaCount: 1
# Disable pod monitor since we're disabling CRD installation
podMonitor:
enabled: false

bookkeeper:
replicaCount: 3
# Disable pod monitor since we're disabling CRD installation
podMonitor:
enabled: false
configData:
diskUsageThreshold: "0.999"
diskUsageWarnThreshold: "0.999"
PULSAR_PREFIX_diskUsageThreshold: "0.999"
PULSAR_PREFIX_diskUsageWarnThreshold: "0.999"

broker:
replicaCount: 1
# Disable pod monitor since we're disabling CRD installation
podMonitor:
enabled: false
configData:
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
## without persistence
autoSkipNonRecoverableData: "true"
# storage settings
managedLedgerDefaultEnsembleSize: "1"
managedLedgerDefaultWriteQuorum: "1"
managedLedgerDefaultAckQuorum: "1"

autorecovery:
# Disable pod monitor since we're disabling CRD installation
podMonitor:
enabled: false

proxy:
replicaCount: 1
# Disable pod monitor since we're disabling CRD installation
podMonitor:
enabled: false

toolset:
useProxy: false

# enable TLS
tls:
enabled: true
Expand Down
70 changes: 6 additions & 64 deletions .ci/clusters/values-jwt-asymmetric.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,70 +17,6 @@
# under the License.
#

kube-prometheus-stack:
enabled: false
prometheusOperator:
enabled: false
grafana:
enabled: false
alertmanager:
enabled: false
prometheus:
enabled: false

# disabled AntiAffinity
affinity:
anti_affinity: false

# disable auto recovery and pulsar manager
components:
autorecovery: false
pulsar_manager: false

zookeeper:
replicaCount: 1
# Disable pod monitor since we're disabling CRD installation
podMonitor:
enabled: false

bookkeeper:
replicaCount: 2
# Disable pod monitor since we're disabling CRD installation
podMonitor:
enabled: false
configData:
diskUsageThreshold: "0.999"
diskUsageWarnThreshold: "0.999"
PULSAR_PREFIX_diskUsageThreshold: "0.999"
PULSAR_PREFIX_diskUsageWarnThreshold: "0.999"

broker:
replicaCount: 1
# Disable pod monitor since we're disabling CRD installation
podMonitor:
enabled: false
configData:
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
## without persistence
autoSkipNonRecoverableData: "true"
# storage settings
managedLedgerDefaultEnsembleSize: "1"
managedLedgerDefaultWriteQuorum: "1"
managedLedgerDefaultAckQuorum: "1"

autorecovery:
# Disable pod monitor since we're disabling CRD installation
podMonitor:
enabled: false

proxy:
replicaCount: 1
# Disable pod monitor since we're disabling CRD installation
podMonitor:
enabled: false

toolset:
useProxy: false

auth:
authentication:
Expand All @@ -100,3 +36,9 @@ auth:
proxy: "proxy-admin"
# pulsar-admin client to broker/proxy communication
client: "admin"
# pulsar-manager to broker communication
manager: "manager-admin"

components:
pulsar_manager: true

69 changes: 5 additions & 64 deletions .ci/clusters/values-jwt-symmetric.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,70 +17,6 @@
# under the License.
#

kube-prometheus-stack:
enabled: false
prometheusOperator:
enabled: false
grafana:
enabled: false
alertmanager:
enabled: false
prometheus:
enabled: false

# disabled AntiAffinity
affinity:
anti_affinity: false

# disable auto recovery and pulsar manager
components:
autorecovery: false
pulsar_manager: false

zookeeper:
replicaCount: 1
# Disable pod monitor since we're disabling CRD installation
podMonitor:
enabled: false

bookkeeper:
replicaCount: 3
# Disable pod monitor since we're disabling CRD installation
podMonitor:
enabled: false
configData:
diskUsageThreshold: "0.999"
diskUsageWarnThreshold: "0.999"
PULSAR_PREFIX_diskUsageThreshold: "0.999"
PULSAR_PREFIX_diskUsageWarnThreshold: "0.999"

broker:
replicaCount: 1
# Disable pod monitor since we're disabling CRD installation
podMonitor:
enabled: false
configData:
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
## without persistence
autoSkipNonRecoverableData: "true"
# storage settings
managedLedgerDefaultEnsembleSize: "1"
managedLedgerDefaultWriteQuorum: "1"
managedLedgerDefaultAckQuorum: "1"

autorecovery:
# Disable pod monitor since we're disabling CRD installation
podMonitor:
enabled: false

proxy:
replicaCount: 1
# Disable pod monitor since we're disabling CRD installation
podMonitor:
enabled: false

toolset:
useProxy: false

auth:
authentication:
Expand All @@ -100,3 +36,8 @@ auth:
proxy: "proxy-admin"
# pulsar-admin client to broker/proxy communication
client: "admin"
# pulsar manager to broker
manager: "manager-admin"

components:
pulsar_manager: true
Loading
Loading