astefanutti edited a comment on issue #2250:
URL: https://github.com/apache/camel-k/issues/2250#issuecomment-829931862
It seems the scaling works as expected, as one of the pod is marked as
deleted after the down-scaling:
```
DeletionTimestamp: {
Time: 2021-04-30T07:33:16Z,
},
```
But the pod is not actually deleted. Either it's just the timeout that's too
short (60s), or there is an issue during the graceful shutdown of the
Integration pod:
```
ContainerStatuses: [
{
Name: "integration",
State: {
Waiting: {
Reason: "ContainerCreating",
Message: "",
},
Running: nil,
Terminated: nil,
},
LastTerminationState: {
Waiting: nil,
Running: nil,
Terminated: {
ExitCode: 137,
Signal: 0,
Reason: "ContainerStatusUnknown",
Message: "The container could not be located when the pod
was deleted. The container used to be Running",
StartedAt: {
Time: 0001-01-01T00:00:00Z,
},
FinishedAt: {
Time: 0001-01-01T00:00:00Z,
},
ContainerID: "",
},
},
Ready: false,
RestartCount: 0,
Image:
"kind-registry:5000/test-93060b55-d350-424a-940b-ac238a56a23e/camel-k-kit-c25r4v0p0t9ikun92a80@sha256:be19aebd01eb8c08805670ff92d44f1b7c74915d4d94846d1314a01a3223999d",
ImageID: "",
ContainerID: "",
Started: false,
},
],
```
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]