Setup Kubernetes Cluster(One Master and Three Slave) and then fabric8 over cluster

71 views
Skip to first unread message

rohan sharma

unread,
May 9, 2017, 3:08:43 AM5/9/17
to fabric8
I have to setup fabric8 over kubernetes cluster.

So in first step, I am trying to setup Kubernetes Cluster following this :


I have ubuntu 15.04 with 8GB RAM

Docker Info : 

Client:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.3
 Git commit:   a34a1d5
 Built:        Fri Nov 20 17:56:04 UTC 2015
 OS/Arch:      linux/amd64

Server:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.3
 Git commit:   a34a1d5
 Built:        Fri Nov 20 17:56:04 UTC 2015
 OS/Arch:      linux/amd64

I have cloned the github Kubernetes repo:

When I use make-release, the build is getting failed : 

++ [0509 11:43:47] Verifying Prerequisites....
+++ [0509 11:43:48] Building Docker image kube-build:build-f52049b5f6-5-v1.8.1-1
+++ [0509 11:43:52] Syncing sources to container
+++ [0509 11:44:24] Running build command...
+++ [0509 11:44:39] Building the toolchain targets:
+++ [0509 11:44:40] Generating bindata:
    test/e2e/generated/gobindata_util.go
~ ~/test/e2e/generated
~/test/e2e/generated
+++ [0509 11:44:41] Building go targets for linux/amd64:
    cmd/libs/go2idl/deepcopy-gen
+++ [0509 11:45:55] Building the toolchain targets:
+++ [0509 11:45:55] Generating bindata:
    test/e2e/generated/gobindata_util.go
~ ~/test/e2e/generated
~/test/e2e/generated
+++ [0509 11:45:55] Building go targets for linux/amd64:
    cmd/libs/go2idl/defaulter-gen
+++ [0509 11:46:53] Building the toolchain targets:
+++ [0509 11:46:54] Generating bindata:
    test/e2e/generated/gobindata_util.go
~ ~/test/e2e/generated
~/test/e2e/generated
+++ [0509 11:46:54] Building go targets for linux/amd64:
    cmd/libs/go2idl/conversion-gen
+++ [0509 11:47:13] Building the toolchain targets:
+++ [0509 11:47:13] Generating bindata:
    test/e2e/generated/gobindata_util.go
~ ~/test/e2e/generated
~/test/e2e/generated
+++ [0509 11:47:14] Building go targets for linux/amd64:
    cmd/libs/go2idl/openapi-gen
+++ [0509 11:47:33] Building the toolchain targets:
+++ [0509 11:47:33] Generating bindata:
    test/e2e/generated/gobindata_util.go
~ ~/test/e2e/generated
~/test/e2e/generated
+++ [0509 11:47:34] Building go targets for linux/amd64:
    cmd/kube-proxy
    cmd/kube-apiserver
    cmd/kube-controller-manager
    cmd/cloud-controller-manager
    cmd/kubelet
    cmd/kubeadm
    cmd/hyperkube
    plugin/cmd/kube-scheduler
+++ [0509 11:56:27] Building the toolchain targets:
+++ [0509 11:56:27] Generating bindata:
    test/e2e/generated/gobindata_util.go
~ ~/test/e2e/generated
~/test/e2e/generated
+++ [0509 11:56:28] Building go targets for linux/amd64:
    cmd/kube-proxy
    cmd/kubelet
+++ [0509 11:56:53] Building the toolchain targets:
+++ [0509 11:56:53] Generating bindata:
    test/e2e/generated/gobindata_util.go
~ ~/test/e2e/generated
~/test/e2e/generated
+++ [0509 11:56:53] Building go targets for linux/amd64:
    cmd/kubectl
    federation/cmd/kubefed
+++ [0509 11:57:50] Building the toolchain targets:
+++ [0509 11:57:50] Generating bindata:
    test/e2e/generated/gobindata_util.go
~ ~/test/e2e/generated
~/test/e2e/generated
+++ [0509 11:57:51] Building go targets for linux/amd64:
    cmd/gendocs
    cmd/genkubedocs
    cmd/genman
    cmd/genyaml
    cmd/mungedocs
    cmd/genswaggertypedocs
    cmd/linkcheck
    federation/cmd/genfeddocs
    test/e2e/e2e.test
+++ [0509 12:02:14] Building the toolchain targets:
+++ [0509 12:02:14] Generating bindata:
    test/e2e/generated/gobindata_util.go
~ ~/test/e2e/generated
~/test/e2e/generated
+++ [0509 12:02:16] Building go targets for linux/amd64:
    cmd/kubemark
    test/e2e_node/e2e_node.test
+++ [0509 12:04:37] Syncing out of container
+++ [0509 12:08:25] Building tarball: src
+++ [0509 12:08:25] Building tarball: salt
+++ [0509 12:08:25] Building tarball: manifests
+++ [0509 12:08:25] Starting tarball: client linux-amd64
+++ [0509 12:08:25] Starting tarball: client linux-arm
+++ [0509 12:08:25] Starting tarball: client linux-arm64
+++ [0509 12:08:25] Starting tarball: client linux-ppc64le
+++ [0509 12:08:25] Starting tarball: client linux-s390x
+++ [0509 12:08:25] Waiting on tarballs
cp: cp: cannot stat ‘/home/jaadu/Downloads/kubernetes/_output/dockerized/bin/linux/arm64/kubectl’: No such file or directory
cp: cannot stat ‘/home/jaadu/Downloads/kubernetes/_output/dockerized/bin/linux/arm64/kubefed’: No such file or directory
cannot stat ‘/home/jaadu/Downloads/kubernetes/_output/dockerized/bin/linux/arm/kubectl’: No such file or directory
cp: cp: cannot stat ‘/home/jaadu/Downloads/kubernetes/_output/dockerized/bin/linux/arm/kubefed’: No such file or directory
cannot stat ‘/home/jaadu/Downloads/kubernetes/_output/dockerized/bin/linux/ppc64le/kubectl’: No such file or directory
cp: cannot stat ‘/home/jaadu/Downloads/kubernetes/_output/dockerized/bin/linux/ppc64le/kubefed’: No such file or directory
cp: cannot stat ‘/home/jaadu/Downloads/kubernetes/_output/dockerized/bin/linux/s390x/kubectl’: No such file or directory
cp: cannot stat ‘/home/jaadu/Downloads/kubernetes/_output/dockerized/bin/linux/s390x/kubefed’: No such file or directory
!!! [0509 12:08:25] Call tree:
!!! [0509 12:08:25] Call tree:
!!! [0509 12:08:25] Call tree:
!!! [0509 12:08:25] Call tree:
!!! [0509 12:08:25]  1: /home/jaadu/Downloads/kubernetes/build/lib/release.sh:87 kube::release::package_client_tarballs(...)
!!! [0509 12:08:25]  1: /home/jaadu/Downloads/kubernetes/build/lib/release.sh:87 kube::release::package_client_tarballs(...)
!!! [0509 12:08:25]  1: /home/jaadu/Downloads/kubernetes/build/lib/release.sh:87 kube::release::package_client_tarballs(...)
!!! [0509 12:08:25]  2: build/release.sh:45 kube::release::package_tarballs(...)
!!! [0509 12:08:25]  1: /home/jaadu/Downloads/kubernetes/build/lib/release.sh:87 kube::release::package_client_tarballs(...)
!!! [0509 12:08:25]  2: build/release.sh:45 kube::release::package_tarballs(...)
!!! [0509 12:08:25]  2: build/release.sh:45 kube::release::package_tarballs(...)
!!! [0509 12:08:25]  2: build/release.sh:45 kube::release::package_tarballs(...)
!!! [0509 12:08:38] client tarball creation failed
!!! [0509 12:09:09] previous tarball phase failed
Makefile:380: recipe for target 'quick-release' failed
make: *** [quick-release] Error 1


How should I fix this?

James Strachan

unread,
May 9, 2017, 3:35:04 AM5/9/17
to rohan sharma, fabric8
I'd recommend looking at kubeadm:

reference here:

and raising an issue if you get stuck here:

otherwise kops might be worth a try:

--
You received this message because you are subscribed to the Google Groups "fabric8" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fabric8+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
James
-------
Red Hat

Twitter: @jstrachan
Email: james.s...@gmail.com
Blog: https://medium.com/@jstrachan/

open source development platform

open source event based lambda programming
Reply all
Reply to author
Forward
0 new messages