-
Notifications
You must be signed in to change notification settings - Fork 21
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
GDB-9426: Various improvements part 3 #96
Merged
mihailradkov
merged 12 commits into
GDB-9425-version-11
from
GDB-9426-various-improvements-pt3
May 10, 2024
Merged
GDB-9426: Various improvements part 3 #96
mihailradkov
merged 12 commits into
GDB-9425-version-11
from
GDB-9426-various-improvements-pt3
May 10, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ea85de5
to
bcae5f3
Compare
yaskoo
approved these changes
May 10, 2024
- The javaArguments values are moved into another defaultJavaArguments to allow easier overriding with javaArguments - Removed configuration overrides from the default `GDB_JAVA_OPTS`: `enable-context-index`, `entity-pool-implementation` and `health.max.query.time.seconds` - Removed `default.min.distinct.threshold` from the default `defaultJavaArguments` values - Added -XX:-UseCompressedOops - Added `-XX:-UseCompressedOops` in the default Java arguments to allow allocating heap sizes larger than 32GBs when the max heap size is based on the `-XX:MaxRAMPercentage` Java option
- Added `updateStrategy` and `proxy.updateStrategy` for controlling the strategy when updating pods - Added `podManagementPolicy` and `proxy.podManagementPolicy` for configuring how the pods are created and scaled - Added `automountServiceAccountToken` with default value `false` effectively ejecting the service account token by default - Added `schedulerName` and `proxy.schedulerName` for overriding the default Kubernetes scheduler - Added `dnsConfig`, `dnsPolicy`, `proxy.dnsConfig` and `proxy.dnsPolicy` for customizing the DNS resolution if needed - Added `proxy.initContainerSecurityContext` and `proxy.initContainerResources` to avoid using the configurations from GraphDB - Ejected the default service account token in the proxy pods
- Added `extraContainers` and `proxy.extraContainers` for inserting additional containers into the pods of GraphDB and the GraphDB proxy - Added `extraObjects` as a way to insert additional Kubernetes objects into the deployment
- Updated the chart to require Kubernetes version 1.24+ - Added `service.externalTrafficPolicy` and `service.proxy.externalTrafficPolicy` to override the policy to Local if needed - Added `service.healthCheckNodePort` and `service.proxy.healthCheckNodePort` to define a specific node port for LB health checks - Added `service.loadBalancerClass` and `service.proxy.loadBalancerClass` to select a specific load balancer implementation - Added `service.loadBalancerSourceRanges` and `service.proxy.loadBalancerSourceRanges` to restrict the external ingress traffic from the LB - Added `service.externalIPs` and `service.proxy.externalIPs` to use existing external IPs
- Added helper for printing warnings
- Renamed GraphDB storage PVC template name prefix to `storage` and server import folder to `import` - Renamed all proxy volumes to start with graphdb-proxy-
…g additional ports
Added configurations for extra `labels` and `annotations` for all persistent volume claim templates: `persistence`, `proxy.persistence` and `import.volumeMount`
- Added `jobs.backoffLimit` for configuring the retry count for all jobs - Added `jobs.ttlSecondsAfterFinished` for configuring the time in seconds for all jobs before deleting finished pods - Added `jobs.persistence.emptyDir` configurations for the default temporary storage for all jobs
- Moved `provisioningUsername` and `provisioningPassword` under `security.provisioner` - Added `security.provisioner.existingSecret` and `security.provisioner.tokenKey` to provide an existing authentication token - Small bash script cleaning
acaf00a
to
134a005
Compare
134a005
to
c61c738
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Java arguments updates
GDB_JAVA_OPTS
:enable-context-index
,entity-pool-implementation
andhealth.max.query.time.seconds
default.min.distinct.threshold
from the defaultdefaultJavaArguments
values-XX:-UseCompressedOops
in the default Java arguments to allow allocating heap sizes larger than 32GBs when the max heap size is based on the-XX:MaxRAMPercentage
Java optionEnriched the StatefulSet configurations
updateStrategy
andproxy.updateStrategy
for controlling the strategy when updating podspodManagementPolicy
andproxy.podManagementPolicy
for configuring how the pods are created and scaledautomountServiceAccountToken
with default valuefalse
effectively ejecting the service account token by defaultschedulerName
andproxy.schedulerName
for overriding the default Kubernetes schedulerdnsConfig
,dnsPolicy
,proxy.dnsConfig
andproxy.dnsPolicy
for customizing the DNS resolution if neededproxy.initContainerSecurityContext
andproxy.initContainerResources
to avoid using the configurations from GraphDBAdded capability for additional resources
extraContainers
andproxy.extraContainers
for inserting additional containers into the pods of GraphDB and the GraphDB proxyextraObjects
as a way to insert additional Kubernetes objects into the deploymentAdded new service configurations
service.externalTrafficPolicy
andservice.proxy.externalTrafficPolicy
to override the policy to Local if neededservice.healthCheckNodePort
andservice.proxy.healthCheckNodePort
to define a specific node port for LB health checksservice.loadBalancerClass
andservice.proxy.loadBalancerClass
to select a specific load balancer implementationservice.loadBalancerSourceRanges
andservice.proxy.loadBalancerSourceRanges
to restrict the external ingress traffic from the LBservice.externalIPs
andservice.proxy.externalIPs
to use existing external IPsservice.extraPorts
andservice.proxy.extraPorts
for exposing additional portsUpdated NOTES.txt
StatefulSets volume name updates
storage
and server import folder toimport
Extra labels and annotations for PVC templates
labels
andannotations
for all persistent volume claim templates:persistence
,proxy.persistence
andimport.volumeMount
Added job configurations
jobs.backoffLimit
for configuring the retry count for all jobsjobs.ttlSecondsAfterFinished
for configuring the time in seconds for all jobs before deleting finished podsjobs.persistence.emptyDir
configurations for the default temporary storage for all jobsUpdated the provisioning user
provisioningUsername
andprovisioningPassword
undersecurity.provisioner
security.provisioner.existingSecret
andsecurity.provisioner.tokenKey
to provide an existing authentication token