Skip to content

Commit 135ff70

Browse files
authored
Revert max concurrent reconcile changes (#670)
1 parent 041cee0 commit 135ff70

File tree

7 files changed

+2
-129
lines changed

7 files changed

+2
-129
lines changed

deploy/releases/1.4.1/readme.adoc

-88
This file was deleted.

internal/deploy/kubectl/readme.adoc

+1-5
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,11 @@ kubectl create -f https://raw.githubusercontent.com/application-stacks/runtime-c
2525
NOTE: Ensure that you replace `<SPECIFY_OPERATOR_NAMESPACE_HERE>` and `<SPECIFY_WATCH_NAMESPACE_HERE>` with proper values. The namespaces must already exist. The commands below will not create the namespaces.
2626
+
2727
* To watch all namespaces in the cluster, set `WATCH_NAMESPACE='""'`
28-
+
29-
* To optionally reconcile multiple `RuntimeComponent` instances concurrently, set `MAX_CONCURRENT_RECONCILES=<SPECIFY_MAX_CONCURRENT_RECONCILES_HERE>` (default is `1`)
30-
+
28+
3129
[source,sh]
3230
----
3331
OPERATOR_NAMESPACE=<SPECIFY_OPERATOR_NAMESPACE_HERE>
3432
WATCH_NAMESPACE=<SPECIFY_WATCH_NAMESPACE_HERE>
35-
MAX_CONCURRENT_RECONCILES=<OPTIONALLY_SPECIFY_MAX_CONCURRENT_RECONCILES_HERE>
3633
----
3734

3835
.. _Optional_: Install roles and bindings to watch another namespace or all namespaces. This step can be skipped if the operator is only watching own namespace.
@@ -62,7 +59,6 @@ curl -L https://raw.githubusercontent.com/application-stacks/runtime-component-o
6259
----
6360
curl -L https://raw.githubusercontent.com/application-stacks/runtime-component-operator/main/internal/deploy/kubectl/runtime-component-operator.yaml \
6461
| sed -e "s/RUNTIME_COMPONENT_WATCH_NAMESPACE/${WATCH_NAMESPACE}/" \
65-
| sed -e "s/RUNTIME_COMPONENT_MAX_CONCURRENT_RECONCILES/'${MAX_CONCURRENT_RECONCILES}'/" \
6662
| kubectl apply -n ${OPERATOR_NAMESPACE} -f -
6763
----
6864

internal/deploy/kubectl/runtime-component-operator.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,6 @@ spec:
301301
fieldPath: metadata.namespace
302302
- name: WATCH_NAMESPACE
303303
value: RUNTIME_COMPONENT_WATCH_NAMESPACE
304-
- name: MAX_CONCURRENT_RECONCILES
305-
value: RUNTIME_COMPONENT_MAX_CONCURRENT_RECONCILES
306304
- name: RELATED_IMAGE_LIBERTY_SAMPLE_APP
307305
value: icr.io/appcafe/open-liberty/samples/getting-started@sha256:3999aa86f788e601d305896e48a043a91861cdbf71951a1959887151390b3650
308306
- name: RELATED_IMAGE_RUNTIME_COMPONENT_OPERATOR

internal/deploy/kustomize/daily/README.adoc

+1-6
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,4 @@ To install, run: `kubectl create -k overlays/watch-all-namespaces`
4444
This example overlay builds on the previous example and demonstrates how to change
4545
the namespace that the operator installs into. In this example, the operator installs
4646
into a namespace that is called 'rco-ns' and watches for Runtime Component custom resource
47-
instances in any namespaces. To install, run: `kubectl create -k examples/watch-all-namespaces`
48-
49-
== Setting max concurrent reconciles
50-
51-
=== overlays/set-max-concurrent-reconciles
52-
This overlay updates the base configuration by setting the `MAX_CONCURRENT_RECONCILES` environment variable in the operator's Deployment. It enables multiple workers to reconcile the RuntimeComponent custom resource instances concurrently. There are `8` workers set by default, and this setting can be customized in the `overlays/set-max-concurrent-reconciles/operator.properties` file. To install, run: `kubectl apply -k overlays/set-max-concurrent-reconciles`
47+
instances in any namespaces. To install, run: `kubectl create -k examples/watch-all-namespaces`

internal/deploy/kustomize/daily/base/runtime-component-operator.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ spec:
4949
valueFrom:
5050
fieldRef:
5151
fieldPath: metadata.namespace
52-
- name: MAX_CONCURRENT_RECONCILES
53-
value: "1"
5452
- name: RELATED_IMAGE_LIBERTY_SAMPLE_APP
5553
value: icr.io/appcafe/open-liberty/samples/getting-started@sha256:3999aa86f788e601d305896e48a043a91861cdbf71951a1959887151390b3650
5654
- name: RELATED_IMAGE_RUNTIME_COMPONENT_OPERATOR

internal/deploy/kustomize/daily/overlays/set-max-concurrent-reconciles/kustomization.yaml

-25
This file was deleted.

internal/deploy/kustomize/daily/overlays/set-max-concurrent-reconciles/operator.properties

-1
This file was deleted.

0 commit comments

Comments
 (0)