cancel
Showing results for 
Search instead for 
Did you mean: 
dkcbk
Flight Engineer
Flight Engineer
  • 1,389 Views

Run oc commands from ACM

Hi.

Is it possible to run oc commands from ACM? E.g. oc patch xxx which would be applied on all clusters with specific label?

Tnx

Labels (2)
4 Replies
Chetan_Tiwary_
Community Manager
Community Manager
  • 1,349 Views

Yes , something like : oc patch <resource> -l <label-selector> --type=merge --patch <patch>   should work. 

0 Kudos
dkcbk
Flight Engineer
Flight Engineer
  • 1,335 Views

I cant find any ACM terminal window in which I can execute commands.
0 Kudos
Chetan_Tiwary_
Community Manager
Community Manager
  • 1,328 Views

Hi @dkcbk , 

Please refer here : https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.1...  

 

under 1.5. Managing cluster labels  see if this helps you.

0 Kudos
dkcbk
Flight Engineer
Flight Engineer
  • 1,322 Views

I know how to manage cluster labels. My question is: where in ACM can I type some oc command which will be executed in labeled clusters?
0 Kudos
Join the discussion
You must log in to join this conversation.