Remove-AksHciGmsaCredentialSpec

Sinopsis

Menghapus spesifikasi kredensial untuk penyebaran gMSA pada kluster.

Sintaks

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

Deskripsi

Menghapus spesifikasi kredensial untuk penyebaran gMSA pada kluster.

Contoh

Contoh

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

Parameter

-nama

Nama alfanumerik dari kluster Kubernetes Anda.

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

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

-credSpecName

Nama objek spesifikasi kredensial Kubernetes yang ingin ditetapkan pengguna.

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

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

-clusterRoleName

Nama peran kluster Kubernetes yang ditugaskan untuk menggunakan objek credspec gMSA Kubernetes.

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

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

-secretNamespace

Kumpulan nama XML tempat objek rahasia Kubernetes berada.

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

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

-serviceAccount

Nama akun layanan Kubernetes yang ditetapkan untuk membaca objek 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

-aktivitas

Nama aktivitas saat memperbarui kemajuan.

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

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

Langkah berikutnya

Referensi AksHci PowerShell