Comments (4)
@rhmjs per http://jsoneditoronline.org/?id=33d90df7ed56f34efbdda4bfae926c6d the quota.json file is valid (no trailing commas).
I'm not really sure how you are finding that the quota.json doesn't work... can you post the exact error you're getting?
from training.
[root@ose-master ~]# cat quota1.json && osc create -f quota1.json
{
"id": "test-quota",
"kind": "ResourceQuota",
"apiVersion": "v1beta1",
"spec": {
"hard": {
"memory": "512000000",
"cpu": "3",
"pods": "3",
"services": "3",
"replicationcontrollers":"4",
"resourcequotas":"1",
},
}
}
Error: unable to get type info from "quota1.json": couldn't get version/kind: invalid character '}' looking for beginning of object key string
[root@ose-master ~]# cat quota2.json && osc create -f quota2.json
{
"id": "test-quota",
"kind": "ResourceQuota",
"apiVersion": "v1beta1",
"spec": {
"hard": {
"memory": "512000000",
"cpu": "3",
"pods": "3",
"services": "3",
"replicationcontrollers":"4",
"resourcequotas":"1"
}
}
}
resourceQuotas/test-quota
[root@ose-master ~]#
from training.
He was talking about the examples in the setup docs not the quota.json files.
from training.
OH. OK.
from training.
Related Issues (20)
- not every resource tagged with a key:value pair of clusterid:whatever_you_specified_during_install. HOT 6
- [Doc] A clusterautoscaler is needed before auto scale up HOT 3
- [Doc] Unformatted output from `oc get machines`
- Need section(s) on Troubleshooting, Known Issues and Workarounds HOT 1
- [Doc] The version of Red Hat CoreOS is not correct. HOT 1
- [Doc] The Command of getting SSH Key should use kubeconfig of the new install cluster. HOT 1
- Document how an user needs to re-login to use oc command after initial install HOT 2
- A guide to deploy logging using downsteam images HOT 4
- The hyperlink is wrong
- Suggest to add --dir when re-start install after cleanup
- Inconsistent PATH advice HOT 1
- AWS CLI is not a must on provisioning host but documenation said it is HOT 1
- Fix links in training landing page
- What is the requirement for `Base Domain`? HOT 2
- Update to .spec.providerConfig to .spec.providerSpec HOT 3
- oc get clusterversion output HOT 2
- Can you deploy OCS at no cost to infra nodes? HOT 1
- need firstly terminate ssh bastion before destroy cluster HOT 1
- Some issues need to be fixed in the Operator Hub section HOT 6
- links to docs.openshift.com require authentication? HOT 1
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 training.