diff --git a/.github/workflows/k8s.yml b/.github/workflows/k8s.yml index 179623b..e020a7c 100644 --- a/.github/workflows/k8s.yml +++ b/.github/workflows/k8s.yml @@ -47,7 +47,7 @@ jobs: stern: latest - name: Install curl - run: sudo apt-get install -y curl + run: sudo apt-get install -y curl net-tools - name: setup-kind uses: helm/kind-action@v1.5.0 @@ -83,7 +83,10 @@ jobs: - name: test run: | kubectl get pods + kubectl get services + sleep 5 + netstat -anp | grep LISTEN export NODE_IP=$(kubectl get nodes -o jsonpath="{.items[0].status.addresses[0].address}") echo $NODE_IP - curl -Lsf "http://${NODE_IP}:30000/login/my-cluster" + curl -L -v "http://${NODE_IP}:30000/login/my-cluster" curl -Lsf "http://${NODE_IP}:30000/login/my-cluster" | grep "Log in to Your Account"