Skip to content

Commit

Permalink
chore: change deploy order. (#4441)
Browse files Browse the repository at this point in the history
* chore: add monitor for database and kubernetes.
Signed-off-by: yy <[email protected]>

Signed-off-by: yy <[email protected]>

* chore: add monitor for database and kubernetes.
Signed-off-by: yy <[email protected]>

Signed-off-by: yy <[email protected]>

* chore: fix pull image logic.
Signed-off-by: yy <[email protected]>

Signed-off-by: yy <[email protected]>

* fix offline build

* chore: fix database monitor.
Signed-off-by: yy <[email protected]>

Signed-off-by: yy <[email protected]>

* chore: fix kb prometheus.
Signed-off-by: yy <[email protected]>

Signed-off-by: yy <[email protected]>

* chore: fix deploy order problem.
Signed-off-by: yy <[email protected]>

Signed-off-by: yy <[email protected]>

---------

Signed-off-by: yy <[email protected]>
  • Loading branch information
lingdie authored Dec 21, 2023
1 parent edde860 commit 5c22d8a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/cloud/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,7 @@ execute_commands() {
wait_cluster_ready
sealos run "${image_registry}/${image_repository}/cert-manager:v${cert_manager_version#v:-1.8.0}"
sealos run "${image_registry}/${image_repository}/openebs:v${openebs_version#v:-3.4.0}"
sealos run "${image_registry}/${image_repository}/metrics-server:v${metrics_server_version#v:-0.6.4}"
kubectl get sc openebs-backup > /dev/null 2>&1 || kubectl create -f - <<EOF
apiVersion: storage.k8s.io/v1
kind: StorageClass
Expand All @@ -638,8 +639,6 @@ EOF
kbcli addon enable prometheus

get_prompt "installing_monitoring"

sealos run "${image_registry}/${image_repository}/metrics-server:v${metrics_server_version#v:-0.6.4}"
sealos run "${image_registry}/${image_repository}/kube-prometheus-stack:v${kube_prometheus_stack_version#v:-0.63.0}"

kubectl patch cm kb-addon-prometheus-server -n kb-system --patch-file $CLOUD_DIR/kb-addon-prometheus-server-patch.yaml
Expand Down

0 comments on commit 5c22d8a

Please sign in to comment.