...
1# Copyright 2020 Google LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15apiVersion: apiextensions.k8s.io/v1
16kind: CustomResourceDefinition
17metadata:
18 annotations:
19 cnrm.cloud.google.com/version: 1.106.0
20 creationTimestamp: null
21 labels:
22 cnrm.cloud.google.com/managed-by-kcc: "true"
23 cnrm.cloud.google.com/stability-level: alpha
24 cnrm.cloud.google.com/system: "true"
25 cnrm.cloud.google.com/tf2crd: "true"
26 name: mlenginemodels.mlengine.cnrm.cloud.google.com
27spec:
28 group: mlengine.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: MLEngineModel
33 plural: mlenginemodels
34 shortNames:
35 - gcpmlenginemodel
36 - gcpmlenginemodels
37 singular: mlenginemodel
38 scope: Namespaced
39 versions:
40 - additionalPrinterColumns:
41 - jsonPath: .metadata.creationTimestamp
42 name: Age
43 type: date
44 - description: When 'True', the most recent reconcile of the resource succeeded
45 jsonPath: .status.conditions[?(@.type=='Ready')].status
46 name: Ready
47 type: string
48 - description: The reason for the value in 'Ready'
49 jsonPath: .status.conditions[?(@.type=='Ready')].reason
50 name: Status
51 type: string
52 - description: The last transition time for the value in 'Status'
53 jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
54 name: Status Age
55 type: date
56 name: v1alpha1
57 schema:
58 openAPIV3Schema:
59 properties:
60 apiVersion:
61 description: 'apiVersion defines the versioned schema of this representation
62 of an object. Servers should convert recognized schemas to the latest
63 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
64 type: string
65 kind:
66 description: 'kind is a string value representing the REST resource this
67 object represents. Servers may infer this from the endpoint the client
68 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
69 type: string
70 metadata:
71 type: object
72 spec:
73 properties:
74 defaultVersion:
75 description: |-
76 Immutable. The default version of the model. This version will be used to handle
77 prediction requests that do not specify a version.
78 properties:
79 name:
80 description: Immutable. The name specified for the version when
81 it was created.
82 type: string
83 required:
84 - name
85 type: object
86 description:
87 description: Immutable. The description specified for the model when
88 it was created.
89 type: string
90 onlinePredictionConsoleLogging:
91 description: Immutable. If true, online prediction nodes send stderr
92 and stdout streams to Stackdriver Logging.
93 type: boolean
94 onlinePredictionLogging:
95 description: Immutable. If true, online prediction access logs are
96 sent to StackDriver Logging.
97 type: boolean
98 projectRef:
99 description: The project that this resource belongs to.
100 oneOf:
101 - not:
102 required:
103 - external
104 required:
105 - name
106 - not:
107 anyOf:
108 - required:
109 - name
110 - required:
111 - namespace
112 required:
113 - external
114 properties:
115 external:
116 description: 'Allowed value: The `name` field of a `Project` resource.'
117 type: string
118 name:
119 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
120 type: string
121 namespace:
122 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
123 type: string
124 type: object
125 regions:
126 description: |-
127 Immutable. The list of regions where the model is going to be deployed.
128 Currently only one region per model is supported.
129 items:
130 type: string
131 type: array
132 resourceID:
133 description: Immutable. Optional. The name of the resource. Used for
134 creation and acquisition. When unset, the value of `metadata.name`
135 is used as the default.
136 type: string
137 required:
138 - projectRef
139 type: object
140 status:
141 properties:
142 conditions:
143 description: Conditions represent the latest available observation
144 of the resource's current state.
145 items:
146 properties:
147 lastTransitionTime:
148 description: Last time the condition transitioned from one status
149 to another.
150 type: string
151 message:
152 description: Human-readable message indicating details about
153 last transition.
154 type: string
155 reason:
156 description: Unique, one-word, CamelCase reason for the condition's
157 last transition.
158 type: string
159 status:
160 description: Status is the status of the condition. Can be True,
161 False, Unknown.
162 type: string
163 type:
164 description: Type is the type of the condition.
165 type: string
166 type: object
167 type: array
168 observedGeneration:
169 description: ObservedGeneration is the generation of the resource
170 that was most recently observed by the Config Connector controller.
171 If this is equal to metadata.generation, then that means that the
172 current reported status reflects the most recent desired state of
173 the resource.
174 type: integer
175 type: object
176 required:
177 - spec
178 type: object
179 served: true
180 storage: true
181 subresources:
182 status: {}
183status:
184 acceptedNames:
185 kind: ""
186 plural: ""
187 conditions: []
188 storedVersions: []
View as plain text