96 lines
3.0 KiB
YAML
96 lines
3.0 KiB
YAML
---
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
annotations:
|
|
controller-gen.kubebuilder.io/version: v0.9.0
|
|
creationTimestamp: null
|
|
name: polardbxlogcollectors.polardbx.aliyun.com
|
|
spec:
|
|
group: polardbx.aliyun.com
|
|
names:
|
|
kind: PolarDBXLogCollector
|
|
listKind: PolarDBXLogCollectorList
|
|
plural: polardbxlogcollectors
|
|
shortNames:
|
|
- pxlc
|
|
- polardbxlogcollector
|
|
singular: polardbxlogcollector
|
|
scope: Namespaced
|
|
versions:
|
|
- additionalPrinterColumns:
|
|
- jsonPath: .metadata.namespace
|
|
name: NS
|
|
type: string
|
|
- jsonPath: .metadata.name
|
|
name: NAME
|
|
type: string
|
|
- jsonPath: .spec.fileBeatName
|
|
name: FB_NAME
|
|
type: string
|
|
- jsonPath: .status.configStatus.fileBeatReadyCount
|
|
name: FB_CNT
|
|
type: integer
|
|
- jsonPath: .spec.logStashName
|
|
name: LS_NAME
|
|
type: string
|
|
- jsonPath: .status.configStatus.logStashReadyCount
|
|
name: LS_CNT
|
|
type: string
|
|
name: v1
|
|
schema:
|
|
openAPIV3Schema:
|
|
properties:
|
|
apiVersion:
|
|
description: 'APIVersion defines the versioned schema of this representation
|
|
of an object. Servers should convert recognized schemas to the latest
|
|
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
|
type: string
|
|
kind:
|
|
description: 'Kind is a string value representing the REST resource this
|
|
object represents. Servers may infer this from the endpoint the client
|
|
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
|
type: string
|
|
metadata:
|
|
type: object
|
|
spec:
|
|
properties:
|
|
fileBeatName:
|
|
type: string
|
|
logStashName:
|
|
type: string
|
|
type: object
|
|
status:
|
|
properties:
|
|
configStatus:
|
|
properties:
|
|
fileBeatConfigId:
|
|
type: string
|
|
fileBeatCount:
|
|
format: int32
|
|
type: integer
|
|
fileBeatReadyCount:
|
|
format: int32
|
|
type: integer
|
|
logStashConfigId:
|
|
type: string
|
|
logStashCount:
|
|
format: int32
|
|
type: integer
|
|
logStashReadyCount:
|
|
format: int32
|
|
type: integer
|
|
type: object
|
|
specSnapshot:
|
|
properties:
|
|
fileBeatName:
|
|
type: string
|
|
logStashName:
|
|
type: string
|
|
type: object
|
|
type: object
|
|
type: object
|
|
served: true
|
|
storage: true
|
|
subresources: {}
|