Connecting to Kubernetes cluster running on Ubuntu 18.04












0















I'm a complete Kubernetes/Ubuntu novice and I've hit a stumbling block.



I have a Ubuntu home server that I used conjure-up to deploy a Canonical Kubernetes deployment. I'm able to ssh into the Ubuntu box (192.168.2.148) from my Windows box (192.168.2.40) and then I'm able to deploy pods and do all the K8 goodness I want.



Here's my problem - I want to be able to connect directly to the cluster from my windows terminal.
I'd like to be able to deploy from my windows terminal without haven't to ssh into my ubuntu box.



I've copied my config file on my ubuntu box (~/.kube/config) and put it into my Windows config.



config file:



apiVersion: v1
clusters:
- cluster:
certificate-authority-data: Long-string-o-data
server: https://10.91.211.64:443
name: conjure-canonical-kubern-931
contexts:
- context:
cluster: conjure-canonical-kubern-931
user: conjure-canonical-kubern-931
name: conjure-canonical-kubern-931
current-context: conjure-canonical-kubern-931
kind: Config
preferences: {}
users:
- name: conjure-canonical-kubern-931
user:
password: shortstring
username: admin


The issue is that my Windows box (192.168.2.40) can't see the cluster at 10.91.211.64.



I believe the IP mapping is:



Windows (192.168.2.40 ---> Router <--- Ubuntu (192.168.2.40) <---- cluster (10.91.211.64 + a bunch of other 10.91.211.xxx)


How do I get the cluster (master at 10.91.211.64) to be 'visible' to all the computers on my LAN?



Anyone know how to help me out?










share|improve this question







New contributor




TangoAlee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I'm a complete Kubernetes/Ubuntu novice and I've hit a stumbling block.



    I have a Ubuntu home server that I used conjure-up to deploy a Canonical Kubernetes deployment. I'm able to ssh into the Ubuntu box (192.168.2.148) from my Windows box (192.168.2.40) and then I'm able to deploy pods and do all the K8 goodness I want.



    Here's my problem - I want to be able to connect directly to the cluster from my windows terminal.
    I'd like to be able to deploy from my windows terminal without haven't to ssh into my ubuntu box.



    I've copied my config file on my ubuntu box (~/.kube/config) and put it into my Windows config.



    config file:



    apiVersion: v1
    clusters:
    - cluster:
    certificate-authority-data: Long-string-o-data
    server: https://10.91.211.64:443
    name: conjure-canonical-kubern-931
    contexts:
    - context:
    cluster: conjure-canonical-kubern-931
    user: conjure-canonical-kubern-931
    name: conjure-canonical-kubern-931
    current-context: conjure-canonical-kubern-931
    kind: Config
    preferences: {}
    users:
    - name: conjure-canonical-kubern-931
    user:
    password: shortstring
    username: admin


    The issue is that my Windows box (192.168.2.40) can't see the cluster at 10.91.211.64.



    I believe the IP mapping is:



    Windows (192.168.2.40 ---> Router <--- Ubuntu (192.168.2.40) <---- cluster (10.91.211.64 + a bunch of other 10.91.211.xxx)


    How do I get the cluster (master at 10.91.211.64) to be 'visible' to all the computers on my LAN?



    Anyone know how to help me out?










    share|improve this question







    New contributor




    TangoAlee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I'm a complete Kubernetes/Ubuntu novice and I've hit a stumbling block.



      I have a Ubuntu home server that I used conjure-up to deploy a Canonical Kubernetes deployment. I'm able to ssh into the Ubuntu box (192.168.2.148) from my Windows box (192.168.2.40) and then I'm able to deploy pods and do all the K8 goodness I want.



      Here's my problem - I want to be able to connect directly to the cluster from my windows terminal.
      I'd like to be able to deploy from my windows terminal without haven't to ssh into my ubuntu box.



      I've copied my config file on my ubuntu box (~/.kube/config) and put it into my Windows config.



      config file:



      apiVersion: v1
      clusters:
      - cluster:
      certificate-authority-data: Long-string-o-data
      server: https://10.91.211.64:443
      name: conjure-canonical-kubern-931
      contexts:
      - context:
      cluster: conjure-canonical-kubern-931
      user: conjure-canonical-kubern-931
      name: conjure-canonical-kubern-931
      current-context: conjure-canonical-kubern-931
      kind: Config
      preferences: {}
      users:
      - name: conjure-canonical-kubern-931
      user:
      password: shortstring
      username: admin


      The issue is that my Windows box (192.168.2.40) can't see the cluster at 10.91.211.64.



      I believe the IP mapping is:



      Windows (192.168.2.40 ---> Router <--- Ubuntu (192.168.2.40) <---- cluster (10.91.211.64 + a bunch of other 10.91.211.xxx)


      How do I get the cluster (master at 10.91.211.64) to be 'visible' to all the computers on my LAN?



      Anyone know how to help me out?










      share|improve this question







      New contributor




      TangoAlee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I'm a complete Kubernetes/Ubuntu novice and I've hit a stumbling block.



      I have a Ubuntu home server that I used conjure-up to deploy a Canonical Kubernetes deployment. I'm able to ssh into the Ubuntu box (192.168.2.148) from my Windows box (192.168.2.40) and then I'm able to deploy pods and do all the K8 goodness I want.



      Here's my problem - I want to be able to connect directly to the cluster from my windows terminal.
      I'd like to be able to deploy from my windows terminal without haven't to ssh into my ubuntu box.



      I've copied my config file on my ubuntu box (~/.kube/config) and put it into my Windows config.



      config file:



      apiVersion: v1
      clusters:
      - cluster:
      certificate-authority-data: Long-string-o-data
      server: https://10.91.211.64:443
      name: conjure-canonical-kubern-931
      contexts:
      - context:
      cluster: conjure-canonical-kubern-931
      user: conjure-canonical-kubern-931
      name: conjure-canonical-kubern-931
      current-context: conjure-canonical-kubern-931
      kind: Config
      preferences: {}
      users:
      - name: conjure-canonical-kubern-931
      user:
      password: shortstring
      username: admin


      The issue is that my Windows box (192.168.2.40) can't see the cluster at 10.91.211.64.



      I believe the IP mapping is:



      Windows (192.168.2.40 ---> Router <--- Ubuntu (192.168.2.40) <---- cluster (10.91.211.64 + a bunch of other 10.91.211.xxx)


      How do I get the cluster (master at 10.91.211.64) to be 'visible' to all the computers on my LAN?



      Anyone know how to help me out?







      18.04 kubernetes






      share|improve this question







      New contributor




      TangoAlee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      TangoAlee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      TangoAlee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 2 days ago









      TangoAleeTangoAlee

      1011




      1011




      New contributor




      TangoAlee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      TangoAlee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      TangoAlee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          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/3.0/"u003ecc by-sa 3.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
          });


          }
          });






          TangoAlee is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1114539%2fconnecting-to-kubernetes-cluster-running-on-ubuntu-18-04%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          TangoAlee is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          TangoAlee is a new contributor. Be nice, and check out our Code of Conduct.













          TangoAlee is a new contributor. Be nice, and check out our Code of Conduct.












          TangoAlee is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Ask Ubuntu!


          • 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%2faskubuntu.com%2fquestions%2f1114539%2fconnecting-to-kubernetes-cluster-running-on-ubuntu-18-04%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

          數位音樂下載

          格利澤436b

          When can things happen in Etherscan, such as the picture below?