apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name:…
- User
apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: mediaplans.crds.idom.project spec: group: crds.idom.project versions:
- name: v1alpha1 served: true storage: true schema: openAPIV3Schema: type: object properties: spec: type: object properties: schedule: type: string channel: type: object properties: name: type: string guid: type: string id: type: integer discussion_id: type: integer options: type: object properties: messages: type: object properties: kind: type: string topics: type: array items: type: object properties: code: type: string weight: type: integer files: type: array items: type: object properties: uri: type: string bots: type: object properties: totalCount: type: integer selectors: type: object properties: accounts: type: object properties: credentials: type: object properties: status: type: string mimicry: type: object properties: roleGuid: type: string settings: type: object properties: totalMessageCount: type: integer estimatedLeadTime: type: string disableMimicryOptions: type: boolean # add additional versions here scope: Namespaced names: plural: mediaplans singular: mediaplan kind: Mediaplan
- Assistant
This Custom Resource Definition defines a new Kubernetes resource called "Mediaplan" which can be created in a Kubernetes cluster. This Custom Resource can be accessed through its API group "crds.idom.project".
The Mediaplan Custom Resource has a specification that defines a schedule, channel, and options. The channel includes information about the name, GUID, ID, and discussion ID. The options include information about messages, bots, and settings. The messages include information about the kind of message, the topics, and files. The bots include information about the total count and selectors that include accounts and mimicry. The settings include information about the total message count, estimated lead time, and disabling mimicry options.
This Custom Resource is namespaced, meaning it can only be created and used in a specific namespace. The plural and singular names for this Custom Resource are "mediaplans" and "mediaplan" respectively. The kind of the object is "Mediaplan".
This Custom Resource can be used to manage mediaplans in a Kubernetes cluster and it provides a custom way of managing resources that are specific to an application's needs.
- User
build a kopf operator on python which serving changes of Mediaplan kubernetes custom resources if scheduling is not null then application must create a kubernetes cronjob else kubernetes job
- Assistant
- User
build a kopf operator on python which serving changes of Mediaplan kubernetes custom resources if scheduling is not null then application must create a kubernetes cronjob else kubernetes job if mediaplan was deleted then application also delete a job or cronjob
- Assistant