Share common parts of the values files used in CI (#415)
* Share common parts of the values files used in CI * Fix ct-lint
This commit is contained in:
parent
0b2d9b4d5d
commit
14c048ee72
@ -39,7 +39,7 @@ if [[ "x${SYMMETRIC}" == "xtrue" ]]; then
|
||||
fi
|
||||
|
||||
# install pulsar chart
|
||||
ci::install_pulsar_chart ${PULSAR_HOME}/${VALUES_FILE} ${extra_opts}
|
||||
ci::install_pulsar_chart ${PULSAR_HOME}/.ci/values-common.yaml ${PULSAR_HOME}/${VALUES_FILE} ${extra_opts}
|
||||
|
||||
# test producer/consumer
|
||||
ci::test_pulsar_producer_consumer
|
||||
|
||||
19
.ci/clusters/values-basic.yaml
Normal file
19
.ci/clusters/values-basic.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one
|
||||
# or more contributor license agreements. See the NOTICE file
|
||||
# distributed with this work for additional information
|
||||
# regarding copyright ownership. The ASF licenses this file
|
||||
# to you under the Apache License, Version 2.0 (the
|
||||
# "License"); you may not use this file except in compliance
|
||||
# with the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing,
|
||||
# software distributed under the License is distributed on an
|
||||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
# KIND, either express or implied. See the License for the
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
#
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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: 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:
|
||||
enabled: true
|
||||
|
||||
@ -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
|
||||
|
||||
auth:
|
||||
authentication:
|
||||
enabled: true
|
||||
|
||||
@ -1,83 +0,0 @@
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one
|
||||
# or more contributor license agreements. See the NOTICE file
|
||||
# distributed with this work for additional information
|
||||
# regarding copyright ownership. The ASF licenses this file
|
||||
# to you under the Apache License, Version 2.0 (the
|
||||
# "License"); you may not use this file except in compliance
|
||||
# with the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing,
|
||||
# software distributed under the License is distributed on an
|
||||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
# KIND, either express or implied. See the License for the
|
||||
# specific language governing permissions and limitations
|
||||
# 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
|
||||
@ -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: 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
|
||||
|
||||
rbac:
|
||||
enabled: true
|
||||
psp: true
|
||||
|
||||
@ -17,70 +17,4 @@
|
||||
# under the License.
|
||||
#
|
||||
|
||||
kube-prometheus-stack:
|
||||
enabled: false
|
||||
prometheusOperator:
|
||||
enabled: false
|
||||
grafana:
|
||||
enabled: false
|
||||
alertmanager:
|
||||
enabled: false
|
||||
prometheus:
|
||||
enabled: false
|
||||
|
||||
volumes:
|
||||
persistence: 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
|
||||
defaultPulsarImageTag: 3.1.1
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
11
.ci/helm.sh
11
.ci/helm.sh
@ -100,8 +100,9 @@ function ci::collect_k8s_logs() {
|
||||
}
|
||||
|
||||
function ci::install_pulsar_chart() {
|
||||
local value_file=$1
|
||||
local extra_opts=$2
|
||||
local common_value_file=$1
|
||||
local value_file=$2
|
||||
local extra_opts=$3
|
||||
|
||||
echo "Installing the pulsar chart"
|
||||
${KUBECTL} create namespace ${NAMESPACE}
|
||||
@ -112,9 +113,9 @@ function ci::install_pulsar_chart() {
|
||||
|
||||
echo ${HELM} dependency update ${CHARTS_HOME}/charts/pulsar
|
||||
${HELM} dependency update ${CHARTS_HOME}/charts/pulsar
|
||||
echo ${HELM} install --set initialize=true --values ${value_file} ${CLUSTER} ${CHARTS_HOME}/charts/pulsar
|
||||
${HELM} template --values ${value_file} ${CLUSTER} ${CHARTS_HOME}/charts/pulsar
|
||||
${HELM} install --set initialize=true --values ${value_file} --namespace=${NAMESPACE} ${CLUSTER} ${CHARTS_HOME}/charts/pulsar
|
||||
echo ${HELM} install --set initialize=true --values ${common_value_file} --values ${value_file} ${CLUSTER} ${CHARTS_HOME}/charts/pulsar
|
||||
${HELM} template --values ${common_value_file} --values ${value_file} ${CLUSTER} ${CHARTS_HOME}/charts/pulsar
|
||||
${HELM} install --set initialize=true --values ${common_value_file} --values ${value_file} --namespace=${NAMESPACE} ${CLUSTER} ${CHARTS_HOME}/charts/pulsar
|
||||
|
||||
echo "wait until broker is alive"
|
||||
WC=$(${KUBECTL} get pods -n ${NAMESPACE} --field-selector=status.phase=Running | grep ${CLUSTER}-broker | wc -l)
|
||||
|
||||
@ -70,7 +70,7 @@ broker:
|
||||
PF_functionInstanceMinResources_cpu: "0.2"
|
||||
PF_functionInstanceMinResources_ram: "268435456"
|
||||
PF_functionInstanceMinResources_disk: "268435456"
|
||||
|
||||
|
||||
autorecovery:
|
||||
# Disable pod monitor since we're disabling CRD installation
|
||||
podMonitor:
|
||||
15
.github/workflows/pulsar-helm-chart-ci.yaml
vendored
15
.github/workflows/pulsar-helm-chart-ci.yaml
vendored
@ -37,7 +37,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Detect changed files
|
||||
id: changes
|
||||
@ -69,7 +69,7 @@ jobs:
|
||||
id: go
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Check license
|
||||
run: |
|
||||
@ -86,7 +86,9 @@ jobs:
|
||||
no_chart_changes: ${{ steps.ct-lint.outputs.no_chart_changes }}
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Tune Runner VM
|
||||
uses: ./.github/actions/tune-runner-vm
|
||||
@ -157,11 +159,8 @@ jobs:
|
||||
kind_image_tag: v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
|
||||
testScenario:
|
||||
- name: Basic
|
||||
values_file: .ci/clusters/values-local-pv.yaml
|
||||
values_file: .ci/clusters/values-basic.yaml
|
||||
shortname: basic
|
||||
- name: Pulsar Function
|
||||
values_file: .ci/clusters/values-function.yaml
|
||||
shortname: function
|
||||
- name: Use Pulsar Image
|
||||
values_file: .ci/clusters/values-pulsar-image.yaml
|
||||
shortname: pulsar-image
|
||||
@ -194,7 +193,7 @@ jobs:
|
||||
KUBECTL_VERSION: ${{ matrix.k8sVersion.version }}
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Tune Runner VM
|
||||
uses: ./.github/actions/tune-runner-vm
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user