You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kbcli cluster list-ops pulsar-vzrjek --status all --namespace default
NAME NAMESPACE TYPE CLUSTER COMPONENT STATUS PROGRESS CREATED-TIME
pulsar-vzrjek-hscaleoffinstance-ftvw4 default HorizontalScaling pulsar-vzrjek broker Running 0/1 Jan 03,2025 14:21 UTC+0800
describe ops
k describe opsrequest pulsar-vzrjek-hscaleoffinstance-ftvw4
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal WaitForProgressing 12m ops-request-controller wait for the controller to process the OpsRequest: pulsar-vzrjek-hscaleoffinstance-ftvw4 in Cluster: pulsar-vzrjek
Normal ValidateOpsRequestPassed 12m ops-request-controller OpsRequest: pulsar-vzrjek-hscaleoffinstance-ftvw4 is validated
Normal HorizontalScalingStarted 12m ops-request-controller Start to horizontal scale replicas in Cluster: pulsar-vzrjek
further testing
HscaleOfflineInstances works well when scaleIn component that has more than 1 replicas
Expected behavior
turn the ops to failed if this ops is invalid
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
It is illegal to offline the ONLY instance left in cluster. we should reject such operations. @yipeng1030 could pls help raise the constraint in Ops. /cc @wangyelei
Describe the env
Kubernetes: v1.31.1-aliyun.1
KubeBlocks: 1.0.0-beta.21
kbcli: 1.0.0-beta.8
To Reproduce
Steps to reproduce the behavior:
HscaleOfflineInstances works well when scaleIn component that has more than 1 replicas
Expected behavior
turn the ops to failed if this ops is invalid
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: