|
| 1 | +--- |
| 2 | +layout: default |
| 3 | +title: Exploring packages available for installation on cluster |
| 4 | +nav_order: 2 |
| 5 | +parent: Tasks |
| 6 | +--- |
| 7 | + |
| 8 | +The packages available for installation/receiving updates on cluster can be explored by querying the `Package` and `BundleMetadata` CRs: |
| 9 | + |
| 10 | +```bash |
| 11 | +$ kubectl get packages |
| 12 | +NAME AGE |
| 13 | +operatorhubio-ack-acm-controller 3m12s |
| 14 | +operatorhubio-ack-apigatewayv2-controller 3m12s |
| 15 | +operatorhubio-ack-applicationautoscaling-controller 3m12s |
| 16 | +operatorhubio-ack-cloudtrail-controller 3m12s |
| 17 | +operatorhubio-ack-dynamodb-controller 3m12s |
| 18 | +operatorhubio-ack-ec2-controller 3m12s |
| 19 | +operatorhubio-ack-ecr-controller 3m12s |
| 20 | +operatorhubio-ack-eks-controller 3m12s |
| 21 | +operatorhubio-ack-elasticache-controller 3m12s |
| 22 | +operatorhubio-ack-emrcontainers-controller 3m12s |
| 23 | +operatorhubio-ack-eventbridge-controller 3m12s |
| 24 | +operatorhubio-ack-iam-controller 3m12s |
| 25 | +operatorhubio-ack-kinesis-controller 3m12s |
| 26 | +operatorhubio-ack-kms-controller 3m12s |
| 27 | +operatorhubio-ack-lambda-controller 3m12s |
| 28 | +operatorhubio-ack-memorydb-controller 3m12s |
| 29 | +operatorhubio-ack-mq-controller 3m12s |
| 30 | +operatorhubio-ack-opensearchservice-controller 3m12s |
| 31 | +. |
| 32 | +. |
| 33 | +. |
| 34 | + |
| 35 | +$ kubectl get bundlemetadata |
| 36 | +NAME AGE |
| 37 | +operatorhubio-ack-acm-controller.v0.0.1 3m58s |
| 38 | +operatorhubio-ack-acm-controller.v0.0.2 3m58s |
| 39 | +operatorhubio-ack-acm-controller.v0.0.4 3m58s |
| 40 | +operatorhubio-ack-acm-controller.v0.0.5 3m58s |
| 41 | +operatorhubio-ack-acm-controller.v0.0.6 3m58s |
| 42 | +operatorhubio-ack-apigatewayv2-controller.v0.0.10 3m58s |
| 43 | +operatorhubio-ack-apigatewayv2-controller.v0.0.11 3m58s |
| 44 | +operatorhubio-ack-apigatewayv2-controller.v0.0.12 3m58s |
| 45 | +operatorhubio-ack-apigatewayv2-controller.v0.0.13 3m58s |
| 46 | +operatorhubio-ack-apigatewayv2-controller.v0.0.14 3m58s |
| 47 | +operatorhubio-ack-apigatewayv2-controller.v0.0.15 3m58s |
| 48 | +operatorhubio-ack-apigatewayv2-controller.v0.0.16 3m58s |
| 49 | +operatorhubio-ack-apigatewayv2-controller.v0.0.17 3m58s |
| 50 | +operatorhubio-ack-apigatewayv2-controller.v0.0.18 3m58s |
| 51 | +operatorhubio-ack-apigatewayv2-controller.v0.0.19 3m58s |
| 52 | +operatorhubio-ack-apigatewayv2-controller.v0.0.20 3m58s |
| 53 | +operatorhubio-ack-apigatewayv2-controller.v0.0.21 3m58s |
| 54 | +operatorhubio-ack-apigatewayv2-controller.v0.0.22 3m58s |
| 55 | +operatorhubio-ack-apigatewayv2-controller.v0.0.9 3m58s |
| 56 | +operatorhubio-ack-apigatewayv2-controller.v0.1.0 3m58s |
| 57 | +operatorhubio-ack-apigatewayv2-controller.v0.1.1 3m58s |
| 58 | +operatorhubio-ack-apigatewayv2-controller.v0.1.2 3m58s |
| 59 | +operatorhubio-ack-apigatewayv2-controller.v0.1.3 3m58s |
| 60 | +. |
| 61 | +. |
| 62 | +. |
| 63 | +``` |
| 64 | + |
| 65 | +Individual `Package`/`BundleMetadata` CRs can then be explored more by retrieving their yamls. Eg the `operatorhubio-argocd-operator` CR has more detailed information about the `argocd-operator`: |
| 66 | + |
| 67 | +```bash |
| 68 | +$ kubectl get packages | grep argocd |
| 69 | +operatorhubio-argocd-operator 5m19s |
| 70 | +operatorhubio-argocd-operator-helm 5m19s |
| 71 | + |
| 72 | +$ kubectl get package operatorhubio-argocd-operator -o yaml |
| 73 | +apiVersion: catalogd.operatorframework.io/v1alpha1 |
| 74 | +kind: Package |
| 75 | +metadata: |
| 76 | + creationTimestamp: "2023-06-16T14:34:04Z" |
| 77 | + generation: 1 |
| 78 | + labels: |
| 79 | + catalog: operatorhubio |
| 80 | + name: operatorhubio-argocd-operator |
| 81 | + ownerReferences: |
| 82 | + - apiVersion: catalogd.operatorframework.io/v1alpha1 |
| 83 | + blockOwnerDeletion: true |
| 84 | + controller: true |
| 85 | + kind: Catalog |
| 86 | + name: operatorhubio |
| 87 | + uid: 9a949664-9069-4376-9a66-a9921f7488e2 |
| 88 | + resourceVersion: "3765" |
| 89 | + uid: 43396920-4af4-4daf-a069-be68b8a0631e |
| 90 | +spec: |
| 91 | + catalog: |
| 92 | + name: operatorhubio |
| 93 | + channels: |
| 94 | + - entries: |
| 95 | + - name: argocd-operator.v0.0.11 |
| 96 | + replaces: argocd-operator.v0.0.9 |
| 97 | + - name: argocd-operator.v0.0.12 |
| 98 | + replaces: argocd-operator.v0.0.11 |
| 99 | + - name: argocd-operator.v0.0.13 |
| 100 | + replaces: argocd-operator.v0.0.12 |
| 101 | + - name: argocd-operator.v0.0.14 |
| 102 | + replaces: argocd-operator.v0.0.13 |
| 103 | + - name: argocd-operator.v0.0.15 |
| 104 | + replaces: argocd-operator.v0.0.14 |
| 105 | + - name: argocd-operator.v0.0.2 |
| 106 | + - name: argocd-operator.v0.0.3 |
| 107 | + replaces: argocd-operator.v0.0.2 |
| 108 | + - name: argocd-operator.v0.0.4 |
| 109 | + replaces: argocd-operator.v0.0.3 |
| 110 | + - name: argocd-operator.v0.0.5 |
| 111 | + replaces: argocd-operator.v0.0.4 |
| 112 | + - name: argocd-operator.v0.0.6 |
| 113 | + replaces: argocd-operator.v0.0.5 |
| 114 | + - name: argocd-operator.v0.0.8 |
| 115 | + replaces: argocd-operator.v0.0.6 |
| 116 | + - name: argocd-operator.v0.0.9 |
| 117 | + replaces: argocd-operator.v0.0.8 |
| 118 | + - name: argocd-operator.v0.1.0 |
| 119 | + replaces: argocd-operator.v0.0.15 |
| 120 | + - name: argocd-operator.v0.2.0 |
| 121 | + replaces: argocd-operator.v0.1.0 |
| 122 | + - name: argocd-operator.v0.2.1 |
| 123 | + replaces: argocd-operator.v0.2.0 |
| 124 | + - name: argocd-operator.v0.3.0 |
| 125 | + replaces: argocd-operator.v0.2.1 |
| 126 | + - name: argocd-operator.v0.4.0 |
| 127 | + replaces: argocd-operator.v0.3.0 |
| 128 | + - name: argocd-operator.v0.5.0 |
| 129 | + replaces: argocd-operator.v0.4.0 |
| 130 | + - name: argocd-operator.v0.6.0 |
| 131 | + replaces: argocd-operator.v0.5.0 |
| 132 | + name: "" |
| 133 | + defaultChannel: "" |
| 134 | + description: "" |
| 135 | + icon: |
| 136 | + data: PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2Z== |
| 137 | + mediatype: image/svg+xml |
| 138 | + packageName: argocd-operator |
| 139 | +status: {} |
| 140 | +``` |
| 141 | + |
| 142 | +**This CR is most helpful when exploring the versions of a package that are available for installation on cluster, and the upgrade graph of versions** (eg if v0.5.0 of `argocd-operator` is installed on cluster, what is the next upgrade available? The answer is v0.6.0). |
0 commit comments