Re: Updating the clusterquota object

2016-11-11 Thread Michal Fojtik
We have card about supporting `oc set cluster-quota` as the set for quota was introduced in recent kubernetes. On Tue, Nov 8, 2016 at 5:20 PM, Ben Pritchett wrote: > I suppose we'll need to use "oc update -f $template" and track our > clusterquota templates (oc edit and oc patch aren't the nices

Re: Updating the clusterquota object

2016-11-08 Thread Ben Pritchett
I suppose we'll need to use "oc update -f $template" and track our clusterquota templates (oc edit and oc patch aren't the nicest things to idempotently automate). The nice thing about having --dry-run associated is at least we wouldn't have to maintain YAML templates, and we could rely on the API

Re: Updating the clusterquota object

2016-11-08 Thread David Eads
All the basic CRUD commands work, so you can run `oc edit clusterquota/name`, `oc patch clusterquota/name `, or `oc update -f `. On Tue, Nov 8, 2016 at 11:06 AM, Ben Pritchett wrote: > Is there a method for updating clusterquotas that have already been > created? Referencing the creation proces

Updating the clusterquota object

2016-11-08 Thread Ben Pritchett
Is there a method for updating clusterquotas that have already been created? Referencing the creation process here: https://docs.openshift.com/container-platform/3.3/admin_guide/multiproject_quota.html#multi-project-quotas-selecting-projects There isn't a "oc update clusterquota foo" and the work