-
Notifications
You must be signed in to change notification settings - Fork 4
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
Charts improvements and bug fixes #164
base: master
Are you sure you want to change the base?
Changes from all commits
45c8415
4f390b1
0e44230
f528ae0
d7499d3
4fc3c8a
508336d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,4 @@ | |
<RunAsTest>false</RunAsTest> | ||
<method v="2" /> | ||
</configuration> | ||
</component> | ||
</component> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,11 @@ JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=false" | |
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false" | ||
JAVA_OPTS="$JAVA_OPTS -Dlog4j2.configurationFile=/etc/varadhi/log4j2.xml" | ||
|
||
exec java -cp ./*:dependencies/* $JAVA_OPTS com.flipkart.varadhi.VaradhiApplication /etc/varadhi/configuration.yml | ||
# If debug flag is set(1 or true) then enable remote debugging | ||
if [[ ! -z "$APP_DEBUG" ]]; then | ||
if [[ "$APP_DEBUG" == "1" || "$APP_DEBUG" == "true" ]]; then | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. any issue being it just set to any value ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no, idea was if someone sets to false or 0 or any other invalid value, we don't enable it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why two levels of if block needed, only inner block should suffice ? |
||
JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005" | ||
fi | ||
fi | ||
|
||
exec java -cp ./*:dependencies/* $JAVA_OPTS $JAVA_EXTRA_OPTS com.flipkart.varadhi.VaradhiApplication /etc/varadhi/configuration.yml |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -138,8 +138,11 @@ images: | |
#################################################### | ||
varadhi: | ||
app: | ||
configs: | ||
javaExtraOpts: "-Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.rmi.port=9990" | ||
name: server | ||
configMapName: server | ||
debug: false | ||
restOptions: | ||
deployedRegion: "default" | ||
defaultOrg: "default" | ||
|
@@ -182,10 +185,19 @@ varadhi: | |
providerClassName: "com.flipkart.varadhi.db.ZookeeperProvider" | ||
featureFlags: | ||
leanDeployment: false | ||
controller: | ||
maxConcurrentOps: 2 | ||
maxRetryAllowed: 3 | ||
retryIntervalInSeconds: 10 | ||
retryMinBackoffInSeconds: 10 | ||
retryMaxBackOffInSeconds: 60 | ||
member: | ||
roles: [ "Server", "Controller" ] | ||
cpuCount: 1 | ||
nicMBps: 100 | ||
ports: | ||
jmx: 9990 | ||
jvmDebug: 5005 | ||
|
||
############################################# | ||
# Varadhi Server logging config | ||
|
@@ -212,12 +224,12 @@ messaging: | |
configMapName: messaging | ||
pulsar: | ||
adminOptions: | ||
serviceHttpUrl: "http://192.168.1.3:8080" | ||
serviceHttpUrl: "http://host.docker.internal:8080" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. may be time to decide the hierarchy of values files. Suggestion/TBD : values -> fcp.values -> role specific i.e (controller|consumer|server|standalone) and override only required content in higher level files ? |
||
connectionTimeoutMs: 2000 | ||
readTimeoutMs: 2000 | ||
requestTimeoutMs: 2000 | ||
clientOptions: | ||
serviceUrl: "http://192.168.1.3:8080" | ||
serviceUrl: "http://host.docker.internal:8080" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. create standalone values file to override this, as value is specific to the standalone setup. |
||
keepAliveIntervalSecs: 30 # Pulsar default (30 secs) | ||
ioThreads: 2 # start with 2, might need further tuning (Pulsar default is 1). | ||
connectionsPerBroker: 1 # Pulsar default is 1. | ||
|
@@ -238,3 +250,12 @@ messaging: | |
authzProvider: | ||
configMapName: authorization | ||
|
||
############################################# | ||
# OTEL config | ||
############################################# | ||
otlpConfig: | ||
otlp.url: "http://host.docker.internal:4318/v1/metrics" | ||
otlp.step: "20s" | ||
otlp.aggregationTemporality: "CUMULATIVE" | ||
otlp.resourceAttributes: | ||
otlp.headers: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead we can adjust the .values file to have new config.