Comments (4)
how about something like this:
kubectl-ice mem --select "priority=2000000000" -A kubectl-ice probes --select 'priorityClassName=system-cluster-critical' -A
--select tries a direct match against fields in the pod spec output so it's possible that other fields will also work
field names are not case sensitive but the values are i.e. system-cluster-critical needs to be an exact match but pirorityClassName can be all lower case
I'm about to push a new version so let me know if it works
from kubectl-ice.
what would be the use case for this?
Are you talking about using the priority class as a filter when selecting pods to list (a bit like we do with label selectors) or is there another use you had in mind?
from kubectl-ice.
Correct - with many pods I'd like to filter them by priority class(es).
from kubectl-ice.
Yes that works!
from kubectl-ice.
Related Issues (14)
- does not handle DownwardAPI volume types HOT 1
- I love the plugin so so...much. How can I donate you some money? HOT 2
- Colorizing output HOT 5
- init containers always shown HOT 2
- how much I love the tool :) HOT 1
- Wrong probe name in `kubectl ice probes` output
- kubectl ice cpu - incorrect value (v0.0.9+) HOT 3
- skip type = "I" containers HOT 5
- memory used format HOT 2
- Error: failed to create clientset: no Auth Provider found for name "oidc" HOT 3
- displaying node name and selected node label(s) the pod is placed on HOT 7
- failed to create clientset HOT 4
- status: revisualize to enhance UX HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubectl-ice.