diff --git a/.github/workflows/functional_extra.yml b/.github/workflows/functional_extra.yml index f08318e181ff..084a53cb45fe 100644 --- a/.github/workflows/functional_extra.yml +++ b/.github/workflows/functional_extra.yml @@ -184,7 +184,6 @@ jobs: - name: Verify Cleanup if: always() && steps.azlogin.outcome == 'success' - uses: azure/cli@v2 - with: - echo "Verifying cleanup..." - az resource list --resource-group "${{ env.MINIKUBE_AZ_RESOURCE_GROUP }}" --query "[].{Name:name, Type:type, Created:createdTime}" --output table + run: | + echo "Verifying cleanup..." + az resource list --resource-group "${{ env.MINIKUBE_AZ_RESOURCE_GROUP }}" --query "[].{Name:name, Type:type, Created:createdTime}" --output table diff --git a/test/integration/functional_test.go b/test/integration/functional_test.go index 12654c9e8810..d013ef14c638 100644 --- a/test/integration/functional_test.go +++ b/test/integration/functional_test.go @@ -1795,11 +1795,6 @@ func validateCpCmd(ctx context.Context, t *testing.T, profile string) { // validateMySQL validates a minimalist MySQL deployment func validateMySQL(ctx context.Context, t *testing.T, profile string) { - // docs(skip): Skips for ARM64 architecture since it's not supported by MySQL - if arm64Platform() { - t.Skip("arm64 is not supported by mysql. Skip the test. See https://github.com/kubernetes/minikube/issues/10144") - } - defer PostMortemLogs(t, profile) // docs: Run `kubectl replace --force -f testdata/mysql/yaml` diff --git a/test/integration/testdata/mysql.yaml b/test/integration/testdata/mysql.yaml index 1f936e4885e3..2b960e95c540 100644 --- a/test/integration/testdata/mysql.yaml +++ b/test/integration/testdata/mysql.yaml @@ -26,17 +26,28 @@ spec: containers: - image: public.ecr.aws/docker/library/mysql:8.4 name: mysql + args: + # 1. Existing optimization + - "--performance-schema=OFF" + # 2. CRITICAL: Reduce buffer pool to fit in 384Mi limit + # 64M is safe for dev; allows room for OS + connections + - "--innodb-buffer-pool-size=64M" + # 3. Disable binary logging (saves I/O and CPU) + - "--disable-log-bin" + # 4. Limit connections to save per-thread memory + - "--max-connections=50" + # 5. Skip DNS lookups (saves a tiny bit of CPU/latency on connect) + - "--skip-name-resolve" resources: requests: - memory: "512Mi" - cpu: "600m" + memory: "256Mi" + cpu: "100m" limits: - memory: "700Mi" - cpu: "700m" + memory: "384Mi" + cpu: "500m" env: - # Use secret in real usage - name: MYSQL_ROOT_PASSWORD value: password ports: - containerPort: 3306 - name: mysql + name: mysql \ No newline at end of file