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

Fix staging cpu resources #32

Merged
merged 3 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
12 changes: 8 additions & 4 deletions crossplane/xrd_kcl_function.k
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ items = [
}
neo4j.password = "${config.neo4j.password}"
services.neo4j.spec.type = "NodePort"
neo4j.resources = {
cpu = "500m"
memory: "2Gi"
}
volumes = {
data = {
dynamic = {
Expand Down Expand Up @@ -314,7 +318,7 @@ kind: InMemoryChannel
apiVersion = "serving.knative.dev/v1"
kind = "Service"
metadata = {
name = "${config.Mindwm.context.io_context.name}"
name = "${config.Mindwm.context.io_context.name}"
namespace = makeContextNamespace("{{ context_name }}")
}
spec.template.spec.containers = [{
Expand All @@ -332,7 +336,7 @@ kind: InMemoryChannel
value = "${config.neo4j.password}"
}
]
image = "${config.Mindwm.context.io_context.image}"
image = "${config.Mindwm.context.io_context.image}"
}]

}
Expand All @@ -346,7 +350,7 @@ kind: InMemoryChannel
apiVersion = "eventing.knative.dev/v1"
kind = "Trigger"
metadata = {
name = "${config.Mindwm.context.io_context.name}-trigger"
name = "${config.Mindwm.context.io_context.name}-trigger"
namespace = makeContextNamespace("{{ context_name }}")
}
spec = {
Expand All @@ -366,7 +370,7 @@ kind: InMemoryChannel
subscriber.ref = {
apiVersion = "serving.knative.dev/v1"
kind = "Service"
name = "${config.Mindwm.context.io_context.name}"
name = "${config.Mindwm.context.io_context.name}"
namespace = makeContextNamespace("{{ context_name }}")
}
}
Expand Down
2 changes: 1 addition & 1 deletion manifests/knative/eventing-kafka-source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ spec:
value: "-XX:+CrashOnOutOfMemoryError -XX:InitialRAMPercentage=70.0 -XX:MinRAMPercentage=70.0 -XX:MaxRAMPercentage=70.0"
resources:
requests:
cpu: 1000m
cpu: 300m
# 600Mi for virtual replicas + 100Mi overhead
memory: 700Mi
limits:
Expand Down