anerathil commented on issue #5060:
URL: https://github.com/apache/camel-k/issues/5060#issuecomment-1888639038
Hey :)
I just recreated the cluster and re-deployed with global:false:
V 2.1.0:
As expected with global false the operator creates a builder pod in the
camel-k namespace.
---
V 2.2.0:
The operator does not spawn a builder pod and runs the build in its
container :/
The IP deployed by helm befor the operator update:
```
Name: camel-k
Namespace: camel-k-system
Labels: app=camel-k
app.kubernetes.io/instance=camel-k-operator
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=camel-k
app.kubernetes.io/version=2.2.0
helm.sh/chart=camel-k-2.2.0
Annotations: meta.helm.sh/release-name: camel-k-operator
meta.helm.sh/release-namespace: camel-k-system
API Version: camel.apache.org/v1
Kind: IntegrationPlatform
Metadata:
Creation Timestamp: 2024-01-12T08:16:01Z
Generation: 1
Resource Version: 798
UID: 707c6522-386f-4101-b2a8-2b1904639e2b
Spec:
Build:
Build Configuration:
Strategy: pod
Registry:
Address: k3d-k3d.localhost:5000
Insecure: true
Cluster:
Traits:
Builder:
Incremental Image Build: true
Order Strategy: sequential
Strategy: routine
Tasks Request CPU:
builder:2000m
Tasks Request Memory:
builder:2Gi
Events: <none>
````
After the initial update its state is:
```
NAMESPACE↑ NAME PHASE
BUILD STRATEGY PUBLISH STRATEGY REGISTRY ADDRESS
DEFAULT RUNTIME │
camel-k-system camel-k Ready
pod Spectrum
k3d-k3d.localhost:5000 3.2.3 │
```
```
Name: camel-k
Namespace: camel-k-system
Labels: app=camel-k
app.kubernetes.io/instance=camel-k-operator
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=camel-k
app.kubernetes.io/version=2.2.0
helm.sh/chart=camel-k-2.2.0
Annotations: meta.helm.sh/release-name: camel-k-operator
meta.helm.sh/release-namespace: camel-k-system
API Version: camel.apache.org/v1
Kind: IntegrationPlatform
Metadata:
Creation Timestamp: 2024-01-12T08:16:01Z
Generation: 1
Resource Version: 1296
UID: 707c6522-386f-4101-b2a8-2b1904639e2b
Spec:
Build:
Build Configuration:
Strategy: pod
Registry:
Address: k3d-k3d.localhost:5000
Insecure: true
Cluster:
Traits:
Builder:
Incremental Image Build: true
Order Strategy: sequential
Strategy: routine
Tasks Request CPU:
builder:2000m
Tasks Request Memory:
builder:2Gi
Status:
Build:
Publish Strategy Options:
Kaniko Persistent Volume Claim: camel-k
Base Image: eclipse-temurin:17
Build Configuration:
Order Strategy: sequential
Strategy: pod
Maven:
Cli Options:
-V
--no-transfer-progress
-Dstyle.color=never
Local Repository: /etc/maven/m2
Max Running Builds: 10
Publish Strategy: Spectrum
Registry:
Address: k3d-k3d.localhost:5000
Insecure: true
Runtime Version: 3.2.3
Timeout: 5m0s
Cluster: Kubernetes
Conditions:
Last Transition Time: 2024-01-12T08:16:14Z
Last Update Time: 2024-01-12T08:16:14Z
Message: integration platform created
Reason: IntegrationPlatformCreated
Status: True
Type: Created
Last Transition Time: 2024-01-12T08:16:14Z
Last Update Time: 2024-01-12T08:16:14Z
Message: registry available at k3d-k3d.localhost:5000
Reason: IntegrationPlatformRegistryAvailable
Status: True
Type: RegistryAvailable
Info:
Git Commit: c6a9348d8467f68800dabb7c845a411765fad8e3
Go OS: linux
Go Version: go1.21.0
Kamelet:
Repositories:
Uri: none
Observed Generation: 1
Phase: Ready
Traits:
Builder:
Incremental Image Build: true
Order Strategy: sequential
Strategy: routine
Tasks Request CPU:
builder:2000m
Tasks Request Memory:
builder:2Gi
Version: 2.2.0
Events:
Type Reason Age From
Message
---- ------ ---- ----
-------
Normal IntegrationPlatformPhaseUpdated 3m34s
camel-k-integration-platform-controller Integration Platform "camel-k" in
phase "Creating"
Normal IntegrationPlatformConditionChanged 3m33s
camel-k-integration-platform-controller Condition "Created" is "True" for
Integration Platform camel-k: integration platform created
Normal IntegrationPlatformPhaseUpdated 3m33s
camel-k-integration-platform-controller Integration Platform "camel-k" in
phase "Ready"
Normal IntegrationPlatformConditionChanged 3m33s
camel-k-integration-platform-controller Condition "RegistryAvailable" is
"True" for Integration Platform camel-k: registry available at
k3d-k3d.localhost:5000
```
So it still looks good. Operator logs:
[operator_2.2.0_global.false.log](https://github.com/apache/camel-k/files/13916468/operator_2.2.0_global.false.log)
Thx :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]