Skip to content

Commit eea8912

Browse files
authored
Update AKS workflow to check cluster status
1 parent eefd010 commit eea8912

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

‎.github/workflows/copilot-aks.yml‎

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,4 @@ jobs:
9292
echo "Kubeconfig fetched successfully!"
9393
- name: Check cluster
9494
run: |
95-
az aks agent "is my cluster healthy?"
96-
- name: Verify Cluster Access
97-
run: |
98-
echo "Testing cluster connectivity..."
99-
kubectl cluster-info
100-
echo ""
101-
echo "=== Cluster Nodes ==="
102-
kubectl get nodes -o wide
103-
echo ""
104-
echo "=== All Pods ==="
105-
kubectl get pods -A
106-
echo ""
107-
echo "=== Namespaces ==="
108-
kubectl get namespaces
95+
az aks agent --status --resource-group ${{ steps.cluster-info.outputs.RESOURCE_GROUP }} --name ${{ steps.cluster-info.outputs.CLUSTER_NAME }} --namespace aks-mcp --no-interactive

0 commit comments

Comments
 (0)