Repair-AksHciClusterCerts

개요

Kubernetes 기본 제공 구성 요소의 만료된 인증서와 관련된 오류를 해결하고 수정합니다.

구문

Repair-AksHciClusterCerts -name 
                          -fixCloudCredentials
                         [-sshPrivateKeyFile <String>] 
                         [-force]
Repair-AksHciClusterCerts -name 
                          -fixKubeletCredentials
                         [-sshPrivateKeyFile <String>] 
                         [-force]

Description

이 cmdlet은 더 이상 사용되지 않습니다. Update-AksHciClusterCertificates를 사용합니다.

Kubernetes 기본 제공 구성 요소의 만료된 인증서와 관련된 오류를 해결하고 수정합니다.

예제

Repair-AksHciClusterCerts -name mycluster -fixCloudCredentials

클러스터 인증서를 해결하려면 대상 클러스터 간에 통신 문제가 있는 경우

Repair-AksHciClusterCerts -name mycluster -fixKubeletCredentials

매개 변수

-이름

인증서를 다시 프로비전하려는 Kubernetes 클러스터의 이름입니다.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-fixCloudCredentials

워크로드 클러스터가 클라우드 에이전트와의 통신을 끊는 경우 이 플래그를 사용합니다.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-fixKubeletCredentials

워크로드 클러스터가 다른 워크로드 클러스터 간의 통신을 끊는 경우 이 플래그를 사용합니다.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-sshPrivateKeyFile

클러스터의 호스트 VM에 원격으로 액세스하는 데 사용되는 SSH 키입니다.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-force

검사 없이 강제로 복구하려면 이 플래그를 사용합니다.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

다음 단계

AksHci PowerShell 참조