Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
ci Packet: Change the order of component installation
Browse files Browse the repository at this point in the history
Install components in following order, mandatorily, to ensure that other
components can install Prometheus Operator CRs like ServiceMonitor and
PrometheusRule:

- OpenEBS
- OpenEBS Storage Class
- Prometheus Operator

Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
  • Loading branch information
surajssd committed Mar 25, 2020
1 parent 21abe54 commit 9e91375
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions ci/packet/packet-cluster.lokocfg.envsubst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,22 @@ cluster "packet" {

component "openebs-operator" {}

# openebs-storage-class component should always be the last to be installed
# pending when https://github.com/kinvolk/lokoctl/issues/374 is fixed
# because when the discovery failure for creating StoragePoolClaim happens,
# lokoctl install errors out and moves on with running the tests
# causing subsequent components below this to be skipped.
component "openebs-storage-class" {
storage-class "openebs-test-sc" {
replica_count = 1
default = true
}
}

component "prometheus-operator" {
grafana_admin_password = "admin"
}

component "contour" {
ingress_hosts = ["dex.$CLUSTER_ID.$AWS_DNS_ZONE","gangway.$CLUSTER_ID.$AWS_DNS_ZONE"]
service_monitor = true
Expand Down Expand Up @@ -119,22 +135,6 @@ component "rook" {}

component "flatcar-linux-update-operator" {}

# openebs-storage-class component should always be the last to be installed
# pending when https://github.com/kinvolk/lokoctl/issues/374 is fixed
# because when the discovery failure for creating StoragePoolClaim happens,
# lokoctl install errors out and moves on with running the tests
# causing subsequent components below this to be skipped.
component "openebs-storage-class" {
storage-class "openebs-test-sc" {
replica_count = 1
default = true
}
}

component "prometheus-operator" {
grafana_admin_password = "admin"
}

component "cluster-autoscaler" {
cluster_name = "$CLUSTER_ID"

Expand Down

0 comments on commit 9e91375

Please sign in to comment.