From b40389daf1fce49898a48e7941c151774fa34fdd Mon Sep 17 00:00:00 2001 From: Fabrice Jammes Date: Sun, 24 Mar 2024 21:11:43 +0100 Subject: [PATCH] Update current feature --- .github/workflows/ci.yml | 10 +++++----- infra/az/machineset/machineset.yaml | 1 - infra/az/machineset/monitor.sh | 11 +++++++++++ 3 files changed, 16 insertions(+), 6 deletions(-) create mode 100755 infra/az/machineset/monitor.sh diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb8cf25..75e1007 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,18 +23,18 @@ jobs: run: | go install github.com/k8s-school/ktbx@v1.1.1-rc6 ktbx create -c - - name: Install ink + - name: Install ink run: | go install github.com/k8s-school/ink@v0.0.1-rc3 - name: Run test on internals run: | - ./1_internals/ci.sh + ./labs/1_internals/ci.sh - name: Run test on policies run: | - ./3_policies/ci.sh + ./labs/3_policies/ci.sh - name: Run test on computational resources run: | - ./4_computational_resources/ci.sh + ./labs/4_computational_resources/ci.sh - name: Install prometheus run: | - ./B_prometheus/install.sh + ./labs/B_prometheus/install.sh diff --git a/infra/az/machineset/machineset.yaml b/infra/az/machineset/machineset.yaml index 69d2311..6b20fe7 100644 --- a/infra/az/machineset/machineset.yaml +++ b/infra/az/machineset/machineset.yaml @@ -52,7 +52,6 @@ spec: publicIP: false publicLoadBalancer: "" resourceGroup: demo-z2jlq-rg - sshPrivateKey: "" sshPublicKey: "" subnet: demo-z2jlq-worker-subnet userDataSecret: diff --git a/infra/az/machineset/monitor.sh b/infra/az/machineset/monitor.sh new file mode 100755 index 0000000..10397b6 --- /dev/null +++ b/infra/az/machineset/monitor.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +set -euxo pipefail + +ink "Monitoring" +kubectl get -n openshift-machine-api machinesets.machine.openshift.io +kubectl get machine -A +echo +ink "Advanced monitoring" +kubectl get pod -n openshift-machine-api +kubectl get pod -n openshift-cloud-controller-manager