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

[Merged by Bors] - Initial attempt at making resource requests, limits and pvcs configurable #265

Closed
wants to merge 23 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
0b5ef40
Initial attempt at making resource requests, limits and pvcs configur…
soenkeliebau May 4, 2022
1ffd32f
Compute max Java heap size.
razvan May 17, 2022
c2e4f1b
make regenerate-charts
razvan May 17, 2022
a62b5b1
operator-rs 0.21.0 and fix storage access param.
razvan May 18, 2022
f88b49a
fix rustfmt lint errors
razvan May 18, 2022
5662024
Added usage doc for k8s resources.
razvan May 18, 2022
d524ac9
Merge branch 'main' into feat/resource_config
razvan May 20, 2022
cfc2354
Report JVM heap conversion errors and ensure bootstrap JVM args are c…
razvan May 20, 2022
0d8e7e4
Replace unwrap() call with unwrap_or_else() and remove controller::Er…
razvan May 20, 2022
1724132
Default mem limits are None
razvan May 20, 2022
8188f9f
Compute resource definitions only (once per rolegroup)
razvan May 20, 2022
9090a0d
Keep work
soenkeliebau May 18, 2022
c20e543
Merge branch 'main' into feat/resource_config
soenkeliebau Jun 1, 2022
971d580
Rolled https://github.com/stackabletech/integration-tests/pull/242 in…
soenkeliebau Jun 1, 2022
6d009f9
Fixed some linter warnings
soenkeliebau Jun 1, 2022
e634c6e
Fixed fmt linter warning that was caused by fixing clippy linter warn…
soenkeliebau Jun 1, 2022
eff8f58
Added explicit timeouts to all test asserts.
razvan Jun 3, 2022
b2e3da1
Merge branch 'main' into feat/resource_config
razvan Jun 3, 2022
fc3720e
Changed java heap configuration to set both -Xmx and -Xms according t…
soenkeliebau Jun 7, 2022
2acf372
Fix tests (taken from #277 - should merge fine with that PR if this g…
soenkeliebau Jun 7, 2022
d5021fd
Update rust/operator-binary/src/config.rs
soenkeliebau Jun 8, 2022
fa9dc61
Refactored heap limit code to make it a bit more readable.
soenkeliebau Jun 8, 2022
2539f2d
Removed debug statements from development.
soenkeliebau Jun 8, 2022
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
15 changes: 15 additions & 0 deletions .ci/integration-tests/aws-eks/cluster.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
apiVersion: t2.stackable.tech/v1
kind: Infra
template: aws-eks
metadata:
name: nifi-operator-integration-tests
description: "Cluster for NiFi Operator Integration Tests (AWS EKS)"
publicKeys: []
spec:
region: "eu-central-1"
awsInstanceType: "t2.medium"
versions:
_-operator: NIGHTLY
nifi-operator: "$NIFI_OPERATOR_VERSION"
node_count: 3
7 changes: 7 additions & 0 deletions .ci/integration-tests/aws-eks/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
git clone -b "$GIT_BRANCH" https://github.com/stackabletech/nifi-operator.git
(cd nifi-operator/ && ./scripts/run_tests.sh --parallel 1)
exit_code=$?
./operator-logs.sh nifi > /target/nifi-operator.log
./operator-logs.sh zookeeper > /target/zookeeper-operator.log
exit $exit_code
13 changes: 13 additions & 0 deletions .ci/integration-tests/azure-aks/cluster.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
apiVersion: t2.stackable.tech/v1
kind: Infra
template: azure-aks
metadata:
name: nifi-operator-integration-tests
description: "Cluster for NiFi Operator Integration Tests (Azure AKS)"
publicKeys: []
spec:
versions:
_-operator: NIGHTLY
nifi-operator: "$NIFI_OPERATOR_VERSION"
node_count: 3
7 changes: 7 additions & 0 deletions .ci/integration-tests/azure-aks/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
git clone -b "$GIT_BRANCH" https://github.com/stackabletech/nifi-operator.git
(cd nifi-operator/ && ./scripts/run_tests.sh --parallel 1)
exit_code=$?
./operator-logs.sh nifi > /target/nifi-operator.log
./operator-logs.sh zookeeper > /target/zookeeper-operator.log
exit $exit_code
19 changes: 19 additions & 0 deletions .ci/integration-tests/hcloud-centos-8/cluster.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
apiVersion: t2.stackable.tech/v1
kind: Infra
template: hcloud-centos-8
metadata:
name: nifi-operator-integration-tests
description: "Cluster for NiFi Operator Integration Tests (Hetzner Cloud / CentOS 8)"
domain: stackable.test
publicKeys: []
spec:
location: "hel1"
k8sVersion: "$K8S_VERSION"
wireguard: false
versions:
_-operator: NIGHTLY
nifi-operator: "$NIFI_OPERATOR_VERSION"
nodes:
main:
numberOfNodes: 3
7 changes: 7 additions & 0 deletions .ci/integration-tests/hcloud-centos-8/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
git clone -b "$GIT_BRANCH" https://github.com/stackabletech/nifi-operator.git
(cd nifi-operator/ && ./scripts/run_tests.sh --parallel 1)
exit_code=$?
./operator-logs.sh nifi > /target/nifi-operator.log
./operator-logs.sh zookeeper > /target/zookeeper-operator.log
exit $exit_code
15 changes: 15 additions & 0 deletions .ci/integration-tests/ionos-k8s/cluster.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
apiVersion: t2.stackable.tech/v1
kind: Infra
template: ionos-k8s
metadata:
name: nifi-operator-integration-tests
description: "Cluster for NiFi Operator Integration Tests (IONOS Cloud managed K8s)"
domain: stackable.test
publicKeys: []
spec:
region: de/fra
versions:
_-operator: NIGHTLY
nifi-operator: "$NIFI_OPERATOR_VERSION"
node_count: 3
7 changes: 7 additions & 0 deletions .ci/integration-tests/ionos-k8s/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
git clone -b "$GIT_BRANCH" https://github.com/stackabletech/nifi-operator.git
(cd nifi-operator/ && ./scripts/run_tests.sh --parallel 1)
exit_code=$?
./operator-logs.sh nifi > /target/nifi-operator.log
./operator-logs.sh zookeeper > /target/zookeeper-operator.log
exit $exit_code
Loading