-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HRQ decimal point value cannot be specified #292
Comments
I couldn't understand the details, but at least it seems that
$ kubectl explain --recursive ResourceQuota.spec.hard
KIND: ResourceQuota
VERSION: v1
FIELD: hard <map[string]Quantity>:
DESCRIPTION:
$ kubectl explain --recursive HierarchicalResourceQuota.spec.hard
GROUP: hnc.x-k8s.io
KIND: HierarchicalResourceQuota
VERSION: v1alpha2
FIELD: hard <map[string]Object>:
DESCRIPTION: We reuse the k8s parsing code in
The However, generated CRD defines the hierarchical-namespaces/config/crd/bases/hnc.x-k8s.io_hierarchicalresourcequotas.yaml Lines 38 to 51 in 168dd7e
So it might have something to do with the process of converting |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
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. |
What happened?
In
HierarchicalResourceQuota
, decimal point value cannot be specified.It's allowed in
ResourceQuota
.What did you expect to happen?
Decimal point value can be specified as
ResourceQuota
How can we reproduce it (as minimally and precisely as possible)?
For example, this will be invalid.
test-hrq.yaml
If set
limits.cpu: "1.5"
, it works.The text was updated successfully, but these errors were encountered: