From 60d0140a3f0e9a74f418eb858bf9ada3cb83e533 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 12 2015 20:07:17 +0000 Subject: import kubernetes-0.15.0-0.3.git0ea87e4.el7 --- diff --git a/.gitignore b/.gitignore index 3d82cce..e99b77e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/kubernetes-96af0c3.tar.gz +SOURCES/kubernetes-0ea87e4.tar.gz diff --git a/.kubernetes.metadata b/.kubernetes.metadata index 0f64f32..382570f 100644 --- a/.kubernetes.metadata +++ b/.kubernetes.metadata @@ -1 +1 @@ -abc6c9d2409498142616ebaf58e90c78dc06bbf2 SOURCES/kubernetes-96af0c3.tar.gz +8f43f3a2772e12b8ad5cb7517a584c348fd1d3be SOURCES/kubernetes-0ea87e4.tar.gz diff --git a/SOURCES/Change-kubelet-working-dir-to-var-lib-kubelet.patch b/SOURCES/Change-kubelet-working-dir-to-var-lib-kubelet.patch deleted file mode 100644 index d76a320..0000000 --- a/SOURCES/Change-kubelet-working-dir-to-var-lib-kubelet.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 5d117d7b9788b5727ffd5844becfbf00013f0013 Mon Sep 17 00:00:00 2001 -From: Eric Paris -Date: Tue, 27 Jan 2015 11:34:45 -0500 -Subject: [PATCH] Change kubelet working dir to /var/lib/kubelet - -Some image based OS do not allow writing to /. Since the kubelet looks -for .dockercfg files in the working dir and uses / as the working dir, -this means one can never set a .dockercfg on those distros. This moves -the kubelet working dir to /var/lib/kubelet, where the kubelet naturally -does its work. ---- - contrib/init/systemd/kubelet.service | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/contrib/init/systemd/kubelet.service b/contrib/init/systemd/kubelet.service -index 6990f29..973db5b 100644 ---- a/contrib/init/systemd/kubelet.service -+++ b/contrib/init/systemd/kubelet.service -@@ -5,6 +5,7 @@ After=docker.service cadvisor.service - Requires=docker.service - - [Service] -+WorkingDirectory=/var/lib/kubelet - EnvironmentFile=-/etc/kubernetes/config - EnvironmentFile=-/etc/kubernetes/kubelet - ExecStart=/usr/bin/kubelet \ --- -2.1.0 - diff --git a/SOURCES/No-Nicer-error-msg-if-stdlib-pkg-with-cgo-flag-is-no.patch b/SOURCES/No-Nicer-error-msg-if-stdlib-pkg-with-cgo-flag-is-no.patch new file mode 100644 index 0000000..8f91c3a --- /dev/null +++ b/SOURCES/No-Nicer-error-msg-if-stdlib-pkg-with-cgo-flag-is-no.patch @@ -0,0 +1,33 @@ +From 9e1cf168d92f155e478cd56c3b78ac4dee155237 Mon Sep 17 00:00:00 2001 +From: Jan Chaloupka +Date: Tue, 7 Apr 2015 16:06:19 +0200 +Subject: [PATCH] No Nicer error msg if stdlib pkg with cgo flag is not + installed + +--- + hack/lib/golang.sh | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh +index 5dc923f..588992b 100644 +--- a/hack/lib/golang.sh ++++ b/hack/lib/golang.sh +@@ -276,7 +276,6 @@ kube::golang::build_binaries_for_platform() { + local -a nonstatics=() + for binary in "${binaries[@]}"; do + if kube::golang::is_statically_linked_library "${binary}"; then +- kube::golang::exit_if_stdlib_not_installed; + statics+=($binary) + else + nonstatics+=($binary) +@@ -298,7 +297,6 @@ kube::golang::build_binaries_for_platform() { + fi + + if kube::golang::is_statically_linked_library "${binary}"; then +- kube::golang::exit_if_stdlib_not_installed; + CGO_ENABLED=0 go build -installsuffix cgo -o "${output_path}/${bin}" \ + "${goflags[@]:+${goflags[@]}}" \ + -ldflags "${version_ldflags}" \ +-- +1.9.3 + diff --git a/SOURCES/Use-docker.service-not-docker.socket-in-unit-files.patch b/SOURCES/Use-docker.service-not-docker.socket-in-unit-files.patch deleted file mode 100644 index e9f6af3..0000000 --- a/SOURCES/Use-docker.service-not-docker.socket-in-unit-files.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 388c179f016a11d401dd6bab91e41cbf12003ede Mon Sep 17 00:00:00 2001 -From: Eric Paris -Date: Thu, 22 Jan 2015 11:36:21 -0500 -Subject: [PATCH] Use docker.service not docker.socket in unit files - -Some distros, include RHEL and Fedora, are doing away with the docker -socket by default in systemd units, for security reasons. Instead rely -on the docker.service being started instead of socket activation. ---- - contrib/init/systemd/kubelet.service | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/contrib/init/systemd/kubelet.service b/contrib/init/systemd/kubelet.service -index 52b5b85..6990f29 100644 ---- a/contrib/init/systemd/kubelet.service -+++ b/contrib/init/systemd/kubelet.service -@@ -1,8 +1,8 @@ - [Unit] - Description=Kubernetes Kubelet Server - Documentation=https://github.com/GoogleCloudPlatform/kubernetes --After=docker.socket cadvisor.service --Requires=docker.socket -+After=docker.service cadvisor.service -+Requires=docker.service - - [Service] - EnvironmentFile=-/etc/kubernetes/config --- -2.1.0 - diff --git a/SOURCES/man-page-updates-for-kubectl.patch b/SOURCES/man-page-updates-for-kubectl.patch deleted file mode 100644 index d4f5404..0000000 --- a/SOURCES/man-page-updates-for-kubectl.patch +++ /dev/null @@ -1,2523 +0,0 @@ -From 04c31305d7e9f6df83a8053679a2f03208fe7442 Mon Sep 17 00:00:00 2001 -From: Eric Paris -Date: Sat, 31 Jan 2015 15:09:24 -0500 -Subject: [PATCH] man page updates for kubectl - ---- - cmd/gendocs/gen_kubectl_docs.go | 112 +++++++++++++++++---- - docs/man/kubectl-config-set-cluster.1.md | 34 +++++++ - docs/man/kubectl-config-set-context.1.md | 31 ++++++ - docs/man/kubectl-config-set-credentials.1.md | 34 +++++++ - docs/man/kubectl-config-set.1.md | 22 +++++ - docs/man/kubectl-config-unset.1.md | 20 ++++ - docs/man/kubectl-config-use-context.1.md | 17 ++++ - docs/man/kubectl-config-view.1.md | 22 +++++ - docs/man/kubectl-config.1.md | 17 ++++ - docs/man/kubectl-create.1.md | 31 ++++++ - docs/man/kubectl-delete.1.md | 47 +++++++++ - docs/man/kubectl-describe.1.md | 20 ++++ - docs/man/kubectl-get.1.md | 59 +++++++++++ - docs/man/kubectl-log.1.md | 28 ++++++ - docs/man/kubectl-namespace.1.md | 26 +++++ - docs/man/kubectl-proxy.1.md | 25 +++++ - docs/man/kubectl-resize.1.md | 42 ++++++++ - docs/man/kubectl-rollingupdate.1.md | 42 ++++++++ - docs/man/kubectl-run-container.1.md | 63 ++++++++++++ - docs/man/kubectl-update.1.md | 37 +++++++ - docs/man/kubectl-version.1.md | 22 +++++ - docs/man/kubectl.1.md | 96 ++++++++++++++++++ - docs/man/man1/kube-apiserver.1 | 7 ++ - docs/man/man1/kube-controller-manager.1 | 7 ++ - docs/man/man1/kube-proxy.1 | 7 ++ - docs/man/man1/kube-scheduler.1 | 7 ++ - docs/man/man1/kubectl-config-set-cluster.1 | 53 ++++++++++ - docs/man/man1/kubectl-config-set-context.1 | 49 +++++++++ - docs/man/man1/kubectl-config-set-credentials.1 | 53 ++++++++++ - docs/man/man1/kubectl-config-set.1 | 36 +++++++ - docs/man/man1/kubectl-config-unset.1 | 35 +++++++ - docs/man/man1/kubectl-config-use-context.1 | 26 +++++ - docs/man/man1/kubectl-config-view.1 | 32 ++++++ - docs/man/man1/kubectl-config.1 | 26 +++++ - docs/man/man1/kubectl-create.1 | 44 +++++++++ - docs/man/man1/kubectl-delete.1 | 65 ++++++++++++ - docs/man/man1/kubectl-describe.1 | 30 ++++++ - docs/man/man1/kubectl-get.1 | 81 +++++++++++++++ - docs/man/man1/kubectl-log.1 | 39 ++++++++ - docs/man/man1/kubectl-namespace.1 | 38 +++++++ - docs/man/man1/kubectl-proxy.1 | 36 +++++++ - docs/man/man1/kubectl-resize.1 | 56 +++++++++++ - docs/man/man1/kubectl-rollingupdate.1 | 58 +++++++++++ - docs/man/man1/kubectl-run-container.1 | 86 ++++++++++++++++ - docs/man/man1/kubectl-update.1 | 52 ++++++++++ - docs/man/man1/kubectl-version.1 | 32 ++++++ - docs/man/man1/kubectl.1 | 132 +++++++++++++++++++++++++ - docs/man/man1/kubelet.1 | 10 +- - 48 files changed, 1924 insertions(+), 20 deletions(-) - create mode 100644 docs/man/kubectl-config-set-cluster.1.md - create mode 100644 docs/man/kubectl-config-set-context.1.md - create mode 100644 docs/man/kubectl-config-set-credentials.1.md - create mode 100644 docs/man/kubectl-config-set.1.md - create mode 100644 docs/man/kubectl-config-unset.1.md - create mode 100644 docs/man/kubectl-config-use-context.1.md - create mode 100644 docs/man/kubectl-config-view.1.md - create mode 100644 docs/man/kubectl-config.1.md - create mode 100644 docs/man/kubectl-create.1.md - create mode 100644 docs/man/kubectl-delete.1.md - create mode 100644 docs/man/kubectl-describe.1.md - create mode 100644 docs/man/kubectl-get.1.md - create mode 100644 docs/man/kubectl-log.1.md - create mode 100644 docs/man/kubectl-namespace.1.md - create mode 100644 docs/man/kubectl-proxy.1.md - create mode 100644 docs/man/kubectl-resize.1.md - create mode 100644 docs/man/kubectl-rollingupdate.1.md - create mode 100644 docs/man/kubectl-run-container.1.md - create mode 100644 docs/man/kubectl-update.1.md - create mode 100644 docs/man/kubectl-version.1.md - create mode 100644 docs/man/kubectl.1.md - create mode 100644 docs/man/man1/kubectl-config-set-cluster.1 - create mode 100644 docs/man/man1/kubectl-config-set-context.1 - create mode 100644 docs/man/man1/kubectl-config-set-credentials.1 - create mode 100644 docs/man/man1/kubectl-config-set.1 - create mode 100644 docs/man/man1/kubectl-config-unset.1 - create mode 100644 docs/man/man1/kubectl-config-use-context.1 - create mode 100644 docs/man/man1/kubectl-config-view.1 - create mode 100644 docs/man/man1/kubectl-config.1 - create mode 100644 docs/man/man1/kubectl-create.1 - create mode 100644 docs/man/man1/kubectl-delete.1 - create mode 100644 docs/man/man1/kubectl-describe.1 - create mode 100644 docs/man/man1/kubectl-get.1 - create mode 100644 docs/man/man1/kubectl-log.1 - create mode 100644 docs/man/man1/kubectl-namespace.1 - create mode 100644 docs/man/man1/kubectl-proxy.1 - create mode 100644 docs/man/man1/kubectl-resize.1 - create mode 100644 docs/man/man1/kubectl-rollingupdate.1 - create mode 100644 docs/man/man1/kubectl-run-container.1 - create mode 100644 docs/man/man1/kubectl-update.1 - create mode 100644 docs/man/man1/kubectl-version.1 - create mode 100644 docs/man/man1/kubectl.1 - -diff --git a/cmd/gendocs/gen_kubectl_docs.go b/cmd/gendocs/gen_kubectl_docs.go -index d6490b4..13b5df5 100644 ---- a/cmd/gendocs/gen_kubectl_docs.go -+++ b/cmd/gendocs/gen_kubectl_docs.go -@@ -17,42 +17,116 @@ limitations under the License. - package main - - import ( -+ "bufio" -+ "bytes" - "fmt" -- "io" - "os" -+ "strings" - - "github.com/GoogleCloudPlatform/kubernetes/pkg/kubectl/cmd" - "github.com/spf13/cobra" -+ "github.com/spf13/pflag" - ) - - func main() { -- out := os.Stdout -+ docsdir := "docs/man/" -+ if len(os.Args) > 1 { -+ docsdir = os.Args[1] -+ } - // Set environment variables used by kubectl so the output is consistent, - // regardless of where we run. - os.Setenv("HOME", "/home/username") -- kubectl := cmd.NewFactory().NewKubectlCommand(out) -- fmt.Fprintf(out, "## %s\n\n", kubectl.Name()) -- fmt.Fprintf(out, "%s\n\n", kubectl.Short) -- fmt.Fprintln(out, "### Commands\n") -+ unused := new(bytes.Buffer) -+ kubectl := cmd.NewFactory().NewKubectlCommand(unused) -+ genMarkdown(kubectl, "", docsdir) - for _, c := range kubectl.Commands() { -- genMarkdown(c, nil, out) -+ genMarkdown(c, "kubectl", docsdir) - } - } - --func genMarkdown(command, parent *cobra.Command, out io.Writer) { -+func preamble(out *bufio.Writer, name, short, long string) { -+ out.WriteString(`% KUBERNETES(1) kubernetes User Manuals -+% Eric Paris -+% Jan 2015 -+# NAME -+`) -+ fmt.Fprintf(out, "%s \\- %s\n\n", name, short) -+ fmt.Fprintf(out, "# SYNOPSIS\n") -+ fmt.Fprintf(out, "**%s** [OPTIONS]\n\n", name) -+ fmt.Fprintf(out, "# DESCRIPTION\n") -+ fmt.Fprintf(out, "%s\n\n", long) -+} -+ -+func printFlags(out *bufio.Writer, flags *pflag.FlagSet) { -+ flags.VisitAll(func(flag *pflag.Flag) { -+ format := "**--%s**=%s\n\t%s\n\n" -+ if flag.Value.Type() == "string" { -+ // put quotes on the value -+ format = "**--%s**=%q\n\t%s\n\n" -+ } -+ if len(flag.Shorthand) > 0 { -+ format = "**-%s**, " + format -+ } else { -+ format = "%s" + format -+ } -+ fmt.Fprintf(out, format, flag.Shorthand, flag.Name, flag.DefValue, flag.Usage) -+ }) -+} -+ -+func printOptions(out *bufio.Writer, command *cobra.Command) { -+ var flags *pflag.FlagSet -+ if command.HasFlags() { -+ flags = command.Flags() -+ } else if !command.HasParent() && command.HasPersistentFlags() { -+ flags = command.PersistentFlags() -+ } -+ if flags == nil { -+ return -+ } -+ fmt.Fprintf(out, "# OPTIONS\n") -+ printFlags(out, flags) -+ fmt.Fprintf(out, "\n") -+} -+func genMarkdown(command *cobra.Command, parent, docsdir string) { -+ dparent := strings.Replace(parent, " ", "-", -1) - name := command.Name() -- if parent != nil { -- name = fmt.Sprintf("%s %s", parent.Name(), name) -+ dname := name -+ if len(parent) > 0 { -+ dname = dparent + "-" + name -+ name = parent + " " + name -+ } -+ filename := docsdir + dname + ".1.md" -+ f, err := os.Create(filename) -+ if err != nil { -+ fmt.Fprintf(os.Stderr, "Unable to open file docs file %s\n", filename) -+ return - } -- fmt.Fprintf(out, "#### %s\n", name) -- desc := command.Long -- if len(desc) == 0 { -- desc = command.Short -+ defer f.Close() -+ out := bufio.NewWriter(f) -+ short := command.Short -+ long := command.Long -+ if len(long) == 0 { -+ long = short - } -- fmt.Fprintf(out, "%s\n\n", desc) -- usage := command.UsageString() -- fmt.Fprintf(out, "Usage:\n```\n%s\n```\n\n", usage[9:len(usage)-1]) -- for _, c := range command.Commands() { -- genMarkdown(c, command, out) -+ -+ preamble(out, name, short, long) -+ printOptions(out, command) -+ -+ if len(command.Commands()) > 0 || len(parent) > 0 { -+ fmt.Fprintf(out, "# SEE ALSO\n") -+ if len(parent) > 0 { -+ fmt.Fprintf(out, "**%s(1)**, ", dparent) -+ } -+ for _, c := range command.Commands() { -+ fmt.Fprintf(out, "**%s-%s(1)**, ", dname, c.Name()) -+ genMarkdown(c, name, docsdir) -+ } -+ fmt.Fprintf(out, "\n") - } -+ -+ out.WriteString(` -+# HISTORY -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -+`) -+ out.Flush() - } -diff --git a/docs/man/kubectl-config-set-cluster.1.md b/docs/man/kubectl-config-set-cluster.1.md -new file mode 100644 -index 0000000..58ed892 ---- /dev/null -+++ b/docs/man/kubectl-config-set-cluster.1.md -@@ -0,0 +1,34 @@ -+% KUBERNETES(1) kubernetes User Manuals -+% Eric Paris -+% Jan 2015 -+# NAME -+kubectl config set-cluster \- Sets a cluster entry in .kubeconfig -+ -+# SYNOPSIS -+**kubectl config set-cluster** [OPTIONS] -+ -+# DESCRIPTION -+Sets a cluster entry in .kubeconfig -+ -+ Specifying a name that already exists overwrites that cluster entry. -+ -+ -+# OPTIONS -+**--api-version**="" -+ api-version for the cluster entry in .kubeconfig -+ -+**--certificate-authority**="" -+ certificate-authority for the cluster entry in .kubeconfig -+ -+**--insecure-skip-tls-verify**=false -+ insecure-skip-tls-verify for the cluster entry in .kubeconfig -+ -+**--server**="" -+ server for the cluster entry in .kubeconfig -+ -+ -+# SEE ALSO -+**kubectl-config(1)**, -+ -+# HISTORY -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/kubectl-config-set-context.1.md b/docs/man/kubectl-config-set-context.1.md -new file mode 100644 -index 0000000..172b747 ---- /dev/null -+++ b/docs/man/kubectl-config-set-context.1.md -@@ -0,0 +1,31 @@ -+% KUBERNETES(1) kubernetes User Manuals -+% Eric Paris -+% Jan 2015 -+# NAME -+kubectl config set-context \- Sets a context entry in .kubeconfig -+ -+# SYNOPSIS -+**kubectl config set-context** [OPTIONS] -+ -+# DESCRIPTION -+Sets a context entry in .kubeconfig -+ -+ Specifying a name that already exists overwrites that context entry. -+ -+ -+# OPTIONS -+**--cluster**="" -+ cluster for the context entry in .kubeconfig -+ -+**--namespace**="" -+ namespace for the context entry in .kubeconfig -+ -+**--user**="" -+ user for the context entry in .kubeconfig -+ -+ -+# SEE ALSO -+**kubectl-config(1)**, -+ -+# HISTORY -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/kubectl-config-set-credentials.1.md b/docs/man/kubectl-config-set-credentials.1.md -new file mode 100644 -index 0000000..42a8879 ---- /dev/null -+++ b/docs/man/kubectl-config-set-credentials.1.md -@@ -0,0 +1,34 @@ -+% KUBERNETES(1) kubernetes User Manuals -+% Eric Paris -+% Jan 2015 -+# NAME -+kubectl config set-credentials \- Sets a user entry in .kubeconfig -+ -+# SYNOPSIS -+**kubectl config set-credentials** [OPTIONS] -+ -+# DESCRIPTION -+Sets a user entry in .kubeconfig -+ -+ Specifying a name that already exists overwrites that user entry. -+ -+ -+# OPTIONS -+**--auth-path**="" -+ auth-path for the user entry in .kubeconfig -+ -+**--client-certificate**="" -+ client-certificate for the user entry in .kubeconfig -+ -+**--client-key**="" -+ client-key for the user entry in .kubeconfig -+ -+**--token**="" -+ token for the user entry in .kubeconfig -+ -+ -+# SEE ALSO -+**kubectl-config(1)**, -+ -+# HISTORY -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/kubectl-config-set.1.md b/docs/man/kubectl-config-set.1.md -new file mode 100644 -index 0000000..86d3a1e ---- /dev/null -+++ b/docs/man/kubectl-config-set.1.md -@@ -0,0 +1,22 @@ -+% KUBERNETES(1) kubernetes User Manuals -+% Eric Paris -+% Jan 2015 -+# NAME -+kubectl config set \- Sets an individual value in a .kubeconfig file -+ -+# SYNOPSIS -+**kubectl config set** [OPTIONS] -+ -+# DESCRIPTION -+Sets an individual value in a .kubeconfig file -+ -+ property-name is a dot delimitted name where each token represents either a attribute name or a map key. Map keys may not contain dots. -+ property-value is the new value you wish to set. -+ -+ -+ -+# SEE ALSO -+**kubectl-config(1)**, -+ -+# HISTORY -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/kubectl-config-unset.1.md b/docs/man/kubectl-config-unset.1.md -new file mode 100644 -index 0000000..efd554c ---- /dev/null -+++ b/docs/man/kubectl-config-unset.1.md -@@ -0,0 +1,20 @@ -+% KUBERNETES(1) kubernetes User Manuals -+% Eric Paris -+% Jan 2015 -+# NAME -+kubectl config unset \- Unsets an individual value in a .kubeconfig file -+ -+# SYNOPSIS -+**kubectl config unset** [OPTIONS] -+ -+# DESCRIPTION -+Unsets an individual value in a .kubeconfig file -+ -+ property-name is a dot delimitted name where each token represents either a attribute name or a map key. Map keys may not contain dots. -+ -+ -+# SEE ALSO -+**kubectl-config(1)**, -+ -+# HISTORY -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/kubectl-config-use-context.1.md b/docs/man/kubectl-config-use-context.1.md -new file mode 100644 -index 0000000..7fa3965 ---- /dev/null -+++ b/docs/man/kubectl-config-use-context.1.md -@@ -0,0 +1,17 @@ -+% KUBERNETES(1) kubernetes User Manuals -+% Eric Paris -+% Jan 2015 -+# NAME -+kubectl config use-context \- Sets the current-context in a .kubeconfig file -+ -+# SYNOPSIS -+**kubectl config use-context** [OPTIONS] -+ -+# DESCRIPTION -+Sets the current-context in a .kubeconfig file -+ -+# SEE ALSO -+**kubectl-config(1)**, -+ -+# HISTORY -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/kubectl-config-view.1.md b/docs/man/kubectl-config-view.1.md -new file mode 100644 -index 0000000..517c837 ---- /dev/null -+++ b/docs/man/kubectl-config-view.1.md -@@ -0,0 +1,22 @@ -+% KUBERNETES(1) kubernetes User Manuals -+% Eric Paris -+% Jan 2015 -+# NAME -+kubectl config view \- displays the specified .kubeconfig file or a merged result -+ -+# SYNOPSIS -+**kubectl config view** [OPTIONS] -+ -+# DESCRIPTION -+displays the specified .kubeconfig file or a merged result -+ -+# OPTIONS -+**--merge**=false -+ merge together the full hierarchy of .kubeconfig files -+ -+ -+# SEE ALSO -+**kubectl-config(1)**, -+ -+# HISTORY -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/kubectl-config.1.md b/docs/man/kubectl-config.1.md -new file mode 100644 -index 0000000..3e7a634 ---- /dev/null -+++ b/docs/man/kubectl-config.1.md -@@ -0,0 +1,17 @@ -+% KUBERNETES(1) kubernetes User Manuals -+% Eric Paris -+% Jan 2015 -+# NAME -+kubectl config \- config modifies .kubeconfig files -+ -+# SYNOPSIS -+**kubectl config** [OPTIONS] -+ -+# DESCRIPTION -+config modifies .kubeconfig files using subcommands like "kubectl config set current-context my-context" -+ -+# SEE ALSO -+**kubectl(1)**, **kubectl-config-view(1)**, **kubectl-config-set-cluster(1)**, **kubectl-config-set-credentials(1)**, **kubectl-config-set-context(1)**, **kubectl-config-set(1)**, **kubectl-config-unset(1)**, **kubectl-config-use-context(1)**, -+ -+# HISTORY -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/kubectl-create.1.md b/docs/man/kubectl-create.1.md -new file mode 100644 -index 0000000..816fcc4 ---- /dev/null -+++ b/docs/man/kubectl-create.1.md -@@ -0,0 +1,31 @@ -+% KUBERNETES(1) kubernetes User Manuals -+% Eric Paris -+% Jan 2015 -+# NAME -+kubectl create \- Create a resource by filename or stdin -+ -+# SYNOPSIS -+**kubectl create** [OPTIONS] -+ -+# DESCRIPTION -+Create a resource by filename or stdin. -+ -+JSON and YAML formats are accepted. -+ -+Examples: -+ $ kubectl create -f pod.json -+ -+ -+ $ cat pod.json | kubectl create -f - -+ -+ -+# OPTIONS -+**-f**, **--filename**=[] -+ Filename, directory, or URL to file to use to create the resource -+ -+ -+# SEE ALSO -+**kubectl(1)**, -+ -+# HISTORY -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/kubectl-delete.1.md b/docs/man/kubectl-delete.1.md -new file mode 100644 -index 0000000..e97edc4 ---- /dev/null -+++ b/docs/man/kubectl-delete.1.md -@@ -0,0 +1,47 @@ -+% KUBERNETES(1) kubernetes User Manuals -+% Eric Paris -+% Jan 2015 -+# NAME -+kubectl delete \- Delete a resource by filename, stdin or resource and id -+ -+# SYNOPSIS -+**kubectl delete** [OPTIONS] -+ -+# DESCRIPTION -+Delete a resource by filename, stdin, resource and id or by resources and label selector. -+ -+JSON and YAML formats are accepted. -+ -+If both a filename and command line arguments are passed, the command line -+arguments are used and the filename is ignored. -+ -+Note that the delete command does NOT do resource version checks, so if someone -+submits an update to a resource right when you submit a delete, their update -+will be lost along with the rest of the resource. -+ -+Examples: -+ $ kubectl delete -f pod.json -+ -+ -+ $ cat pod.json | kubectl delete -f - -+ -+ -+ $ kubectl delete pods,services -l name=myLabel -+ -+ -+ $ kubectl delete pod 1234-56-7890-234234-456456 -+ -+ -+# OPTIONS -+**-f**, **--filename**=[] -+ Filename, directory, or URL to a file containing the resource to delete -+ -+**-l**, **--selector**="" -+ Selector (label query) to filter on -+ -+ -+# SEE ALSO -+**kubectl(1)**, -+ -+# HISTORY -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/kubectl-describe.1.md b/docs/man/kubectl-describe.1.md -new file mode 100644 -index 0000000..3de5180 ---- /dev/null -+++ b/docs/man/kubectl-describe.1.md -@@ -0,0 +1,20 @@ -+% KUBERNETES(1) kubernetes User Manuals -+% Eric Paris -+% Jan 2015 -+# NAME -+kubectl describe \- Show details of a specific resource -+ -+# SYNOPSIS -+**kubectl describe** [OPTIONS] -+ -+# DESCRIPTION -+Show details of a specific resource. -+ -+This command joins many API calls together to form a detailed description of a -+given resource. -+ -+# SEE ALSO -+**kubectl(1)**, -+ -+# HISTORY -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/kubectl-get.1.md b/docs/man/kubectl-get.1.md -new file mode 100644 -index 0000000..899909c ---- /dev/null -+++ b/docs/man/kubectl-get.1.md -@@ -0,0 +1,59 @@ -+% KUBERNETES(1) kubernetes User Manuals -+% Eric Paris -+% Jan 2015 -+# NAME -+kubectl get \- Display one or many resources -+ -+# SYNOPSIS -+**kubectl get** [OPTIONS] -+ -+# DESCRIPTION -+Display one or many resources. -+ -+Possible resources include pods (po), replication controllers (rc), services -+(se), minions (mi), or events (ev). -+ -+If you specify a Go template, you can use any fields defined for the API version -+you are connecting to the server with. -+ -+Examples: -+ $ kubectl get pods -+ -+ -+ $ kubectl get replicationController 1234-56-7890-234234-456456 -+ -+ -+ $ kubectl get -o json pod 1234-56-7890-234234-456456 -+ -+ -+ $ kubectl get rc,services -+ -+ -+# OPTIONS -+**--no-headers**=false -+ When using the default output, don't print headers -+ -+**-o**, **--output**="" -+ Output format: json|yaml|template|templatefile -+ -+**--output-version**="" -+ Output the formatted object with the given version (default api-version) -+ -+**-l**, **--selector**="" -+ Selector (label query) to filter on -+ -+**-t**, **--template**="" -+ Template string or path to template file to use when -o=template or -o=templatefile. -+ -+**-w**, **--watch**=false -+ After listing/getting the requested object, watch for changes. -+ -+**--watch-only**=false -+ Watch for changes to the requested object(s), without listing/getting first. -+ -+ -+# SEE ALSO -+**kubectl(1)**, -+ -+# HISTORY -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/kubectl-log.1.md b/docs/man/kubectl-log.1.md -new file mode 100644 -index 0000000..aafa9ab ---- /dev/null -+++ b/docs/man/kubectl-log.1.md -@@ -0,0 +1,28 @@ -+% KUBERNETES(1) kubernetes User Manuals -+% Eric Paris -+% Jan 2015 -+# NAME -+kubectl log \- Print the logs for a container in a pod. -+ -+# SYNOPSIS -+**kubectl log** [OPTIONS] -+ -+# DESCRIPTION -+Print the logs for a container in a pod. If the pod has only one container, the container name is optional -+Examples: -+ $ kubectl log 123456-7890 ruby-container -+ -+ -+ $ kubectl log -f 123456-7890 ruby-container -+ -+ -+# OPTIONS -+**-f**, **--follow**=false -+ Specify if the logs should be streamed. -+ -+ -+# SEE ALSO -+**kubectl(1)**, -+ -+# HISTORY -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/kubectl-namespace.1.md b/docs/man/kubectl-namespace.1.md -new file mode 100644 -index 0000000..a01a90b ---- /dev/null -+++ b/docs/man/kubectl-namespace.1.md -@@ -0,0 +1,26 @@ -+% KUBERNETES(1) kubernetes User Manuals -+% Eric Paris -+% Jan 2015 -+# NAME -+kubectl namespace \- Set and view the current Kubernetes namespace -+ -+# SYNOPSIS -+**kubectl namespace** [OPTIONS] -+ -+# DESCRIPTION -+Set and view the current Kubernetes namespace scope for command line requests. -+ -+A Kubernetes namespace subdivides the cluster into groups of logically related pods, services, and replication controllers. -+ -+Examples: -+ $ kubectl namespace -+ Using namespace default -+ -+ $ kubectl namespace other -+ Set current namespace to other -+ -+# SEE ALSO -+**kubectl(1)**, -+ -+# HISTORY -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/kubectl-proxy.1.md b/docs/man/kubectl-proxy.1.md -new file mode 100644 -index 0000000..80828d1 ---- /dev/null -+++ b/docs/man/kubectl-proxy.1.md -@@ -0,0 +1,25 @@ -+% KUBERNETES(1) kubernetes User Manuals -+% Eric Paris -+% Jan 2015 -+# NAME -+kubectl proxy \- Run a proxy to the Kubernetes API server -+ -+# SYNOPSIS -+**kubectl proxy** [OPTIONS] -+ -+# DESCRIPTION -+Run a proxy to the Kubernetes API server. -+ -+# OPTIONS -+**-p**, **--port**=8001 -+ The port on which to run the proxy -+ -+**-w**, **--www**="" -+ Also serve static files from the given directory under the prefix /static -+ -+ -+# SEE ALSO -+**kubectl(1)**, -+ -+# HISTORY -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/kubectl-resize.1.md b/docs/man/kubectl-resize.1.md -new file mode 100644 -index 0000000..f859d7d ---- /dev/null -+++ b/docs/man/kubectl-resize.1.md -@@ -0,0 +1,42 @@ -+% KUBERNETES(1) kubernetes User Manuals -+% Eric Paris -+% Jan 2015 -+# NAME -+kubectl resize \- Set a new size for a resizable resource (currently only Replication Controllers) -+ -+# SYNOPSIS -+**kubectl resize** [OPTIONS] -+ -+# DESCRIPTION -+Set a new size for a resizable resource (currently only Replication Controllers) -+ -+Resize also allows users to specify one or more preconditions for the resize action. -+The new size is specified by --replicas=. You can also specify an optional precondition. -+The two currently supported options are --current-replicas or --resource-version. -+If a precondition is specified, it is validated before the resize is attempted, and it is -+guaranteed that the precondition holds true when the resize is sent to the server. -+ -+Examples: -+ $ kubectl resize --replicas=3 replicationcontrollers foo -+ resized -+ -+ # will only execute if the current size is 2 -+ $ kubectl resize --current-replicas=2 --replicas=3 replicationcontrollers foo -+ -+ -+# OPTIONS -+**--current-replicas**=-1 -+ Precondition for current size. Requires that the current size of the replication controller match this value in order to resize -+ -+**--replicas**=-1 -+ The new number desired number of replicas. Required. -+ -+**--resource-version**="" -+ Precondition for resource version. Requires that the current resource version match this value in order to resize -+ -+ -+# SEE ALSO -+**kubectl(1)**, -+ -+# HISTORY -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/kubectl-rollingupdate.1.md b/docs/man/kubectl-rollingupdate.1.md -new file mode 100644 -index 0000000..3b20c1c ---- /dev/null -+++ b/docs/man/kubectl-rollingupdate.1.md -@@ -0,0 +1,42 @@ -+% KUBERNETES(1) kubernetes User Manuals -+% Eric Paris -+% Jan 2015 -+# NAME -+kubectl rollingupdate \- Perform a rolling update of the given ReplicationController -+ -+# SYNOPSIS -+**kubectl rollingupdate** [OPTIONS] -+ -+# DESCRIPTION -+Perform a rolling update of the given ReplicationController. -+ -+Replaces named controller with new controller, updating one pod at a time to use the -+new PodTemplate. The new-controller.json must specify the same namespace as the -+existing controller and overwrite at least one (common) label in its replicaSelector. -+ -+Examples: -+$ kubectl rollingupdate frontend-v1 -f frontend-v2.json -+ -+ -+$ cat frontend-v2.json | kubectl rollingupdate frontend-v1 -f - -+ -+ -+# OPTIONS -+**-f**, **--filename**="" -+ Filename or URL to file to use to create the new controller -+ -+**--poll-interval**="3s" -+ Time delay between polling controller status after update. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". -+ -+**--timeout**="5m0s" -+ Max time to wait for a controller to update before giving up. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". -+ -+**--update-period**="1m0s" -+ Time to wait between updating pods. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". -+ -+ -+# SEE ALSO -+**kubectl(1)**, -+ -+# HISTORY -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/kubectl-run-container.1.md b/docs/man/kubectl-run-container.1.md -new file mode 100644 -index 0000000..d21f595 ---- /dev/null -+++ b/docs/man/kubectl-run-container.1.md -@@ -0,0 +1,63 @@ -+% KUBERNETES(1) kubernetes User Manuals -+% Eric Paris -+% Jan 2015 -+# NAME -+kubectl run-container \- Run a particular image on the cluster. -+ -+# SYNOPSIS -+**kubectl run-container** [OPTIONS] -+ -+# DESCRIPTION -+Create and run a particular image, possibly replicated. -+Creates a replication controller to manage the created container(s) -+ -+Examples: -+ $ kubectl run-container nginx --image=dockerfile/nginx -+ -+ -+ $ kubectl run-container nginx --image=dockerfile/nginx --replicas=5 -+ -+ -+ $ kubectl run-container nginx --image=dockerfile/nginx --dry-run -+ -+ -+ $ kubectl run-container nginx --image=dockerfile/nginx --overrides='{ "apiVersion": "v1beta1", "desiredState": { ... } }' -+ -+ -+ $ cat pod.json | kubectl update -f - -+ -+ -+ $ kubectl update pods my-pod --patch='{ "apiVersion": "v1beta1", "desiredState": { "manifest": [{ "cpu": 100 }]}}' -+ -+ -+# OPTIONS -+**-f**, **--filename**="" -+ Filename or URL to file to use to update the resource -+ -+**--patch**="" -+ A JSON document to override the existing resource. The resource is downloaded, then patched with the JSON, the updated -+ -+ -+# SEE ALSO -+**kubectl(1)**, -+ -+# HISTORY -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/kubectl-version.1.md b/docs/man/kubectl-version.1.md -new file mode 100644 -index 0000000..c0d0627 ---- /dev/null -+++ b/docs/man/kubectl-version.1.md -@@ -0,0 +1,22 @@ -+% KUBERNETES(1) kubernetes User Manuals -+% Eric Paris -+% Jan 2015 -+# NAME -+kubectl version \- Print version of client and server -+ -+# SYNOPSIS -+**kubectl version** [OPTIONS] -+ -+# DESCRIPTION -+Print version of client and server -+ -+# OPTIONS -+**-c**, **--client**=false -+ Client version only (no server required) -+ -+ -+# SEE ALSO -+**kubectl(1)**, -+ -+# HISTORY -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/kubectl.1.md b/docs/man/kubectl.1.md -new file mode 100644 -index 0000000..a48b194 ---- /dev/null -+++ b/docs/man/kubectl.1.md -@@ -0,0 +1,96 @@ -+% KUBERNETES(1) kubernetes User Manuals -+% Eric Paris -+% Jan 2015 -+# NAME -+kubectl \- kubectl controls the Kubernetes cluster manager -+ -+# SYNOPSIS -+**kubectl** [OPTIONS] -+ -+# DESCRIPTION -+kubectl controls the Kubernetes cluster manager. -+ -+Find more information at https://github.com/GoogleCloudPlatform/kubernetes. -+ -+# OPTIONS -+**--alsologtostderr**=false -+ log to standard error as well as files -+ -+**--api-version**="" -+ The API version to use when talking to the server -+ -+**-a**, **--auth-path**="" -+ Path to the auth info file. If missing, prompt the user. Only used if using https. -+ -+**--certificate-authority**="" -+ Path to a cert. file for the certificate authority. -+ -+**--client-certificate**="" -+ Path to a client key file for TLS. -+ -+**--client-key**="" -+ Path to a client key file for TLS. -+ -+**--cluster**="" -+ The name of the kubeconfig cluster to use -+ -+**--context**="" -+ The name of the kubeconfig context to use -+ -+**-h**, **--help**=false -+ help for kubectl -+ -+**--insecure-skip-tls-verify**=false -+ If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure. -+ -+**--kubeconfig**="" -+ Path to the kubeconfig file to use for CLI requests. -+ -+**--log_backtrace_at**=:0 -+ when logging hits line file:N, emit a stack trace -+ -+**--log_dir**="" -+ If non-empty, write log files in this directory -+ -+**--log_flush_frequency**=5s -+ Maximum number of seconds between log flushes -+ -+**--logtostderr**=true -+ log to standard error instead of files -+ -+**--match-server-version**=false -+ Require server version to match client version -+ -+**-n**, **--namespace**="" -+ If present, the namespace scope for this CLI request. -+ -+**--ns-path**="/home/username/.kubernetes_ns" -+ Path to the namespace info file that holds the namespace context to use for CLI requests. -+ -+**-s**, **--server**="" -+ The address of the Kubernetes API server -+ -+**--stderrthreshold**=2 -+ logs at or above this threshold go to stderr -+ -+**--token**="" -+ Bearer token for authentication to the API server. -+ -+**--user**="" -+ The name of the kubeconfig user to use -+ -+**--v**=0 -+ log level for V logs -+ -+**--validate**=false -+ If true, use a schema to validate the input before sending it -+ -+**--vmodule**= -+ comma-separated list of pattern=N settings for file-filtered logging -+ -+ -+# SEE ALSO -+**kubectl-version(1)**, **kubectl-proxy(1)**, **kubectl-get(1)**, **kubectl-describe(1)**, **kubectl-create(1)**, **kubectl-update(1)**, **kubectl-delete(1)**, **kubectl-config(1)**, **kubectl-namespace(1)**, **kubectl-log(1)**, **kubectl-rollingupdate(1)**, **kubectl-resize(1)**, **kubectl-run-container(1)**, -+ -+# HISTORY -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/man1/kube-apiserver.1 b/docs/man/man1/kube-apiserver.1 -index cdbd630..3f261cd 100644 ---- a/docs/man/man1/kube-apiserver.1 -+++ b/docs/man/man1/kube-apiserver.1 -@@ -1,13 +1,16 @@ - .TH "KUBERNETES" "1" " kubernetes User Manuals" "Scott Collier" "October 2014" "" - -+ - .SH NAME - .PP - kube\-apiserver \- Provides the API for kubernetes orchestration. - -+ - .SH SYNOPSIS - .PP - \fBkube\-apiserver\fP [OPTIONS] - -+ - .SH DESCRIPTION - .PP - The \fBkubernetes\fP API server validates and configures data for 3 types of objects: pods, services, and replicationControllers. Beyond just servicing REST operations, the API Server does two other things as well: 1. Schedules pods to worker nodes. Right now the scheduler is very simple. 2. Synchronize pod information (where they are, what ports they are exposing) with the service configuration. -@@ -15,6 +18,7 @@ The \fBkubernetes\fP API server validates and configures data for 3 types of obj - .PP - The the kube\-apiserver several options. - -+ - .SH OPTIONS - .PP - \fB\-\-address\fP="" -@@ -97,6 +101,7 @@ The the kube\-apiserver several options. - \fB\-\-vmodule\fP= - comma\-separated list of pattern=N settings for file\-filtered logging - -+ - .SH EXAMPLES - .PP - .RS -@@ -105,6 +110,8 @@ The the kube\-apiserver several options. - /usr/bin/kube\-apiserver \-\-logtostderr=true \-\-v=0 \-\-etcd\_servers=http://127.0.0.1:4001 \-\-address=0.0.0.0 \-\-port=8080 \-\-kubelet\_port=10250 \-\-allow\_privileged=false - - .fi -+.RE -+ - - .SH HISTORY - .PP -diff --git a/docs/man/man1/kube-controller-manager.1 b/docs/man/man1/kube-controller-manager.1 -index 49361ba..1b9b6c6 100644 ---- a/docs/man/man1/kube-controller-manager.1 -+++ b/docs/man/man1/kube-controller-manager.1 -@@ -1,13 +1,16 @@ - .TH "KUBERNETES" "1" " kubernetes User Manuals" "Scott Collier" "October 2014" "" - -+ - .SH NAME - .PP - kube\-controller\-manager \- Enforces kubernetes services. - -+ - .SH SYNOPSIS - .PP - \fBkube\-controller\-manager\fP [OPTIONS] - -+ - .SH DESCRIPTION - .PP - The \fBkubernetes\fP controller manager is really a service that is layered on top of the simple pod API. To enforce this layering, the logic for the replicationController is actually broken out into another server. This server watches etcd for changes to replicationController objects and then uses the public Kubernetes API to implement the replication algorithm. -@@ -15,6 +18,7 @@ The \fBkubernetes\fP controller manager is really a service that is layered on t - .PP - The kube\-controller\-manager has several options. - -+ - .SH OPTIONS - .PP - \fB\-\-address\fP="" -@@ -96,6 +100,7 @@ The kube\-controller\-manager has several options. - \fB\-\-vmodule\fP= - comma\-separated list of pattern=N settings for file\-filtered logging. - -+ - .SH EXAMPLES - .PP - .RS -@@ -104,6 +109,8 @@ The kube\-controller\-manager has several options. - /usr/bin/kube\-controller\-manager \-\-logtostderr=true \-\-v=0 \-\-master=127.0.0.1:8080 - - .fi -+.RE -+ - - .SH HISTORY - .PP -diff --git a/docs/man/man1/kube-proxy.1 b/docs/man/man1/kube-proxy.1 -index 340dab0..16b0925 100644 ---- a/docs/man/man1/kube-proxy.1 -+++ b/docs/man/man1/kube-proxy.1 -@@ -1,13 +1,16 @@ - .TH "KUBERNETES" "1" " kubernetes User Manuals" "Scott Collier" "October 2014" "" - -+ - .SH NAME - .PP - kube\-proxy \- Provides network proxy services. - -+ - .SH SYNOPSIS - .PP - \fBkube\-proxy\fP [OPTIONS] - -+ - .SH DESCRIPTION - .PP - The \fBkubernetes\fP network proxy runs on each node. This reflects services as defined in the Kubernetes API on each node and can do simple TCP stream forwarding or round robin TCP forwarding across a set of backends. Service endpoints are currently found through Docker\-links\-compatible environment variables specifying ports opened by the service proxy. Currently the user must select a port to expose the service on on the proxy, as well as the container's port to target. -@@ -15,6 +18,7 @@ The \fBkubernetes\fP network proxy runs on each node. This reflects services as - .PP - The kube\-proxy takes several options. - -+ - .SH OPTIONS - .PP - \fB\-\-alsologtostderr\fP=false -@@ -73,6 +77,7 @@ The kube\-proxy takes several options. - \fB\-\-vmodule\fP= - comma\-separated list of pattern=N settings for file\-filtered logging - -+ - .SH EXAMPLES - .PP - .RS -@@ -81,6 +86,8 @@ The kube\-proxy takes several options. - /usr/bin/kube\-proxy \-\-logtostderr=true \-\-v=0 \-\-etcd\_servers=http://127.0.0.1:4001 - - .fi -+.RE -+ - - .SH HISTORY - .PP -diff --git a/docs/man/man1/kube-scheduler.1 b/docs/man/man1/kube-scheduler.1 -index 7df1185..b8ccc35 100644 ---- a/docs/man/man1/kube-scheduler.1 -+++ b/docs/man/man1/kube-scheduler.1 -@@ -1,13 +1,16 @@ - .TH "KUBERNETES" "1" " kubernetes User Manuals" "Scott Collier" "October 2014" "" - -+ - .SH NAME - .PP - kube\-scheduler \- Schedules containers on hosts. - -+ - .SH SYNOPSIS - .PP - \fBkube\-scheduler\fP [OPTIONS] - -+ - .SH DESCRIPTION - .PP - The \fBkubernetes\fP scheduler is a policy\-rich, topology\-aware, workload\-specific function that significantly impacts availability, performance, and capacity. The scheduler needs to take into account individual and collective resource requirements, quality of service requirements, hardware/software/policy constraints, affinity and anti\-affinity specifications, data locality, inter\-workload interference, deadlines, and so on. Workload\-specific requirements will be exposed through the API as necessary. -@@ -15,6 +18,7 @@ The \fBkubernetes\fP scheduler is a policy\-rich, topology\-aware, workload\-spe - .PP - The kube\-scheduler can take several options. - -+ - .SH OPTIONS - .PP - \fB\-\-address=\fP"127.0.0.1" -@@ -72,6 +76,7 @@ The kube\-scheduler can take several options. - \fB\-\-vmodule\fP= - comma\-separated list of pattern=N settings for file\-filtered logging. - -+ - .SH EXAMPLES - .PP - .RS -@@ -80,6 +85,8 @@ The kube\-scheduler can take several options. - /usr/bin/kube\-scheduler \-\-logtostderr=true \-\-v=0 \-\-master=127.0.0.1:8080 - - .fi -+.RE -+ - - .SH HISTORY - .PP -diff --git a/docs/man/man1/kubectl-config-set-cluster.1 b/docs/man/man1/kubectl-config-set-cluster.1 -new file mode 100644 -index 0000000..42509d4 ---- /dev/null -+++ b/docs/man/man1/kubectl-config-set-cluster.1 -@@ -0,0 +1,53 @@ -+.TH "KUBERNETES" "1" " kubernetes User Manuals" "Eric Paris" "Jan 2015" "" -+ -+ -+.SH NAME -+.PP -+kubectl config set\-cluster \- Sets a cluster entry in .kubeconfig -+ -+ -+.SH SYNOPSIS -+.PP -+\fBkubectl config set\-cluster\fP [OPTIONS] -+ -+ -+.SH DESCRIPTION -+.PP -+Sets a cluster entry in .kubeconfig -+ -+.PP -+.RS -+ -+.nf -+ Specifying a name that already exists overwrites that cluster entry. -+ -+.fi -+.RE -+ -+ -+.SH OPTIONS -+.PP -+\fB\-\-api\-version\fP="" -+ api\-version for the cluster entry in .kubeconfig -+ -+.PP -+\fB\-\-certificate\-authority\fP="" -+ certificate\-authority for the cluster entry in .kubeconfig -+ -+.PP -+\fB\-\-insecure\-skip\-tls\-verify\fP=false -+ insecure\-skip\-tls\-verify for the cluster entry in .kubeconfig -+ -+.PP -+\fB\-\-server\fP="" -+ server for the cluster entry in .kubeconfig -+ -+ -+.SH SEE ALSO -+.PP -+\fBkubectl\-config(1)\fP, -+ -+ -+.SH HISTORY -+.PP -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/man1/kubectl-config-set-context.1 b/docs/man/man1/kubectl-config-set-context.1 -new file mode 100644 -index 0000000..41b7337 ---- /dev/null -+++ b/docs/man/man1/kubectl-config-set-context.1 -@@ -0,0 +1,49 @@ -+.TH "KUBERNETES" "1" " kubernetes User Manuals" "Eric Paris" "Jan 2015" "" -+ -+ -+.SH NAME -+.PP -+kubectl config set\-context \- Sets a context entry in .kubeconfig -+ -+ -+.SH SYNOPSIS -+.PP -+\fBkubectl config set\-context\fP [OPTIONS] -+ -+ -+.SH DESCRIPTION -+.PP -+Sets a context entry in .kubeconfig -+ -+.PP -+.RS -+ -+.nf -+ Specifying a name that already exists overwrites that context entry. -+ -+.fi -+.RE -+ -+ -+.SH OPTIONS -+.PP -+\fB\-\-cluster\fP="" -+ cluster for the context entry in .kubeconfig -+ -+.PP -+\fB\-\-namespace\fP="" -+ namespace for the context entry in .kubeconfig -+ -+.PP -+\fB\-\-user\fP="" -+ user for the context entry in .kubeconfig -+ -+ -+.SH SEE ALSO -+.PP -+\fBkubectl\-config(1)\fP, -+ -+ -+.SH HISTORY -+.PP -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/man1/kubectl-config-set-credentials.1 b/docs/man/man1/kubectl-config-set-credentials.1 -new file mode 100644 -index 0000000..6e99650 ---- /dev/null -+++ b/docs/man/man1/kubectl-config-set-credentials.1 -@@ -0,0 +1,53 @@ -+.TH "KUBERNETES" "1" " kubernetes User Manuals" "Eric Paris" "Jan 2015" "" -+ -+ -+.SH NAME -+.PP -+kubectl config set\-credentials \- Sets a user entry in .kubeconfig -+ -+ -+.SH SYNOPSIS -+.PP -+\fBkubectl config set\-credentials\fP [OPTIONS] -+ -+ -+.SH DESCRIPTION -+.PP -+Sets a user entry in .kubeconfig -+ -+.PP -+.RS -+ -+.nf -+ Specifying a name that already exists overwrites that user entry. -+ -+.fi -+.RE -+ -+ -+.SH OPTIONS -+.PP -+\fB\-\-auth\-path\fP="" -+ auth\-path for the user entry in .kubeconfig -+ -+.PP -+\fB\-\-client\-certificate\fP="" -+ client\-certificate for the user entry in .kubeconfig -+ -+.PP -+\fB\-\-client\-key\fP="" -+ client\-key for the user entry in .kubeconfig -+ -+.PP -+\fB\-\-token\fP="" -+ token for the user entry in .kubeconfig -+ -+ -+.SH SEE ALSO -+.PP -+\fBkubectl\-config(1)\fP, -+ -+ -+.SH HISTORY -+.PP -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/man1/kubectl-config-set.1 b/docs/man/man1/kubectl-config-set.1 -new file mode 100644 -index 0000000..0f31b55 ---- /dev/null -+++ b/docs/man/man1/kubectl-config-set.1 -@@ -0,0 +1,36 @@ -+.TH "KUBERNETES" "1" " kubernetes User Manuals" "Eric Paris" "Jan 2015" "" -+ -+ -+.SH NAME -+.PP -+kubectl config set \- Sets an individual value in a .kubeconfig file -+ -+ -+.SH SYNOPSIS -+.PP -+\fBkubectl config set\fP [OPTIONS] -+ -+ -+.SH DESCRIPTION -+.PP -+Sets an individual value in a .kubeconfig file -+ -+.PP -+.RS -+ -+.nf -+ property\-name is a dot delimitted name where each token represents either a attribute name or a map key. Map keys may not contain dots. -+ property\-value is the new value you wish to set. -+ -+.fi -+.RE -+ -+ -+.SH SEE ALSO -+.PP -+\fBkubectl\-config(1)\fP, -+ -+ -+.SH HISTORY -+.PP -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/man1/kubectl-config-unset.1 b/docs/man/man1/kubectl-config-unset.1 -new file mode 100644 -index 0000000..87d39fe ---- /dev/null -+++ b/docs/man/man1/kubectl-config-unset.1 -@@ -0,0 +1,35 @@ -+.TH "KUBERNETES" "1" " kubernetes User Manuals" "Eric Paris" "Jan 2015" "" -+ -+ -+.SH NAME -+.PP -+kubectl config unset \- Unsets an individual value in a .kubeconfig file -+ -+ -+.SH SYNOPSIS -+.PP -+\fBkubectl config unset\fP [OPTIONS] -+ -+ -+.SH DESCRIPTION -+.PP -+Unsets an individual value in a .kubeconfig file -+ -+.PP -+.RS -+ -+.nf -+ property\-name is a dot delimitted name where each token represents either a attribute name or a map key. Map keys may not contain dots. -+ -+.fi -+.RE -+ -+ -+.SH SEE ALSO -+.PP -+\fBkubectl\-config(1)\fP, -+ -+ -+.SH HISTORY -+.PP -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/man1/kubectl-config-use-context.1 b/docs/man/man1/kubectl-config-use-context.1 -new file mode 100644 -index 0000000..cd1a720 ---- /dev/null -+++ b/docs/man/man1/kubectl-config-use-context.1 -@@ -0,0 +1,26 @@ -+.TH "KUBERNETES" "1" " kubernetes User Manuals" "Eric Paris" "Jan 2015" "" -+ -+ -+.SH NAME -+.PP -+kubectl config use\-context \- Sets the current\-context in a .kubeconfig file -+ -+ -+.SH SYNOPSIS -+.PP -+\fBkubectl config use\-context\fP [OPTIONS] -+ -+ -+.SH DESCRIPTION -+.PP -+Sets the current\-context in a .kubeconfig file -+ -+ -+.SH SEE ALSO -+.PP -+\fBkubectl\-config(1)\fP, -+ -+ -+.SH HISTORY -+.PP -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/man1/kubectl-config-view.1 b/docs/man/man1/kubectl-config-view.1 -new file mode 100644 -index 0000000..7435e80 ---- /dev/null -+++ b/docs/man/man1/kubectl-config-view.1 -@@ -0,0 +1,32 @@ -+.TH "KUBERNETES" "1" " kubernetes User Manuals" "Eric Paris" "Jan 2015" "" -+ -+ -+.SH NAME -+.PP -+kubectl config view \- displays the specified .kubeconfig file or a merged result -+ -+ -+.SH SYNOPSIS -+.PP -+\fBkubectl config view\fP [OPTIONS] -+ -+ -+.SH DESCRIPTION -+.PP -+displays the specified .kubeconfig file or a merged result -+ -+ -+.SH OPTIONS -+.PP -+\fB\-\-merge\fP=false -+ merge together the full hierarchy of .kubeconfig files -+ -+ -+.SH SEE ALSO -+.PP -+\fBkubectl\-config(1)\fP, -+ -+ -+.SH HISTORY -+.PP -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/man1/kubectl-config.1 b/docs/man/man1/kubectl-config.1 -new file mode 100644 -index 0000000..991bc27 ---- /dev/null -+++ b/docs/man/man1/kubectl-config.1 -@@ -0,0 +1,26 @@ -+.TH "KUBERNETES" "1" " kubernetes User Manuals" "Eric Paris" "Jan 2015" "" -+ -+ -+.SH NAME -+.PP -+kubectl config \- config modifies .kubeconfig files -+ -+ -+.SH SYNOPSIS -+.PP -+\fBkubectl config\fP [OPTIONS] -+ -+ -+.SH DESCRIPTION -+.PP -+config modifies .kubeconfig files using subcommands like "kubectl config set current\-context my\-context" -+ -+ -+.SH SEE ALSO -+.PP -+\fBkubectl(1)\fP, \fBkubectl\-config\-view(1)\fP, \fBkubectl\-config\-set\-cluster(1)\fP, \fBkubectl\-config\-set\-credentials(1)\fP, \fBkubectl\-config\-set\-context(1)\fP, \fBkubectl\-config\-set(1)\fP, \fBkubectl\-config\-unset(1)\fP, \fBkubectl\-config\-use\-context(1)\fP, -+ -+ -+.SH HISTORY -+.PP -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/man1/kubectl-create.1 b/docs/man/man1/kubectl-create.1 -new file mode 100644 -index 0000000..df45788 ---- /dev/null -+++ b/docs/man/man1/kubectl-create.1 -@@ -0,0 +1,44 @@ -+.TH "KUBERNETES" "1" " kubernetes User Manuals" "Eric Paris" "Jan 2015" "" -+ -+ -+.SH NAME -+.PP -+kubectl create \- Create a resource by filename or stdin -+ -+ -+.SH SYNOPSIS -+.PP -+\fBkubectl create\fP [OPTIONS] -+ -+ -+.SH DESCRIPTION -+.PP -+Create a resource by filename or stdin. -+ -+.PP -+JSON and YAML formats are accepted. -+ -+.PP -+Examples: -+ $ kubectl create \-f pod.json -+ -+ -+.PP -+$ cat pod.json | kubectl create \-f \- -+ -+ -+ -+.SH OPTIONS -+.PP -+\fB\-f\fP, \fB\-\-filename\fP=[] -+ Filename, directory, or URL to file to use to create the resource -+ -+ -+.SH SEE ALSO -+.PP -+\fBkubectl(1)\fP, -+ -+ -+.SH HISTORY -+.PP -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/man1/kubectl-delete.1 b/docs/man/man1/kubectl-delete.1 -new file mode 100644 -index 0000000..e945bbb ---- /dev/null -+++ b/docs/man/man1/kubectl-delete.1 -@@ -0,0 +1,65 @@ -+.TH "KUBERNETES" "1" " kubernetes User Manuals" "Eric Paris" "Jan 2015" "" -+ -+ -+.SH NAME -+.PP -+kubectl delete \- Delete a resource by filename, stdin or resource and id -+ -+ -+.SH SYNOPSIS -+.PP -+\fBkubectl delete\fP [OPTIONS] -+ -+ -+.SH DESCRIPTION -+.PP -+Delete a resource by filename, stdin, resource and id or by resources and label selector. -+ -+.PP -+JSON and YAML formats are accepted. -+ -+.PP -+If both a filename and command line arguments are passed, the command line -+arguments are used and the filename is ignored. -+ -+.PP -+Note that the delete command does NOT do resource version checks, so if someone -+submits an update to a resource right when you submit a delete, their update -+will be lost along with the rest of the resource. -+ -+.PP -+Examples: -+ $ kubectl delete \-f pod.json -+ -+ -+.PP -+$ cat pod.json | kubectl delete \-f \- -+ -+ -+.PP -+$ kubectl delete pods,services \-l name=myLabel -+ -+ -+.PP -+$ kubectl delete pod 1234\-56\-7890\-234234\-456456 -+ -+ -+ -+.SH OPTIONS -+.PP -+\fB\-f\fP, \fB\-\-filename\fP=[] -+ Filename, directory, or URL to a file containing the resource to delete -+ -+.PP -+\fB\-l\fP, \fB\-\-selector\fP="" -+ Selector (label query) to filter on -+ -+ -+.SH SEE ALSO -+.PP -+\fBkubectl(1)\fP, -+ -+ -+.SH HISTORY -+.PP -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/man1/kubectl-describe.1 b/docs/man/man1/kubectl-describe.1 -new file mode 100644 -index 0000000..24ddd42 ---- /dev/null -+++ b/docs/man/man1/kubectl-describe.1 -@@ -0,0 +1,30 @@ -+.TH "KUBERNETES" "1" " kubernetes User Manuals" "Eric Paris" "Jan 2015" "" -+ -+ -+.SH NAME -+.PP -+kubectl describe \- Show details of a specific resource -+ -+ -+.SH SYNOPSIS -+.PP -+\fBkubectl describe\fP [OPTIONS] -+ -+ -+.SH DESCRIPTION -+.PP -+Show details of a specific resource. -+ -+.PP -+This command joins many API calls together to form a detailed description of a -+given resource. -+ -+ -+.SH SEE ALSO -+.PP -+\fBkubectl(1)\fP, -+ -+ -+.SH HISTORY -+.PP -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/man1/kubectl-get.1 b/docs/man/man1/kubectl-get.1 -new file mode 100644 -index 0000000..d5cb4a8 ---- /dev/null -+++ b/docs/man/man1/kubectl-get.1 -@@ -0,0 +1,81 @@ -+.TH "KUBERNETES" "1" " kubernetes User Manuals" "Eric Paris" "Jan 2015" "" -+ -+ -+.SH NAME -+.PP -+kubectl get \- Display one or many resources -+ -+ -+.SH SYNOPSIS -+.PP -+\fBkubectl get\fP [OPTIONS] -+ -+ -+.SH DESCRIPTION -+.PP -+Display one or many resources. -+ -+.PP -+Possible resources include pods (po), replication controllers (rc), services -+(se), minions (mi), or events (ev). -+ -+.PP -+If you specify a Go template, you can use any fields defined for the API version -+you are connecting to the server with. -+ -+.PP -+Examples: -+ $ kubectl get pods -+ -+ -+.PP -+$ kubectl get replicationController 1234\-56\-7890\-234234\-456456 -+ -+ -+.PP -+$ kubectl get \-o json pod 1234\-56\-7890\-234234\-456456 -+ -+ -+.PP -+$ kubectl get rc,services -+ -+ -+ -+.SH OPTIONS -+.PP -+\fB\-\-no\-headers\fP=false -+ When using the default output, don't print headers -+ -+.PP -+\fB\-o\fP, \fB\-\-output\fP="" -+ Output format: json|yaml|template|templatefile -+ -+.PP -+\fB\-\-output\-version\fP="" -+ Output the formatted object with the given version (default api\-version) -+ -+.PP -+\fB\-l\fP, \fB\-\-selector\fP="" -+ Selector (label query) to filter on -+ -+.PP -+\fB\-t\fP, \fB\-\-template\fP="" -+ Template string or path to template file to use when \-o=template or \-o=templatefile. -+ -+.PP -+\fB\-w\fP, \fB\-\-watch\fP=false -+ After listing/getting the requested object, watch for changes. -+ -+.PP -+\fB\-\-watch\-only\fP=false -+ Watch for changes to the requested object(s), without listing/getting first. -+ -+ -+.SH SEE ALSO -+.PP -+\fBkubectl(1)\fP, -+ -+ -+.SH HISTORY -+.PP -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/man1/kubectl-log.1 b/docs/man/man1/kubectl-log.1 -new file mode 100644 -index 0000000..2bbd66e ---- /dev/null -+++ b/docs/man/man1/kubectl-log.1 -@@ -0,0 +1,39 @@ -+.TH "KUBERNETES" "1" " kubernetes User Manuals" "Eric Paris" "Jan 2015" "" -+ -+ -+.SH NAME -+.PP -+kubectl log \- Print the logs for a container in a pod. -+ -+ -+.SH SYNOPSIS -+.PP -+\fBkubectl log\fP [OPTIONS] -+ -+ -+.SH DESCRIPTION -+.PP -+Print the logs for a container in a pod. If the pod has only one container, the container name is optional -+Examples: -+ $ kubectl log 123456\-7890 ruby\-container -+ -+ -+.PP -+$ kubectl log \-f 123456\-7890 ruby\-container -+ -+ -+ -+.SH OPTIONS -+.PP -+\fB\-f\fP, \fB\-\-follow\fP=false -+ Specify if the logs should be streamed. -+ -+ -+.SH SEE ALSO -+.PP -+\fBkubectl(1)\fP, -+ -+ -+.SH HISTORY -+.PP -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/man1/kubectl-namespace.1 b/docs/man/man1/kubectl-namespace.1 -new file mode 100644 -index 0000000..4348f9f ---- /dev/null -+++ b/docs/man/man1/kubectl-namespace.1 -@@ -0,0 +1,38 @@ -+.TH "KUBERNETES" "1" " kubernetes User Manuals" "Eric Paris" "Jan 2015" "" -+ -+ -+.SH NAME -+.PP -+kubectl namespace \- Set and view the current Kubernetes namespace -+ -+ -+.SH SYNOPSIS -+.PP -+\fBkubectl namespace\fP [OPTIONS] -+ -+ -+.SH DESCRIPTION -+.PP -+Set and view the current Kubernetes namespace scope for command line requests. -+ -+.PP -+A Kubernetes namespace subdivides the cluster into groups of logically related pods, services, and replication controllers. -+ -+.PP -+Examples: -+ $ kubectl namespace -+ Using namespace default -+ -+.PP -+$ kubectl namespace other -+ Set current namespace to other -+ -+ -+.SH SEE ALSO -+.PP -+\fBkubectl(1)\fP, -+ -+ -+.SH HISTORY -+.PP -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/man1/kubectl-proxy.1 b/docs/man/man1/kubectl-proxy.1 -new file mode 100644 -index 0000000..aa0992c ---- /dev/null -+++ b/docs/man/man1/kubectl-proxy.1 -@@ -0,0 +1,36 @@ -+.TH "KUBERNETES" "1" " kubernetes User Manuals" "Eric Paris" "Jan 2015" "" -+ -+ -+.SH NAME -+.PP -+kubectl proxy \- Run a proxy to the Kubernetes API server -+ -+ -+.SH SYNOPSIS -+.PP -+\fBkubectl proxy\fP [OPTIONS] -+ -+ -+.SH DESCRIPTION -+.PP -+Run a proxy to the Kubernetes API server. -+ -+ -+.SH OPTIONS -+.PP -+\fB\-p\fP, \fB\-\-port\fP=8001 -+ The port on which to run the proxy -+ -+.PP -+\fB\-w\fP, \fB\-\-www\fP="" -+ Also serve static files from the given directory under the prefix /static -+ -+ -+.SH SEE ALSO -+.PP -+\fBkubectl(1)\fP, -+ -+ -+.SH HISTORY -+.PP -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/man1/kubectl-resize.1 b/docs/man/man1/kubectl-resize.1 -new file mode 100644 -index 0000000..dc68647 ---- /dev/null -+++ b/docs/man/man1/kubectl-resize.1 -@@ -0,0 +1,56 @@ -+.TH "KUBERNETES" "1" " kubernetes User Manuals" "Eric Paris" "Jan 2015" "" -+ -+ -+.SH NAME -+.PP -+kubectl resize \- Set a new size for a resizable resource (currently only Replication Controllers) -+ -+ -+.SH SYNOPSIS -+.PP -+\fBkubectl resize\fP [OPTIONS] -+ -+ -+.SH DESCRIPTION -+.PP -+Set a new size for a resizable resource (currently only Replication Controllers) -+ -+.PP -+Resize also allows users to specify one or more preconditions for the resize action. -+The new size is specified by \-\-replicas=. You can also specify an optional precondition. -+The two currently supported options are \-\-current\-replicas or \-\-resource\-version. -+If a precondition is specified, it is validated before the resize is attempted, and it is -+guaranteed that the precondition holds true when the resize is sent to the server. -+ -+.PP -+Examples: -+ $ kubectl resize \-\-replicas=3 replicationcontrollers foo -+ resized -+ -+.PP -+# will only execute if the current size is 2 -+ $ kubectl resize \-\-current\-replicas=2 \-\-replicas=3 replicationcontrollers foo -+ -+ -+.SH OPTIONS -+.PP -+\fB\-\-current\-replicas\fP=\-1 -+ Precondition for current size. Requires that the current size of the replication controller match this value in order to resize -+ -+.PP -+\fB\-\-replicas\fP=\-1 -+ The new number desired number of replicas. Required. -+ -+.PP -+\fB\-\-resource\-version\fP="" -+ Precondition for resource version. Requires that the current resource version match this value in order to resize -+ -+ -+.SH SEE ALSO -+.PP -+\fBkubectl(1)\fP, -+ -+ -+.SH HISTORY -+.PP -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/man1/kubectl-rollingupdate.1 b/docs/man/man1/kubectl-rollingupdate.1 -new file mode 100644 -index 0000000..9285937 ---- /dev/null -+++ b/docs/man/man1/kubectl-rollingupdate.1 -@@ -0,0 +1,58 @@ -+.TH "KUBERNETES" "1" " kubernetes User Manuals" "Eric Paris" "Jan 2015" "" -+ -+ -+.SH NAME -+.PP -+kubectl rollingupdate \- Perform a rolling update of the given ReplicationController -+ -+ -+.SH SYNOPSIS -+.PP -+\fBkubectl rollingupdate\fP [OPTIONS] -+ -+ -+.SH DESCRIPTION -+.PP -+Perform a rolling update of the given ReplicationController. -+ -+.PP -+Replaces named controller with new controller, updating one pod at a time to use the -+new PodTemplate. The new\-controller.json must specify the same namespace as the -+existing controller and overwrite at least one (common) label in its replicaSelector. -+ -+.PP -+Examples: -+$ kubectl rollingupdate frontend\-v1 \-f frontend\-v2.json -+ -+ -+.PP -+$ cat frontend\-v2.json | kubectl rollingupdate frontend\-v1 \-f \- -+ -+ -+ -+.SH OPTIONS -+.PP -+\fB\-f\fP, \fB\-\-filename\fP="" -+ Filename or URL to file to use to create the new controller -+ -+.PP -+\fB\-\-poll\-interval\fP="3s" -+ Time delay between polling controller status after update. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". -+ -+.PP -+\fB\-\-timeout\fP="5m0s" -+ Max time to wait for a controller to update before giving up. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". -+ -+.PP -+\fB\-\-update\-period\fP="1m0s" -+ Time to wait between updating pods. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". -+ -+ -+.SH SEE ALSO -+.PP -+\fBkubectl(1)\fP, -+ -+ -+.SH HISTORY -+.PP -+January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! -diff --git a/docs/man/man1/kubectl-run-container.1 b/docs/man/man1/kubectl-run-container.1 -new file mode 100644 -index 0000000..70dc2ac ---- /dev/null -+++ b/docs/man/man1/kubectl-run-container.1 -@@ -0,0 +1,86 @@ -+.TH "KUBERNETES" "1" " kubernetes User Manuals" "Eric Paris" "Jan 2015" "" -+ -+ -+.SH NAME -+.PP -+kubectl run\-container \- Run a particular image on the cluster. -+ -+ -+.SH SYNOPSIS -+.PP -+\fBkubectl run\-container\fP [OPTIONS] -+ -+ -+.SH DESCRIPTION -+.PP -+Create and run a particular image, possibly replicated. -+Creates a replication controller to manage the created container(s) -+ -+.PP -+Examples: -+ $ kubectl run\-container nginx \-\-image=dockerfile/nginx -+ -+ -+.PP -+$ kubectl run\-container nginx \-\-image=dockerfile/nginx \-\-replicas=5 -+ -+ -+.PP -+$ kubectl run\-container nginx \-\-image=dockerfile/nginx \-\-dry\-run -+ -+ -+.PP -+$ kubectl run\-container nginx \-\-image=dockerfile/nginx \-\-overrides='\{ "apiVersion": "v1beta1", "desiredState": \{ ... \} \}' -+ = 21 || 0%{?rhel} Requires: docker @@ -31,80 +32,237 @@ Requires: docker Requires: docker-io %endif -Requires: etcd -Requires: hostname - Requires(pre): shadow-utils -BuildRequires: git BuildRequires: golang >= 1.2-7 BuildRequires: systemd -BuildRequires: etcd +BuildRequires: etcd >= 2.0.8 BuildRequires: hostname +BuildRequires: rsync %if 0%{?fedora} # needed for go cover. Not available in RHEL/CentOS (available in Fedora/EPEL) BuildRequires: golang-cover - -BuildRequires: golang(code.google.com/p/gcfg) -BuildRequires: golang(code.google.com/p/goauth2) -BuildRequires: golang(code.google.com/p/google-api-go-client) > 0-0.3 -BuildRequires: golang(code.google.com/p/go-uuid) -BuildRequires: golang(github.com/coreos/go-etcd/etcd) -BuildRequires: golang(github.com/davecgh/go-spew/spew) -BuildRequires: golang(github.com/elazarl/go-bindata-assetfs) -BuildRequires: golang(github.com/emicklei/go-restful) -BuildRequires: golang(github.com/fsouza/go-dockerclient) > 0-0.6 -BuildRequires: golang(github.com/ghodss/yaml) -BuildRequires: golang(github.com/golang/glog) -BuildRequires: golang(github.com/google/cadvisor) >= 0.6.2 -BuildRequires: golang(github.com/google/gofuzz) -BuildRequires: golang(github.com/kr/text) -BuildRequires: golang(github.com/mitchellh/goamz/aws) -BuildRequires: golang(github.com/mitchellh/goamz/ec2) -BuildRequires: golang(github.com/mitchellh/mapstructure) -BuildRequires: golang(github.com/racker/perigee) -BuildRequires: golang(github.com/rackspace/gophercloud) -BuildRequires: golang(github.com/skratchdot/open-golang/open) -BuildRequires: golang(github.com/spf13/cobra) -BuildRequires: golang(github.com/spf13/pflag) -BuildRequires: golang(github.com/stretchr/objx) -BuildRequires: golang(github.com/stretchr/testify) -BuildRequires: golang(github.com/tonnerre/golang-pretty) -BuildRequires: golang(github.com/vaughan0/go-ini) -BuildRequires: golang(golang.org/x/net/context) -BuildRequires: golang(golang.org/x/net/html) -BuildRequires: golang(golang.org/x/net/websocket) -BuildRequires: golang(gopkg.in/v2/yaml) %endif %description %{summary} +%if 0%{?fedora} +%package devel +Summary: %{summary} +BuildRequires: golang >= 1.2.1-3 + +%description devel +%{summary} + +Provides: golang(%{import_path}/cmd/kube-apiserver/app) = %{version}-%{release} +Provides: golang(%{import_path}/cmd/kube-controller-manager/app) = %{version}-%{release} +Provides: golang(%{import_path}/cmd/kube-proxy/app) = %{version}-%{release} +Provides: golang(%{import_path}/cmd/kubelet/app) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/admission) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/api) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/api/endpoints) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/api/errors) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/api/errors/etcd) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/api/latest) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/api/meta) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/api/resource) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/api/rest) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/api/rest/resttest) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/api/testapi) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/api/testing) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/api/v1beta1) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/api/v1beta2) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/api/v1beta3) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/api/validation) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/apiserver) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/auth/authenticator) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/auth/authenticator/bearertoken) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/auth/authorizer) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/auth/authorizer/abac) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/auth/handlers) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/auth/user) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/capabilities) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/client) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/client/cache) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/client/clientcmd) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/client/clientcmd/api) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/client/clientcmd/api/latest) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/client/clientcmd/api/v1) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/client/metrics) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/client/portforward) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/client/record) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/client/remotecommand) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/client/testclient) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/clientauth) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/cloudprovider) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/cloudprovider/aws) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/cloudprovider/controller) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/cloudprovider/fake) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/cloudprovider/gce) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/cloudprovider/openstack) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/cloudprovider/ovirt) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/cloudprovider/rackspace) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/cloudprovider/vagrant) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/config) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/controller) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/controller/framework) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/conversion) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/credentialprovider) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/credentialprovider/gcp) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/fields) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/healthz) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/httplog) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/hyperkube) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/kubectl) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/kubectl/cmd) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/kubectl/cmd/config) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/kubectl/cmd/util) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/kubectl/resource) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/kubelet) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/kubelet/cadvisor) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/kubelet/config) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/kubelet/container) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/kubelet/dockertools) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/kubelet/envvars) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/kubelet/leaky) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/kubelet/metrics) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/kubelet/network) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/kubelet/network/exec) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/labels) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/master) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/master/ports) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/namespace) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/probe) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/probe/exec) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/probe/http) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/probe/tcp) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/proxy) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/proxy/config) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/controller) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/controller/etcd) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/endpoint) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/endpoint/etcd) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/etcd) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/event) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/generic) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/generic/etcd) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/generic/rest) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/limitrange) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/minion) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/minion/etcd) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/namespace) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/namespace/etcd) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/persistentvolume) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/persistentvolume/etcd) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/persistentvolumeclaim) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/persistentvolumeclaim/etcd) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/pod) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/pod/etcd) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/registrytest) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/resourcequota) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/resourcequota/etcd) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/secret) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/registry/service) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/resourcequota) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/runtime) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/scheduler) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/service) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/tools) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/types) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/ui) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/util) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/util/config) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/util/errors) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/util/exec) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/util/fielderrors) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/util/flushwriter) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/util/httpstream) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/util/httpstream/spdy) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/util/iptables) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/util/mount) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/util/slice) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/util/strategicpatch) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/util/wait) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/util/yaml) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/version) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/version/verflag) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/volume) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/volume/empty_dir) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/volume/gce_pd) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/volume/git_repo) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/volume/glusterfs) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/volume/host_path) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/volume/iscsi) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/volume/nfs) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/volume/secret) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/watch) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/watch/json) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/cmd/kube-scheduler/app) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/admission/admit) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/admission/deny) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/admission/limitranger) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/admission/namespace/autoprovision) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/admission/namespace/exists) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/admission/namespace/lifecycle) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/admission/resourcequota) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/auth) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/auth/authenticator) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/auth/authenticator/password) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/auth/authenticator/password/allow) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/auth/authenticator/request/basicauth) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/auth/authenticator/request/union) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/auth/authenticator/request/x509) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/auth/authenticator/token/tokenfile) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/auth/authenticator/token/tokentest) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/scheduler) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/scheduler/algorithmprovider) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/scheduler/algorithmprovider/defaults) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/scheduler/api) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/scheduler/api/latest) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/scheduler/api/v1) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/scheduler/api/validation) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/scheduler/factory) = %{version}-%{release} +Provides: golang(%{import_path}/plugin/pkg/scheduler/metrics) = %{version}-%{release} +Provides: golang(%{import_path}/test/e2e) = %{version}-%{release} +Provides: golang(%{import_path}/test/integration) = %{version}-%{release} +Provides: golang(%{import_path}/third_party/forked/json) = %{version}-%{release} +Provides: golang(%{import_path}/third_party/forked/reflect) = %{version}-%{release} +Provides: golang(%{import_path}/third_party/golang/netutil) = %{version}-%{release} + +This package contains library source intended for +building other packages which use %{project}/%{repo}. +%endif + %prep -%autosetup -Sgit -n %{name}-%{commit} +%autosetup -n %{name}-%{commit} -p1 %build export KUBE_GIT_TREE_STATE="clean" export KUBE_GIT_COMMIT=%{commit} -export KUBE_GIT_VERSION=v0.9.0 +export KUBE_GIT_VERSION=v0.15.0-123-g0ea87e48640729 %if 0%{?fedora} -export KUBE_GIT_TREE_STATE="dirty" -export KUBE_EXTRA_GOPATH=%{gopath} -export KUBE_NO_GODEPS="true" +#export KUBE_GIT_TREE_STATE="dirty" +#export KUBE_EXTRA_GOPATH=%{gopath} +#export KUBE_NO_GODEPS="true" %endif hack/build-go.sh --use_go_build %check %if 0%{?fedora} -export KUBE_EXTRA_GOPATH=%{gopath} -export KUBE_NO_GODEPS="true" +#export KUBE_EXTRA_GOPATH=%{gopath} +#export KUBE_NO_GODEPS="true" %endif echo "******Testing the commands*****" -hack/test-cmd.sh +# run the test only if /fs/sys/cgroup is mounted +if [ -d /sys/fs/cgroup ]; then + hack/test-cmd.sh +fi echo "******Benchmarking kube********" hack/benchmark-go.sh @@ -113,7 +271,7 @@ hack/benchmark-go.sh echo "******Testing the go code******" hack/test-go.sh echo "******Testing integration******" -hack/test-integration.sh --use_go_build +#hack/test-integration.sh --use_go_build %endif %install @@ -148,6 +306,18 @@ install -p -m 644 docs/man/man1/* %{buildroot}%{_mandir}/man1 # install the place the kubelet defaults to put volumes install -d %{buildroot}/var/lib/kubelet +# place contrib/init/systemd/tmpfiles.d/kubernetes.conf to /usr/lib/tmpfiles.d/kubernetes.conf +install -d -m 0755 %{buildroot}%{_tmpfilesdir} +install -p -m 0644 -t %{buildroot}/%{_tmpfilesdir} contrib/init/systemd/tmpfiles.d/kubernetes.conf + +%if 0%{?fedora} +# install devel source codes +install -d %{buildroot}/%{gopath}/src/%{import_path} +for d in build cluster cmd contrib examples hack pkg plugin test; do + cp -rpav $d %{buildroot}/%{gopath}/src/%{import_path}/ +done +%endif + %files %doc README.md LICENSE CONTRIB.md CONTRIBUTING.md DESIGN.md %{_mandir}/man1/* @@ -171,6 +341,14 @@ install -d %{buildroot}/var/lib/kubelet %config(noreplace) %{_sysconfdir}/%{name}/proxy %config(noreplace) %{_sysconfdir}/%{name}/kubelet %config(noreplace) %{_sysconfdir}/%{name}/scheduler +%{_tmpfilesdir}/kubernetes.conf + +%if 0%{?fedora} +%files devel +%doc README.md LICENSE CONTRIB.md CONTRIBUTING.md DESIGN.md +%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} +%{gopath}/src/%{import_path} +%endif %pre getent group kube >/dev/null || groupadd -r kube @@ -186,17 +364,152 @@ getent passwd kube >/dev/null || useradd -r -g kube -d / -s /sbin/nologin \ %systemd_postun %changelog -* Sat Jan 31 2015 Eric Paris - 0.9.0-0.3.git96af0c3 -- Add man pages for kubectl commands +* Fri Apr 17 2015 jchaloup - 0.15.0-0.3.git0ea87e4 +- Obsolete cadvisor + related: #1199219 + +* Wed Apr 15 2015 jchaloup - 0.15.0-0.2.git0ea87e4 +- Bump to upstream 0ea87e486407298dc1e3126c47f4076b9022fb09 + related: #1199219 + +* Tue Apr 14 2015 jchaloup - 0.15.0-0.1.gitd02139d +- Bump to upstream d02139d2b454ecc5730cc535d415c1963a7fb2aa + related: #1211266 + +* Sun Apr 12 2015 jchaloup - 0.14.2-0.2.gitd577db9 +- Bump to upstream d577db99873cbf04b8e17b78f17ec8f3a27eca30 + +* Wed Apr 08 2015 jchaloup - 0.14.2-0.1.git2719194 +- Bump to upstream 2719194154ffd38fd1613699a9dd10a00909957e + Use etcd-2.0.8 and higher + +* Tue Apr 07 2015 jchaloup - 0.14.1-0.2.gitd2f4734 +- Bump to upstream d2f473465738e6b6f7935aa704319577f5e890ba + +* Thu Apr 02 2015 jchaloup - 0.14.1-0.1.gita94ffc8 +- Bump to upstream a94ffc8625beb5e2a39edb01edc839cb8e59c444 + resolves: #1199219 + +* Wed Apr 01 2015 jchaloup - 0.14.0-0.2.git8168344 +- Bump to upstream 81683441b96537d4b51d146e39929b7003401cd5 + +* Tue Mar 31 2015 jchaloup - 0.14.0-0.1.git9ed8761 +- Bump to upstream 9ed87612d07f75143ac96ad90ff1ff68f13a2c67 +- Remove [B]R from devel branch until the package has stable API + +* Mon Mar 30 2015 jchaloup - 0.13.2-0.6.git8a7a127 +- Bump to upstream 8a7a127352263439e22253a58628d37a93fdaeb2 + +* Fri Mar 27 2015 jchaloup - 0.13.2-0.5.git8d94c43 +- Bump to upstream 8d94c43e705824f23791b66ad5de4ea095d5bb32 + resolves: #1205362 + +* Wed Mar 25 2015 jchaloup - 0.13.2-0.4.git455fe82 +- Bump to upstream 455fe8235be8fd9ba0ce21bf4f50a69d42e18693 + +* Mon Mar 23 2015 jchaloup - 0.13.2-0.3.gitef75888 +- Remove runtime dependency on etcd + resolves: #1202923 + +* Sun Mar 22 2015 jchaloup - 0.13.2-0.2.gitef75888 +- Bump to upstream ef758881d108bb53a128126c503689104d17f477 + +* Fri Mar 20 2015 jchaloup - 0.13.2-0.1.gita8f2cee +- Bump to upstream a8f2cee8c5418676ee33a311fad57d6821d3d29a + +* Fri Mar 13 2015 jchaloup - 0.12.0-0.9.git53b25a7 +- Bump to upstream 53b25a7890e31bdec6f2a95b32200d6cc27ae2ca + fix kube-proxy.service and kubelet + resolves: #1200919 #1200924 + +* Fri Mar 13 2015 jchaloup - 0.12.0-0.8.git39dceb1 +- Bump to upstream 39dceb13a511a83963a766a439cb386d10764310 + +* Thu Mar 12 2015 Eric Paris - 0.12.0-0.7.gita3fd0a9 +- Move from /etc/tmpfiles.d to %{_tmpfilesdir} + resolves: #1200969 + +* Thu Mar 12 2015 jchaloup - 0.12.0-0.6.gita3fd0a9 +- Place contrib/init/systemd/tmpfiles.d/kubernetes.conf to /etc/tmpfiles.d/kubernetes.conf + +* Thu Mar 12 2015 jchaloup - 0.12.0-0.5.gita3fd0a9 +- Bump to upstream a3fd0a9fd516bb6033f32196ae97aaecf8c096b1 + +* Tue Mar 10 2015 jchaloup - 0.12.0-0.4.gita4d871a +- Bump to upstream a4d871a10086436557f804930812f2566c9d4d39 + +* Fri Mar 06 2015 jchaloup - 0.12.0-0.3.git2700871 +- Bump to upstream 2700871b049d5498167671cea6de8317099ad406 + +* Thu Mar 05 2015 jchaloup - 0.12.0-0.2.git8b627f5 +- Bump to upstream 8b627f516fd3e4f62da90d401ceb3d38de6f8077 + +* Tue Mar 03 2015 jchaloup - 0.12.0-0.1.gitecca426 +- Bump to upstream ecca42643b91a7117de8cd385b64e6bafecefd65 + +* Mon Mar 02 2015 jchaloup - 0.11.0-0.5.git6c5b390 +- Bump to upstream 6c5b390160856cd8334043344ef6e08568b0a5c9 + +* Sat Feb 28 2015 jchaloup - 0.11.0-0.4.git0fec31a +- Bump to upstream 0fec31a11edff14715a1efb27f77262a7c3770f4 + +* Fri Feb 27 2015 jchaloup - 0.11.0-0.3.git08402d7 +- Bump to upstream 08402d798c8f207a2e093de5a670c5e8e673e2de + +* Wed Feb 25 2015 jchaloup - 0.11.0-0.2.git86434b4 +- Bump to upstream 86434b4038ab87ac40219562ad420c3cc58c7c6b + +* Tue Feb 24 2015 jchaloup - 0.11.0-0.1.git754a2a8 +- Bump to upstream 754a2a8305c812121c3845d8293efdd819b6a704 + turn off integration tests until "FAILED: unexpected endpoints: + timed out waiting for the condition" problem is resolved + Adding back devel subpackage ([B]R list outdated) + +* Fri Feb 20 2015 jchaloup - 0.10.1-0.3.git4c87805 +- Bump to upstream 4c87805870b1b22e463c4bd711238ef68c77f0af + +* Tue Feb 17 2015 jchaloup - 0.10.1-0.2.git6f84bda +- Bump to upstream 6f84bdaba853872dbac69c84d3ab4b6964e85d8c + +* Tue Feb 17 2015 jchaloup - 0.10.1-0.1.git7d6130e +- Bump to upstream 7d6130edcdfabd7dd2e6a06fdc8fe5e333f07f5c + +* Sat Feb 07 2015 jchaloup - 0.9.1-0.7.gitc9c98ab +- Bump to upstream c9c98ab19eaa6f0b2ea17152c9a455338853f4d0 + Since some dependencies are broken, we can not build Kubernetes from Fedora deps. + Switching to vendored source codes until Go draft is resolved + +* Wed Feb 04 2015 jchaloup - 0.9.1-0.6.git7f5ed54 +- Bump to upstream 7f5ed541f794348ae6279414cf70523a4d5133cc + +* Tue Feb 03 2015 jchaloup - 0.9.1-0.5.git2ac6bbb +- Bump to upstream 2ac6bbb7eba7e69eac71bd9acd192cda97e67641 + +* Mon Feb 02 2015 jchaloup - 0.9.1-0.4.gite335e2d +- Bump to upstream e335e2d3e26a9a58d3b189ccf41ceb3770d1bfa9 + +* Fri Jan 30 2015 jchaloup - 0.9.1-0.3.git55793ac +- Bump to upstream 55793ac2066745f7243c666316499e1a8cf074f0 + +* Thu Jan 29 2015 jchaloup - 0.9.1-0.2.gitca6de16 +- Bump to upstream ca6de16df7762d4fc9b4ad44baa78d22e3f30742 + +* Tue Jan 27 2015 jchaloup - 0.9.1-0.1.git3623a01 +- Bump to upstream 3623a01bf0e90de6345147eef62894057fe04b29 +- update tests for etcd-2.0 + +* Thu Jan 22 2015 jchaloup - 0.8.2-571.gitb2f287c ++- Bump to upstream b2f287c259d856f4c08052a51cd7772c563aff77 -* Tue Jan 27 2015 Eric Paris - 0.9.0-0.2.git96af0c3 -- change kubelet WorkingDir to /var/lib/kubelet, so .dockercfg can work (rhbz#1184654) +* Thu Jan 22 2015 Eric Paris - 0.8.2-570.gitb2f287c +- patch kubelet service file to use docker.service not docker.socket -* Thu Jan 22 2015 Eric Paris - 0.9.0-0.1.git96af0c3 -- use docker.service, not docker.socket in the kubelet service file +* Wed Jan 21 2015 jchaloup - 0.8.2-0.1.git5b04640 +- Bump to upstream 5b046406a957a1e7eda7c0c86dd7a89e9c94fc5f -* Wed Jan 21 2015 Eric Paris - 0.9.0-0.0.git96af0c3 -- Bump to upstream v0.9.0 +* Sun Jan 18 2015 jchaloup - 0.8.0-126.0.git68298f0 +- Add some missing dependencies +- Add devel subpackage * Fri Jan 09 2015 Eric Paris - 0.8.0-125.0.git68298f0 - Bump to upstream 68298f08a4980f95dfbf7b9f58bfec1808fb2670