...
Text file
src/edge-infra.dev/test/fixtures/crds/gcp/compute.cnrm.cloud.google.com_computehttphealthchecks.yaml
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: computehttphealthchecks.compute.cnrm.cloud.google.com
8spec:
9 group: compute.cnrm.cloud.google.com
10 names:
11 kind: ComputeHTTPHealthCheck
12 listKind: ComputeHTTPHealthCheckList
13 plural: computehttphealthchecks
14 singular: computehttphealthcheck
15 scope: Namespaced
16 versions:
17 - name: v1beta1
18 schema:
19 openAPIV3Schema:
20 description: ComputeHTTPHealthCheck is the Schema for the compute API
21 properties:
22 apiVersion:
23 description: |-
24 APIVersion defines the versioned schema of this representation of an object.
25 Servers should convert recognized schemas to the latest internal value, and
26 may reject unrecognized values.
27 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
28 type: string
29 kind:
30 description: |-
31 Kind is a string value representing the REST resource this object represents.
32 Servers may infer this from the endpoint the client submits requests to.
33 Cannot be updated.
34 In CamelCase.
35 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
36 type: string
37 metadata:
38 type: object
39 spec:
40 properties:
41 checkIntervalSec:
42 description: |-
43 How often (in seconds) to send a health check. The default value is 5
44 seconds.
45 type: integer
46 description:
47 description: |-
48 An optional description of this resource. Provide this property when
49 you create the resource.
50 type: string
51 healthyThreshold:
52 description: |-
53 A so-far unhealthy instance will be marked healthy after this many
54 consecutive successes. The default value is 2.
55 type: integer
56 host:
57 description: |-
58 The value of the host header in the HTTP health check request. If
59 left empty (default value), the public IP on behalf of which this
60 health check is performed will be used.
61 type: string
62 port:
63 description: |-
64 The TCP port number for the HTTP health check request.
65 The default value is 80.
66 type: integer
67 requestPath:
68 description: |-
69 The request path of the HTTP health check request.
70 The default value is /.
71 type: string
72 resourceID:
73 description: Immutable. Optional. The name of the resource. Used for
74 creation and acquisition. When unset, the value of `metadata.name`
75 is used as the default.
76 type: string
77 timeoutSec:
78 description: |-
79 How long (in seconds) to wait before claiming failure.
80 The default value is 5 seconds. It is invalid for timeoutSec to have
81 greater value than checkIntervalSec.
82 type: integer
83 unhealthyThreshold:
84 description: |-
85 A so-far healthy instance will be marked unhealthy after this many
86 consecutive failures. The default value is 2.
87 type: integer
88 type: object
89 status:
90 properties:
91 conditions:
92 description: |-
93 Conditions represent the latest available observations of the
94 ComputeHTTPHealthCheck's current state.
95 items:
96 properties:
97 lastTransitionTime:
98 description: Last time the condition transitioned from one status
99 to another.
100 type: string
101 message:
102 description: Human-readable message indicating details about
103 last transition.
104 type: string
105 reason:
106 description: |-
107 Unique, one-word, CamelCase reason for the condition's last
108 transition.
109 type: string
110 status:
111 description: Status is the status of the condition. Can be True,
112 False, Unknown.
113 type: string
114 type:
115 description: Type is the type of the condition.
116 type: string
117 type: object
118 type: array
119 creationTimestamp:
120 description: Creation timestamp in RFC3339 text format.
121 type: string
122 observedGeneration:
123 description: ObservedGeneration is the generation of the resource
124 that was most recently observed by the Config Connector controller.
125 If this is equal to metadata.generation, then that means that the
126 current reported status reflects the most recent desired state of
127 the resource.
128 type: integer
129 selfLink:
130 type: string
131 type: object
132 type: object
133 served: true
134 storage: true
View as plain text