Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Probleme mit der Migration von Windows-IIS-Diensten
In diesem Dokument werden Problemumgehungen für einige Probleme beschrieben, die bei der Migration von Windows-IIS-Diensten auftreten können.
Windows-IIS-Bereitstellung ist nicht bereit
Die Bereitstellung von Windows IIS-Arbeitslasten ist aufgrund kurzer Zeit möglicherweise als nicht bereit gekennzeichnet. Wenn Sie Ihre Arbeitslasten mit Skaffold bereitstellen, wird die Bereitstellung möglicherweise als fehlgeschlagen angezeigt.
Erhöhen Sie zur Umgehung dieses Problems das Zeitlimit und die Zeitspanne der Bereitschaftsprüfung mit PowerShell:
Skaffold-Build für Windows-Images kann auf einem Windows-Computer fehlschlagen, da Skaffold versucht, das Basis-Image für das falsche Ziel abzurufen.
Wenn dieses Problem auftritt, erhalten Sie möglicherweise eine Fehlermeldung wie die folgende:
Checking cache...
- migrated-image-6jc3z: Error checking cache.
getting hash for artifact "migrated-image-6jc3z": getting dependencies for "migrated-image-6jc3z": parsing ONBUILD instructions: retrieving image "mcr.microsoft.com/dotnet/framework/aspnet:4.8": no child with platform linux/amd64 in index mcr.microsoft.com/dotnet/framework/aspnet:4.8
Rufen Sie als Behelfslösung für dieses Problem das Image manuell mit dem Befehl docker pull ab und führen Sie den Skaffold-Build noch einmal aus.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-04 (UTC)."],[],[],null,["# Issues with Windows IIS services migration\n==========================================\n\nThis document describes workarounds for some issues that you might\nencounter while migrating Windows IIS services.\n\nWindows IIS deployment marked not ready\n---------------------------------------\n\nThe deployment of Windows IIS workloads might be marked as not ready due\nto short timeouts. If you're deploying your workloads using Skaffold, then\nthe deployment might show as failed.\n\nAs a workaround for this issue, increase the readiness probe timeout and\nperiod using PowerShell: \n\n foreach ($file in (Get-ChildItem . -Recurse -Include \"deployment_spec.yaml\")) { (Get-Content $file).replace(\"periodSeconds: 10\", \"periodSe\n conds: 30\").replace(\"timeoutSeconds: 1\", \"timeoutSeconds: 10\") | Set-Content $file }\n\nSkaffold build for Windows images fails\n---------------------------------------\n\nSkaffold build for Windows images might fail on a Windows machine because\nSkaffold tries to pull the base image for the wrong target.\n\nIf this issue occurs, you might see an error message similar to the following\nmessage: \n\n Checking cache...\n - migrated-image-6jc3z: Error checking cache.\n getting hash for artifact \"migrated-image-6jc3z\": getting dependencies for \"migrated-image-6jc3z\": parsing ONBUILD instructions: retrieving image \"mcr.microsoft.com/dotnet/framework/aspnet:4.8\": no child with platform linux/amd64 in index mcr.microsoft.com/dotnet/framework/aspnet:4.8\n\nAs a workaround for this issue, pull the image manually using the `docker pull`\ncommand, and run the Skaffold build again."]]