Running K8s cluster after source code compilationDocker + Kubernetes buildkubelet failed with kubelet cgroup driver: “cgroupfs” is different from docker cgroup driver: “systemd”Pods running in Kubernetes slave node are in ContainerCreating stateUnable to find CGroups details in 10-kubeadm.conf fileMongoDB Replica establishment running on two different kubernetes cluster on different physical hostCoredns in pending state in Kubernetes clusterUsing kubeadm to init kubernetes 1.12.0 falied:node “xxx” not foundCan not access my kubernetes cluster even if all my server certificates are validKubectl top nodes/pods works correctly but kubernetes dashboard doesn't show the cpu/memory graphs

A food item only made possible by time-freezing storage?

If an object moving in a circle experiences centripetal force, then doesn't it also experience centrifugal force, because of Newton's third law?

Is there a way to hide HTML source code yet keeping it effective?

Can a Scaled-Up Whipple Shield Protect from Hypervelocity Rounds?

Is it impolite to ask for an in-flight catalogue with no intention of buying?

How to make interviewee comfortable interviewing in lounge chairs

Why does this image of Jupiter look so strange?

Norwegian refuses EU delay (4.7 hours) compensation because it turned out there was nothing wrong with the aircraft

Are there any adverse impacts if I keep WiFi router on all time?

Strange Sticky Substance on Digital Camera

What causes the traces to wrinkle like this and should I be worried

Do we know the situation in Britain before Sealion (summer 1940)?

What is the need of methods like GET and POST in the HTTP protocol?

Type_traits *_v variable template utility order fails to compile

1, 2, 4, 8, 16, ... 33?

Examples of "unsuccessful" theories with afterlives

Is it impolite to ask for halal food when traveling to and in Thailand?

Worms crawling under skin

Finding Primes in Pi

What exactly did this mechanic sabotage on the American Airlines 737, and how dangerous was it?

Does wetting a beer glass change the foam characteristics?

How do pilots align the HUD with their eyeballs?

Performance for simple code that converts a RGB tuple to hex string

Is there any iPhone SE out there with 3D Touch?



Running K8s cluster after source code compilation


Docker + Kubernetes buildkubelet failed with kubelet cgroup driver: “cgroupfs” is different from docker cgroup driver: “systemd”Pods running in Kubernetes slave node are in ContainerCreating stateUnable to find CGroups details in 10-kubeadm.conf fileMongoDB Replica establishment running on two different kubernetes cluster on different physical hostCoredns in pending state in Kubernetes clusterUsing kubeadm to init kubernetes 1.12.0 falied:node “xxx” not foundCan not access my kubernetes cluster even if all my server certificates are validKubectl top nodes/pods works correctly but kubernetes dashboard doesn't show the cpu/memory graphs






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am attempting to compile K8s source code from git hub and use freshly compiled binaries to deploy k8s cluster. i have 1 master (x215) + 1 minion node (x216) as my test cluster.



i have forked the main repo to my private repo on github and cloned it to x215



git clone https://github.com/xxxx/kubernetes
make quick realease


compilation was success as i don`t see any errors on logs i am getting at std out



now I figured that compiled binaries are in
_output/release-stage/server/linux-amd64/kubernetes/server/bin



How do i use these binaries to deploy K8s master services on x215 and minion services on x216 node.



*** Update :



  1. I have tried installing K8s by yum install kubeadm kubelet kubectl as shown on this link. https://www.howtoforge.com/tutorial/centos-kubernetes-docker-cluster/ and it works... kubectl get nodes
    kubectl get pods --all-namespaces responses with proper answer on stdout


  2. Now I have removed kube binaries by yum remove kubeadm kubelet kubectl


  3. I have cloned https://github.com/kubernetes/kubernetes on x215 machine

  4. cd /usr/local/go/src/k8s.io/kubernetes/


  5. make quick-release did not got any errors on std out

  6. cp _output/release-stage/server/linux-amd64/kubernetes/server/bin/kubeadm /usr/bin/

  7. cp _output/release-stage/server/linux-amd64/kubernetes/server/bin/kubectl /usr/bin/

  8. cp _output/release-stage/server/linux-amd64/kubernetes/server/bin/kubelet /usr/bin/


  9. kubeadm init --apiserver-advertise-address=10.xxx.xxx.xx --pod-network-cidr=10.xx.x.x/16 same command as ran during step 1; and it fails!!!!

  10. screenshot of the error

enter image description here



1. can you help on how to build binaries successfully using latest source code?



I tried going over vast amount of blogs available online but could find help, i hope to get answer here



thanks










share|improve this question


























  • Try to specify kubernetes version: kubeadm init --apiserver-advertise-address=10.xxx.xxx.xx --pod-network-cidr=10.xx.x.x/16 --kubernetes-version=v1.14.0

    – A_Suh
    Mar 29 at 14:30

















0















I am attempting to compile K8s source code from git hub and use freshly compiled binaries to deploy k8s cluster. i have 1 master (x215) + 1 minion node (x216) as my test cluster.



i have forked the main repo to my private repo on github and cloned it to x215



git clone https://github.com/xxxx/kubernetes
make quick realease


compilation was success as i don`t see any errors on logs i am getting at std out



now I figured that compiled binaries are in
_output/release-stage/server/linux-amd64/kubernetes/server/bin



How do i use these binaries to deploy K8s master services on x215 and minion services on x216 node.



*** Update :



  1. I have tried installing K8s by yum install kubeadm kubelet kubectl as shown on this link. https://www.howtoforge.com/tutorial/centos-kubernetes-docker-cluster/ and it works... kubectl get nodes
    kubectl get pods --all-namespaces responses with proper answer on stdout


  2. Now I have removed kube binaries by yum remove kubeadm kubelet kubectl


  3. I have cloned https://github.com/kubernetes/kubernetes on x215 machine

  4. cd /usr/local/go/src/k8s.io/kubernetes/


  5. make quick-release did not got any errors on std out

  6. cp _output/release-stage/server/linux-amd64/kubernetes/server/bin/kubeadm /usr/bin/

  7. cp _output/release-stage/server/linux-amd64/kubernetes/server/bin/kubectl /usr/bin/

  8. cp _output/release-stage/server/linux-amd64/kubernetes/server/bin/kubelet /usr/bin/


  9. kubeadm init --apiserver-advertise-address=10.xxx.xxx.xx --pod-network-cidr=10.xx.x.x/16 same command as ran during step 1; and it fails!!!!

  10. screenshot of the error

enter image description here



1. can you help on how to build binaries successfully using latest source code?



I tried going over vast amount of blogs available online but could find help, i hope to get answer here



thanks










share|improve this question


























  • Try to specify kubernetes version: kubeadm init --apiserver-advertise-address=10.xxx.xxx.xx --pod-network-cidr=10.xx.x.x/16 --kubernetes-version=v1.14.0

    – A_Suh
    Mar 29 at 14:30













0












0








0








I am attempting to compile K8s source code from git hub and use freshly compiled binaries to deploy k8s cluster. i have 1 master (x215) + 1 minion node (x216) as my test cluster.



i have forked the main repo to my private repo on github and cloned it to x215



git clone https://github.com/xxxx/kubernetes
make quick realease


compilation was success as i don`t see any errors on logs i am getting at std out



now I figured that compiled binaries are in
_output/release-stage/server/linux-amd64/kubernetes/server/bin



How do i use these binaries to deploy K8s master services on x215 and minion services on x216 node.



*** Update :



  1. I have tried installing K8s by yum install kubeadm kubelet kubectl as shown on this link. https://www.howtoforge.com/tutorial/centos-kubernetes-docker-cluster/ and it works... kubectl get nodes
    kubectl get pods --all-namespaces responses with proper answer on stdout


  2. Now I have removed kube binaries by yum remove kubeadm kubelet kubectl


  3. I have cloned https://github.com/kubernetes/kubernetes on x215 machine

  4. cd /usr/local/go/src/k8s.io/kubernetes/


  5. make quick-release did not got any errors on std out

  6. cp _output/release-stage/server/linux-amd64/kubernetes/server/bin/kubeadm /usr/bin/

  7. cp _output/release-stage/server/linux-amd64/kubernetes/server/bin/kubectl /usr/bin/

  8. cp _output/release-stage/server/linux-amd64/kubernetes/server/bin/kubelet /usr/bin/


  9. kubeadm init --apiserver-advertise-address=10.xxx.xxx.xx --pod-network-cidr=10.xx.x.x/16 same command as ran during step 1; and it fails!!!!

  10. screenshot of the error

enter image description here



1. can you help on how to build binaries successfully using latest source code?



I tried going over vast amount of blogs available online but could find help, i hope to get answer here



thanks










share|improve this question
















I am attempting to compile K8s source code from git hub and use freshly compiled binaries to deploy k8s cluster. i have 1 master (x215) + 1 minion node (x216) as my test cluster.



i have forked the main repo to my private repo on github and cloned it to x215



git clone https://github.com/xxxx/kubernetes
make quick realease


compilation was success as i don`t see any errors on logs i am getting at std out



now I figured that compiled binaries are in
_output/release-stage/server/linux-amd64/kubernetes/server/bin



How do i use these binaries to deploy K8s master services on x215 and minion services on x216 node.



*** Update :



  1. I have tried installing K8s by yum install kubeadm kubelet kubectl as shown on this link. https://www.howtoforge.com/tutorial/centos-kubernetes-docker-cluster/ and it works... kubectl get nodes
    kubectl get pods --all-namespaces responses with proper answer on stdout


  2. Now I have removed kube binaries by yum remove kubeadm kubelet kubectl


  3. I have cloned https://github.com/kubernetes/kubernetes on x215 machine

  4. cd /usr/local/go/src/k8s.io/kubernetes/


  5. make quick-release did not got any errors on std out

  6. cp _output/release-stage/server/linux-amd64/kubernetes/server/bin/kubeadm /usr/bin/

  7. cp _output/release-stage/server/linux-amd64/kubernetes/server/bin/kubectl /usr/bin/

  8. cp _output/release-stage/server/linux-amd64/kubernetes/server/bin/kubelet /usr/bin/


  9. kubeadm init --apiserver-advertise-address=10.xxx.xxx.xx --pod-network-cidr=10.xx.x.x/16 same command as ran during step 1; and it fails!!!!

  10. screenshot of the error

enter image description here



1. can you help on how to build binaries successfully using latest source code?



I tried going over vast amount of blogs available online but could find help, i hope to get answer here



thanks







kubernetes compilation kubeadm






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 29 at 0:13







ankit patel

















asked Mar 28 at 16:43









ankit patelankit patel

3023 gold badges5 silver badges17 bronze badges




3023 gold badges5 silver badges17 bronze badges















  • Try to specify kubernetes version: kubeadm init --apiserver-advertise-address=10.xxx.xxx.xx --pod-network-cidr=10.xx.x.x/16 --kubernetes-version=v1.14.0

    – A_Suh
    Mar 29 at 14:30

















  • Try to specify kubernetes version: kubeadm init --apiserver-advertise-address=10.xxx.xxx.xx --pod-network-cidr=10.xx.x.x/16 --kubernetes-version=v1.14.0

    – A_Suh
    Mar 29 at 14:30
















Try to specify kubernetes version: kubeadm init --apiserver-advertise-address=10.xxx.xxx.xx --pod-network-cidr=10.xx.x.x/16 --kubernetes-version=v1.14.0

– A_Suh
Mar 29 at 14:30





Try to specify kubernetes version: kubeadm init --apiserver-advertise-address=10.xxx.xxx.xx --pod-network-cidr=10.xx.x.x/16 --kubernetes-version=v1.14.0

– A_Suh
Mar 29 at 14:30












2 Answers
2






active

oldest

votes


















0
















Follow the most popular kubernetes the hard way documentation



https://github.com/kelseyhightower/kubernetes-the-hard-way/tree/master/docs



Everyone should go though those docs to get a fair understanding of kubernetes and its components like controller, etcd, api server, scheduler, kubelet, kube-proxy etc.






share|improve this answer
































    0
















    eventually i figured that the latest commit on the repo is not a good state to start with. when you do yum install kubeadm kubectl kubelet; the binaries you get are compiled from stable branch tag; which is same as binary versions.



    i figured that yum install is getting me v1.14.0 version of binaries; now i checked out branch with same tag and that seem to have fixed the issue






    share|improve this answer



























      Your Answer






      StackExchange.ifUsing("editor", function ()
      StackExchange.using("externalEditor", function ()
      StackExchange.using("snippets", function ()
      StackExchange.snippets.init();
      );
      );
      , "code-snippets");

      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "1"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );














      draft saved

      draft discarded
















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55402866%2frunning-k8s-cluster-after-source-code-compilation%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0
















      Follow the most popular kubernetes the hard way documentation



      https://github.com/kelseyhightower/kubernetes-the-hard-way/tree/master/docs



      Everyone should go though those docs to get a fair understanding of kubernetes and its components like controller, etcd, api server, scheduler, kubelet, kube-proxy etc.






      share|improve this answer





























        0
















        Follow the most popular kubernetes the hard way documentation



        https://github.com/kelseyhightower/kubernetes-the-hard-way/tree/master/docs



        Everyone should go though those docs to get a fair understanding of kubernetes and its components like controller, etcd, api server, scheduler, kubelet, kube-proxy etc.






        share|improve this answer



























          0














          0










          0









          Follow the most popular kubernetes the hard way documentation



          https://github.com/kelseyhightower/kubernetes-the-hard-way/tree/master/docs



          Everyone should go though those docs to get a fair understanding of kubernetes and its components like controller, etcd, api server, scheduler, kubelet, kube-proxy etc.






          share|improve this answer













          Follow the most popular kubernetes the hard way documentation



          https://github.com/kelseyhightower/kubernetes-the-hard-way/tree/master/docs



          Everyone should go though those docs to get a fair understanding of kubernetes and its components like controller, etcd, api server, scheduler, kubelet, kube-proxy etc.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 28 at 18:48









          P EkambaramP Ekambaram

          3,6182 gold badges8 silver badges29 bronze badges




          3,6182 gold badges8 silver badges29 bronze badges


























              0
















              eventually i figured that the latest commit on the repo is not a good state to start with. when you do yum install kubeadm kubectl kubelet; the binaries you get are compiled from stable branch tag; which is same as binary versions.



              i figured that yum install is getting me v1.14.0 version of binaries; now i checked out branch with same tag and that seem to have fixed the issue






              share|improve this answer





























                0
















                eventually i figured that the latest commit on the repo is not a good state to start with. when you do yum install kubeadm kubectl kubelet; the binaries you get are compiled from stable branch tag; which is same as binary versions.



                i figured that yum install is getting me v1.14.0 version of binaries; now i checked out branch with same tag and that seem to have fixed the issue






                share|improve this answer



























                  0














                  0










                  0









                  eventually i figured that the latest commit on the repo is not a good state to start with. when you do yum install kubeadm kubectl kubelet; the binaries you get are compiled from stable branch tag; which is same as binary versions.



                  i figured that yum install is getting me v1.14.0 version of binaries; now i checked out branch with same tag and that seem to have fixed the issue






                  share|improve this answer













                  eventually i figured that the latest commit on the repo is not a good state to start with. when you do yum install kubeadm kubectl kubelet; the binaries you get are compiled from stable branch tag; which is same as binary versions.



                  i figured that yum install is getting me v1.14.0 version of binaries; now i checked out branch with same tag and that seem to have fixed the issue







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Apr 6 at 9:04









                  ankit patelankit patel

                  3023 gold badges5 silver badges17 bronze badges




                  3023 gold badges5 silver badges17 bronze badges































                      draft saved

                      draft discarded















































                      Thanks for contributing an answer to Stack Overflow!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55402866%2frunning-k8s-cluster-after-source-code-compilation%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                      용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

                      155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해