Remove-AksHciGmsaCredentialSpec

Streszczenie

Usuwa specyfikację poświadczeń dla wdrożeń gMSA w klastrze.

Składnia

Remove-AksHciGmsaCredentialSpec -name <String> 
                             -credSpecName <String>
                             -clusterRoleName <String>
                             [-secretNamespace <String>]
                             [-serviceAccount <String>]
                             [-activity <String>]                      

Opis

Usuwa specyfikację poświadczeń dla wdrożeń gMSA w klastrze.

Przykłady

Przykład

Remove-AksHciGmsaCredentialSpec -Name mycluster -CredSpecName credspec-mynewcluster -clusterRoleName clusterrole-mynewcluster

Parametry

-Nazwa

Alfanumeryczna nazwa klastra Kubernetes.

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

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

-credSpecName

Nazwa obiektu specyfikacji poświadczeń platformy Kubernetes, który użytkownik chce wyznaczyć.

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

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

-clusterRoleName

Nazwa roli klastra Kubernetes przypisanej do używania obiektu credspec usługi Kubernetes gMSA.

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

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

-secretNamespace

Przestrzeń nazw, w której znajduje się obiekt tajny kubernetes.

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

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

-Serviceaccount

Nazwa konta usługi Kubernetes przypisanego do odczytu obiektu credspec k8s gMSA.

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

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

-Działania

Nazwa działania podczas aktualizowania postępu.

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

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

Następne kroki

Dokumentacja programu PowerShell usługi AksHci