From b88e6626a76d26b2203c2088786a81df7b40fa72 Mon Sep 17 00:00:00 2001 From: Tao Li Date: Wed, 30 Aug 2023 17:01:45 +0800 Subject: [PATCH] remove deprecated diagnostic-settings log rotation --- .github/workflows/continuous-delivery.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-delivery.yml b/.github/workflows/continuous-delivery.yml index efde814913..a90ce588c3 100644 --- a/.github/workflows/continuous-delivery.yml +++ b/.github/workflows/continuous-delivery.yml @@ -850,7 +850,7 @@ jobs: --resource ${AKS_CLUSTER_RESOURCE_ID} \ --name diagnostic-kube-apiserver-logs \ --workspace ${{ secrets.AZURE_WORKSPACE_RESOURCE_ID }} \ - --logs '[ { "category": "kube-apiserver", "enabled": true, "retentionPolicy": { "enabled": true, "days": 30 } } ]' + --logs '[ { "category": "kube-apiserver", "enabled": true } ]' - # Azure is slow in provisioning disks, and we can't wait two minutes # every time we create a pod, otherwise all the tests will time out.