Skip to content

Commit 1165560

Browse files
based on Khalil comment
1 parent 37b2e3e commit 1165560

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/_create_aks_cluster.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
runs-on: ubuntu-latest
1515
env:
1616
RESOURCE_GROUP: ${{ vars.RESOURCE_GROUP }}
17-
KUBERNETES_VERSION: ${{ vars.KUBERNETES_VERSION }}
1817
outputs:
1918
cluster-name: ${{ steps.create-aks-cluster.outputs.cluster-name }}
2019
steps:
@@ -52,7 +51,6 @@ jobs:
5251
run: |
5352
az aks create --resource-group $RESOURCE_GROUP \
5453
--name skr-kafka-demo-${RUN_ID} \
55-
--kubernetes-version $KUBERNETES_VERSION \
5654
--os-sku AzureLinux \
5755
--node-vm-size Standard_DC4as_cc_v5 \
5856
--tags "Owner=accct" \

.github/workflows/_setup_aks_cluster.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,5 +106,5 @@ jobs:
106106
# Apply the `Kafka` Cluster CR file
107107
kubectl apply -f https://strimzi.io/examples/latest/kafka/kafka-persistent-single.yaml -n kafka 2>&1
108108
109-
echo "Sleep for 3 minutes and wait for Kafka cluster to be created and fully working..."
110-
sleep 180
109+
echo "Wait while Kubernetes starts the required pods, services, and so on..."
110+
kubectl wait kafka/my-cluster --for=condition=Ready --timeout=300s -n kafka

0 commit comments

Comments
 (0)