Use:fmt.Sprintf("set-cluster NAME [--%v=server] [--%v=path/to/certificate/authority] [--%v=true]",clientcmd.FlagAPIServer,clientcmd.FlagCAFile,clientcmd.FlagInsecure),
Use:fmt.Sprintf("set-cluster NAME [--%v=server] [--%v=path/to/certificate/authority] [--%v=true]",clientcmd.FlagAPIServer,clientcmd.FlagCAFile,clientcmd.FlagInsecure),
DisableFlagsInUseLine:true,
Short:i18n.T("Sets a cluster entry in kubeconfig"),
Short:i18n.T("Sets a cluster entry in kubeconfig"),
Use:fmt.Sprintf("set-context NAME [--%v=cluster_nickname] [--%v=user_nickname] [--%v=namespace]",clientcmd.FlagClusterName,clientcmd.FlagAuthInfoName,clientcmd.FlagNamespace),
Use:fmt.Sprintf("set-context NAME [--%v=cluster_nickname] [--%v=user_nickname] [--%v=namespace]",clientcmd.FlagClusterName,clientcmd.FlagAuthInfoName,clientcmd.FlagNamespace),
DisableFlagsInUseLine:true,
Short:i18n.T("Sets a context entry in kubeconfig"),
Short:i18n.T("Sets a context entry in kubeconfig"),
cmd.Flags().Duration("timeout",timeout,`Max time to wait for a replication controller to update before giving up. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".`)
cmd.Flags().Duration("timeout",timeout,`Max time to wait for a replication controller to update before giving up. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".`)
usage:="Filename or URL to file to use to create the new replication controller."
usage:="Filename or URL to file to use to create the new replication controller."
cmd.Flags().String("image","",i18n.T("Image to use for upgrading the replication controller. Must be distinct from the existing image (either new image or new image tag). Can not be used with --filename/-f"))
cmd.Flags().String("image","",i18n.T("Image to use for upgrading the replication controller. Must be distinct from the existing image (either new image or new image tag). Can not be used with --filename/-f"))
cmd.MarkFlagRequired("image")
cmd.Flags().String("deployment-label-key","deployment",i18n.T("The key to use to differentiate between two different controllers, default 'deployment'. Only relevant when --image is specified, ignored otherwise"))
cmd.Flags().String("deployment-label-key","deployment",i18n.T("The key to use to differentiate between two different controllers, default 'deployment'. Only relevant when --image is specified, ignored otherwise"))
cmd.Flags().String("container","",i18n.T("Container name which will have its image upgraded. Only relevant when --image is specified, ignored otherwise. Required when using --image on a multi-container pod"))
cmd.Flags().String("container","",i18n.T("Container name which will have its image upgraded. Only relevant when --image is specified, ignored otherwise. Required when using --image on a multi-container pod"))
cmd.Flags().String("image-pull-policy","",i18n.T("Explicit policy for when to pull container images. Required when --image is same as existing image, ignored otherwise."))
cmd.Flags().String("image-pull-policy","",i18n.T("Explicit policy for when to pull container images. Required when --image is same as existing image, ignored otherwise."))