Remove Parameters - anongitmous/k8sShell GitHub Wiki

-DryRun

  • Modifications will not be persisted.
  • Will return a Mtf.Kubernetes.K8sWrapperCommon.K8sObjectDeleterResponse object with details about what would have occurred.
  • Accepts a single value: All.
Type: Mtf.Kubernetes.K8sWrapperCommon.DryRun
Aliases:
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-GracePeriod

  • The duration in seconds before the object should be deleted. Value must be a non-negative integer. The value zero indicates delete immediately. If this value is $null, the default grace period for the specified type will be used.
Type: Int32
Aliases:
Position: Named
Default value: $null
Accept pipeline input: False
Accept wildcard characters: False

-PropagationPolicy

  • If not supplied, the default policy is applied. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
Type: Mtf.Kubernetes.K8sWrapperCommon.PropagationPolicy
Aliases:
Position: Named
Default value: $null
Accept pipeline input: False
Accept wildcard characters: False

-Quiet

  • If there are no errors, there will be no output.
Type: SwitchParameter
Aliases:
Position: Named
Default value: N/A
Accept pipeline input: False
Accept wildcard characters: False