Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit ae85c01

Browse files
Ganesh Maharaj Mahalingamdklyle
authored andcommitted
Revert check for prometheus deployment and update nginx
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
1 parent 8f2f1d7 commit ae85c01

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
resources:
2+
- ingress-nginx/deploy/static/provider/baremetal/deploy.yaml

clr-k8s-examples/create_stack.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ KATA_VER="${CLRK8S_KATA_VER:-2.3.3}"
2727
ROOK_VER="${CLRK8S_ROOK_VER:-v1.8.6}"
2828
METRICS_VER="${CLRK8S_METRICS_VER:-v0.6.1}"
2929
DASHBOARD_VER="${CLRK8S_DASHBOARD_VER:-v2.0.0-beta2}"
30-
INGRES_VER="${CLRK8S_INGRES_VER:-nginx-0.26.1}"
30+
INGRES_VER="${CLRK8S_INGRES_VER:-controller-v1.3.0}"
3131
EFK_VER="${CLRK8S_EFK_VER:-v1.15.1}"
3232
METALLB_VER="${CLRK8S_METALLB_VER:-v0.8.3}"
3333
NPD_VER="${CLRK8S_NPD_VER:-v0.6.6}"
@@ -258,10 +258,11 @@ function monitoring() {
258258
set_repo_version "${PROMETHEUS_VER}" "${PROMETHEUS_DIR}/overlays/${PROMETHEUS_VER}/kube-prometheus"
259259
kubectl apply --server-side -f "${PROMETHEUS_DIR}/overlays/${PROMETHEUS_VER}/kube-prometheus/manifests/setup/"
260260

261-
while ! [[ $(kubectl get servicemonitors --all-namespaces) ]]; do
261+
while ! [[ $(kubectl get crd alertmanagers.monitoring.coreos.com prometheuses.monitoring.coreos.com prometheusrules.monitoring.coreos.com servicemonitors.monitoring.coreos.com) ]]; do
262262
echo "Waiting for prometheus crds"
263263
sleep 10
264264
done
265+
265266
kubectl apply -k "${PROMETHEUS_DIR}/overlays/${PROMETHEUS_VER}/"
266267

267268
#Expose the dashboards

0 commit comments

Comments
 (0)