namespace has been superceded by the context.namespace field of .kubeconfig files. See 'kubectl config set-context --help' for more details.
namespace has been superceded by the context.namespace field of .kubeconfig files. See 'kubectl config set-context --help' for more details.
`,
`,
Run:func(cmd*cobra.Command,args[]string){
Run:func(cmd*cobra.Command,args[]string){
glog.Errorln("namespace has been superceded by the context.namespace field of .kubeconfig files. See 'kubectl config set-context --help' for more details.")
util.CheckErr(fmt.Errorf("namespace has been superceded by the context.namespace field of .kubeconfig files. See 'kubectl config set-context --help' for more details."))
msg=fmt.Sprintf("Failed to resize controller in spite of retrying for %s",retryTimeout)
util.CheckErr(err)
}
fmt.Fprintf(out,"%s\n",msg)
},
},
}
}
cmd.Flags().String("resource-version","","Precondition for resource version. Requires that the current resource version match this value in order to resize.")
cmd.Flags().String("resource-version","","Precondition for resource version. Requires that the current resource version match this value in order to resize.")
usageError(cmd,"Must specify the controller to update")
}
oldName:=args[0]
schema,err:=f.Validator(cmd)
util.CheckErr(err)
util.CheckErr(err)
},
}
cmd.Flags().String("update-period",updatePeriod,`Time to wait between updating pods. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".`)
cmd.Flags().String("poll-interval",pollInterval,`Time delay between polling controller status after update. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".`)
cmd.Flags().String("timeout",timeout,`Max time to wait for a controller to update before giving up. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".`)
cmd.Flags().StringP("filename","f","","Filename or URL to file to use to create the new controller.")
cmd.Flags().String("update-period",updatePeriod,`Time to wait between updating pods. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".`)
cmd.Flags().String("poll-interval",pollInterval,`Time delay between polling controller status after update. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".`)
varhasLabelbool
cmd.Flags().String("timeout",timeout,`Max time to wait for a controller to update before giving up. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".`)
forkey,oldValue:=rangeoldRc.Spec.Selector{
cmd.Flags().StringP("filename","f","","Filename or URL to file to use to create the new controller.")