Sha256: 6a4c09fe6235c747de63e718ffc2e5368d5e374d6b5119696e693664850b216a
Contents?: true
Size: 656 Bytes
Versions: 58
Compression:
Stored size: 656 Bytes
Contents
--- title: Custom Ordering --- You can override the ordering with the `kinds` and `roles` option under the `config.kubectl.order` key. It is fully configurable. Here's an example of overriding the default ordering. .kubes/config.rb: ```ruby Kubes.configure do |config| config.kubectl.order.roles = %w[ shared web worker clock ] config.kubectl.order.kinds = [ "Namespace", # ... "Deployment", ] end ``` Items not listed in the list are sorted at the end and in alphabetical order. Refer to the source [ordering.rb](https://github.com/boltops-tools/kubes/blob/master/lib/kubes/config.rb#L50) for the default ordering.
Version data entries
58 entries across 58 versions & 1 rubygems