Update-AksHciClusterCertificates
개요
워크로드 클러스터에 있는 모든 클라이언트의 토큰 및 인증서를 회전합니다.
구문
Update-AksHciClusterCertificates -name
[-fixCloudCredentials]
[-force]
Update-AksHciClusterCertificates -name
[-fixKubeletCredentials]
[-force]
Description
워크로드 클러스터에 있는 모든 클라이언트의 토큰 및 인증서를 회전합니다.
예제
클라우드 에이전트 관련 인증서를 수정하려면 대상 클러스터가 클라우드 에이전트와의 통신을 끊는 경우
Update-AksHciClusterCertificates -name mycluster -fixCloudCredentials
클러스터 인증서를 해결하려면 대상 클러스터 간에 통신 문제가 있는 경우
Update-AksHciClusterCertificates -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
MOC와 통신하는 클러스터 Pod에 대한 토큰을 다시 프로비전합니다. 워크로드 클러스터가 클라우드 에이전트와의 통신을 끊는 경우 이 플래그를 사용합니다.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-fixKubeletCredentials
클러스터 컨트롤 플레인 노드에 대한 인증서를 다시 프로비전합니다.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-force
만료 날짜에 관계없이 토큰 및 인증서 회전을 강제 적용하려면 이 플래그를 사용합니다.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False