code: func NewCmdCreatePodDisruptionBudget(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command {
  	options := &PodDisruptionBudgetOpts{
  		CreateSubcommandOptions: NewCreateSubcommandOptions(ioStreams),
  	}
  
  	cmd := &cobra.Command{
  		Use:                   "poddisruptionbudget NAME --selector=SELECTOR --min-available=N [--dry-run]",
  		DisableFlagsInUseLine: true,
  		Aliases:               []string{"pdb"},
  		Short:                 i18n.T("Create a pod disruption budget with the specified name."),
  		Long:                  pdbLong,
  		Example:               pdbExample,
  		Run: func(cmd *cobra.Command, args []string) {
  			cmdutil.CheckErr(options.Complete(f, cmd, args))
  			cmdutil.CheckErr(options.Run())
  		},
  	}
  
  	options.CreateSubcommandOptions.PrintFlags.AddFlags(cmd)
  
  	cmdutil.AddApplyAnnotationFlags(cmd)
  	cmdutil.AddValidateFlags(cmd)
  	cmdutil.AddGeneratorFlags(cmd, generateversioned.PodDisruptionBudgetV2GeneratorName)
  
  	cmd.Flags().String("min-available", "", i18n.T("The minimum number or percentage of available pods this budget requires."))
  	cmd.Flags().String("max-unavailable", "", i18n.T("The maximum number or percentage of unavailable pods this budget requires."))
  	cmd.Flags().String("selector", "", i18n.T("A label selector to use for this budget. Only equality-based selector requirements are supported."))
  	return cmd
  }
docs: // NewCmdCreatePodDisruptionBudget is a macro command to create a new pod disruption budget.