—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
Prevent issues from auto-closing with an /lifecycle frozen
comment.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or @fejta
.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
/remove-lifecycle stale
/lifecycle frozen
/remove-lifecycle stale
/remove-lifecycle rotten
Removing help-wanted as there isn't a clear direction and details on how to fix this for contributors to dive into.
/remove-help
@liggitt: Closing this issue.
In response to this:
/close
The layer that does jsonpath rendering is intentionally type-agnostic. I don't anticipate adding kube-specific object rendering there.
Resources that support the /scale subresource (replication controllers, replicasets, deployments, statefulsets, some custom resources, etc) return a stringified selector in the
.status.selector
field of the scale subresource:kubectl get --raw /apis/apps/v1/namespaces/default/deployments/my-dep/scale | \ jq -r .status.selector
Something like #60902 that would allow
kubectl get|patch
to make requests to subresources would let us do this:kubectl get deployment/my-dep --subresource=scale -o jsonpath="{.status.selector}"
xref kubernetes/kubectl#564 for adding subresource support to kubectl which would enable getting string-formatted selectors for scale-supporting resources.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
/close
The layer that does jsonpath rendering is intentionally type-agnostic. I don't anticipate adding kube-specific object rendering there.
Resources that support the /scale subresource (replication controllers, replicasets, deployments, statefulsets, some custom resources, etc) return a stringified selector in the .status.selector
field of the scale subresource:
kubectl get --raw /apis/apps/v1/namespaces/default/deployments/my-dep/scale | \
jq -r .status.selector
Something like #60902 that would allow kubectl get|patch
to make requests to subresources would let us do this:
kubectl get deployment/my-dep --subresource=scale -o jsonpath="{.status.selector}"
xref kubernetes/kubectl#564 for adding subresource support to kubectl which would enable getting string-formatted selectors for scale-supporting resources.
—
Closed #15858.