|
1 |
| ---- |
| 1 | +##--- |
2 | 2 | # Source: olm/templates/0000_30_06-rh-operators.configmap.yaml
|
3 | 3 |
|
4 | 4 | kind: ConfigMap
|
@@ -4424,6 +4424,35 @@ data:
|
4424 | 4424 | - acls
|
4425 | 4425 | required:
|
4426 | 4426 | - authentication
|
| 4427 | + - apiVersion: apiextensions.k8s.io/v1beta1 |
| 4428 | + kind: CustomResourceDefinition |
| 4429 | + metadata: |
| 4430 | + name: deschedulers.descheduler.io |
| 4431 | + spec: |
| 4432 | + group: descheduler.io |
| 4433 | + names: |
| 4434 | + kind: Descheduler |
| 4435 | + listKind: DeschedulerList |
| 4436 | + plural: deschedulers |
| 4437 | + singular: descheduler |
| 4438 | + scope: Namespaced |
| 4439 | + version: v1alpha1 |
| 4440 | + validation: |
| 4441 | + openAPIV3Schema: |
| 4442 | + properties: |
| 4443 | + spec: |
| 4444 | + strategies: |
| 4445 | + type: array |
| 4446 | + uniqueItems: true |
| 4447 | + minItems: 1 |
| 4448 | + maxItems: 4 |
| 4449 | + collectionFormat: pipes |
| 4450 | + items: |
| 4451 | + type: string |
| 4452 | + schedule: |
| 4453 | + type: string |
| 4454 | + pattern: '^(\d+|\*)(/\d+)?(\s+(\d+|\*)(/\d+)?){4}$' |
| 4455 | + |
4427 | 4456 | - apiVersion: apiextensions.k8s.io/v1beta1
|
4428 | 4457 | kind: CustomResourceDefinition
|
4429 | 4458 | metadata:
|
@@ -9550,6 +9579,142 @@ data:
|
9550 | 9579 | path: authorization.type
|
9551 | 9580 | x-descriptors:
|
9552 | 9581 | - 'urn:alm:descriptor:com.tectonic.ui:label'
|
| 9582 | + - apiVersion: operators.coreos.com/v1alpha1 |
| 9583 | + kind: ClusterServiceVersion |
| 9584 | + metadata: |
| 9585 | + annotations: |
| 9586 | + categories: openshift optional |
| 9587 | + certifiedLevel: Primed |
| 9588 | + containerImage: registry.svc.ci.openshift.org/openshift/origin-v4.0:descheduler-operator |
| 9589 | + createdAt: 2019/11/15 |
| 9590 | + description: An operator to run the OpenShift descheduler |
| 9591 | + healthIndex: B |
| 9592 | + repository: https://github.com/openshift/descheduler-operator |
| 9593 | + support: Red Hat |
| 9594 | + name: descheduler.v0.0.1 |
| 9595 | + namespace: openshift-descheduler-operator |
| 9596 | + spec: |
| 9597 | + description: | |
| 9598 | + # Descheduler for Kubernetes |
| 9599 | + |
| 9600 | + ## Introduction |
| 9601 | + |
| 9602 | + Scheduling in Kubernetes is the process of binding pending pods to nodes, and is performed by |
| 9603 | + a component of Kubernetes called kube-scheduler. The scheduler's decisions, whether or where a |
| 9604 | + pod can or can not be scheduled, are guided by its configurable policy which comprises of set of |
| 9605 | + rules, called predicates and priorities. The scheduler's decisions are influenced by its view of |
| 9606 | + a Kubernetes cluster at that point of time when a new pod appears first time for scheduling. |
| 9607 | + As Kubernetes clusters are very dynamic and their state change over time, there may be desired |
| 9608 | + to move already running pods to some other nodes for various reasons |
| 9609 | + |
| 9610 | + * Some nodes are under or over utilized. |
| 9611 | + * The original scheduling decision does not hold true any more, as taints or labels are added to |
| 9612 | + or removed from nodes, pod/node affinity requirements are not satisfied any more. |
| 9613 | + * Some nodes failed and their pods moved to other nodes. |
| 9614 | + New nodes are added to clusters. |
| 9615 | + |
| 9616 | + Consequently, there might be several pods scheduled on less desired nodes in a cluster. |
| 9617 | + Descheduler, based on its policy, finds pods that can be moved and evicts them. Please |
| 9618 | + note, in current implementation, descheduler does not schedule replacement of evicted pods |
| 9619 | + but relies on the default scheduler for that. |
| 9620 | + |
| 9621 | + ## Note |
| 9622 | + |
| 9623 | + Any api could be changed any time with out any notice. That said, your feedback is |
| 9624 | + very important and appreciated to make this project more stable and useful. |
| 9625 | + |
| 9626 | + customresourcedefinitions: |
| 9627 | + owned: |
| 9628 | + - description: Represents an instance of a Descheduler application |
| 9629 | + displayName: Descheduler Operator |
| 9630 | + kind: Descheduler |
| 9631 | + name: deschedulers.descheduler.io |
| 9632 | + version: v1alpha1 |
| 9633 | + displayName: Descheduler |
| 9634 | + install: |
| 9635 | + spec: |
| 9636 | + clusterPermissions: |
| 9637 | + - rules: |
| 9638 | + - apiGroups: |
| 9639 | + - "" |
| 9640 | + resources: |
| 9641 | + - services |
| 9642 | + - pods |
| 9643 | + - configmaps |
| 9644 | + - secrets |
| 9645 | + - names |
| 9646 | + - nodes |
| 9647 | + - pods/eviction |
| 9648 | + verbs: |
| 9649 | + - '*' |
| 9650 | + - apiGroups: |
| 9651 | + - apps |
| 9652 | + resources: |
| 9653 | + - deployments |
| 9654 | + verbs: |
| 9655 | + - '*' |
| 9656 | + - apiGroups: |
| 9657 | + - batch |
| 9658 | + - extensions |
| 9659 | + resources: |
| 9660 | + - jobs |
| 9661 | + verbs: |
| 9662 | + - '*' |
| 9663 | + - apiGroups: |
| 9664 | + - descheduler.io |
| 9665 | + resources: |
| 9666 | + - '*' |
| 9667 | + verbs: |
| 9668 | + - '*' |
| 9669 | + serviceAccountName: openshift-descheduler |
| 9670 | + deployments: |
| 9671 | + - name: descheduler-operator |
| 9672 | + spec: |
| 9673 | + replicas: 1 |
| 9674 | + selector: |
| 9675 | + matchLabels: |
| 9676 | + app: descheduler-operator |
| 9677 | + template: |
| 9678 | + metadata: |
| 9679 | + labels: |
| 9680 | + app: descheduler-operator |
| 9681 | + spec: |
| 9682 | + containers: |
| 9683 | + - command: |
| 9684 | + - descheduler-operator |
| 9685 | + env: |
| 9686 | + - name: MY_POD_NAMESPACE |
| 9687 | + valueFrom: |
| 9688 | + fieldRef: |
| 9689 | + fieldPath: metadata.namespace |
| 9690 | + - name: MY_POD_NAME |
| 9691 | + valueFrom: |
| 9692 | + fieldRef: |
| 9693 | + fieldPath: metadata.name |
| 9694 | + - name: WATCH_NAMESPACE |
| 9695 | + valueFrom: |
| 9696 | + fieldRef: |
| 9697 | + fieldPath: metadata.namespace |
| 9698 | + - name: OPERATOR_NAME |
| 9699 | + value: descheduler-operator |
| 9700 | + image: registry.svc.ci.openshift.org/openshift/origin-v4.0:descheduler-operator |
| 9701 | + imagePullPolicy: Always |
| 9702 | + name: descheduler-operator |
| 9703 | + restartPolicy: Always |
| 9704 | + serviceAccount: openshift-descheduler |
| 9705 | + serviceAccountName: openshift-descheduler |
| 9706 | + terminationGracePeriodSeconds: 5 |
| 9707 | + strategy: deployment |
| 9708 | + labels: |
| 9709 | + olm-owner-enterprise-app: descheduler-operator |
| 9710 | + olm-status-descriptors: descheduler.v0.0.1 |
| 9711 | + maintainers: |
| 9712 | + |
| 9713 | + name: Red Hat |
| 9714 | + provider: |
| 9715 | + name: Red Hat |
| 9716 | + version: 0.0.1 |
| 9717 | + |
9553 | 9718 | - #! validate-crd: ./deploy/chart/templates/03-clusterserviceversion.crd.yaml
|
9554 | 9719 | #! parse-kind: ClusterServiceVersion
|
9555 | 9720 | apiVersion: operators.coreos.com/v1alpha1
|
@@ -11713,6 +11878,11 @@ data:
|
11713 | 11878 | - name: preview
|
11714 | 11879 | currentCSV: amqstreams.v1.0.0.beta
|
11715 | 11880 |
|
| 11881 | + - packageName: descheduler |
| 11882 | + channels: |
| 11883 | + - name: alpha |
| 11884 | + currentCSV: descheduler.v0.0.1 |
| 11885 | + |
11716 | 11886 | - #! package-manifest: ./deploy/chart/catalog_resources/rh-operators/etcdoperator.v0.9.2.clusterserviceversion.yaml
|
11717 | 11887 | packageName: etcd
|
11718 | 11888 | channels:
|
|
0 commit comments