forked from grafana/tempo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreplica-templates.yaml
More file actions
52 lines (52 loc) · 1.38 KB
/
replica-templates.yaml
File metadata and controls
52 lines (52 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
# must be in the form: <plural>.<group>
name: replicatemplates.rollout-operator.grafana.com
spec:
group: rollout-operator.grafana.com
versions:
- name: v1
served: true
storage: true
additionalPrinterColumns:
- description: Status replicas
jsonPath: .status.replicas
name: StatusReplicas
type: string
- description: Spec replicas
jsonPath: .spec.replicas
name: SpecReplicas
type: string
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
replicas:
type: integer
default: 1
minimum: 0
labelSelector:
type: string
status:
type: object
properties:
replicas:
type: integer
subresources:
status: { }
scale:
specReplicasPath: .spec.replicas
statusReplicasPath: .status.replicas
labelSelectorPath: .spec.labelSelector
scope: Namespaced
names:
plural: replicatemplates
singular: replicatemplate
kind: ReplicaTemplate
categories:
# Include in "kubectl get all" output
- all