ResouceQuota不能获取到Status信息
问题现象
通过client获取ResouceQuota缺少status信息
服务器ResouceQuota详情
服务器ResouceQuota详情
客户端ResouceQuota详情
客户端调用
源码分析
/** * * read the specified ResourceQuota * @param name name of the ResourceQuota (required) * @param namespace object name and auth scope, such as for teams and projects (required) * @param pretty If 'true', then the output is pretty printed. (optional) * @param exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. (optional) * @param export Should this value be exported. Export strips fields that a user can not specify. (optional) * @return V1ResourceQuota * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public V1ResourceQuota readNamespacedResourceQuota(String name, String namespace, String pretty, Boolean exact, Boolean export) throws ApiException { ApiResponse<V1ResourceQuota> resp = readNamespacedResourceQuotaWithHttpInfo(name, namespace, pretty, exact, export); return resp.getData(); }
exact和export设置为true,导致只输出了主要信息,没有status信息
问题现象
exact和export设置为false