Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd, 2017 please sign up again. Thanks!

How to reach minishift pods at Google Compute Engine

Discussion in 'Linux Networking' started by oesgul, Apr 26, 2018.

  1. oesgul

    oesgul New Member

    Joined:
    Apr 26, 2018
    Messages:
    1
    Likes Received:
    0
    I have deployed minishift on a nested virtualization enabled VM at GCE.

    Used kvm virtualization and the guest is running as seen below.

    [[email protected] oktayesgul]# virsh list
    Id Name State
    ----------------------------------------------------
    1 minishift running
    [[email protected] oktayesgul]# oc projects
    You have access to the following projects and can switch between them with 'oc project <projectname>':
    default
    kube-public
    kube-system
    * myproject - My Project
    openshift
    openshift-infra
    Using project "myproject" on server "https://192.168.42.189:8443".

    Currently, I can create and run container applications at this minishift environment.

    [[email protected] oktayesgul]# oc get services
    NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
    nodejs-ex 172.30.38.48 <none> 8080/TCP 5d
    rails-ex 172.30.49.1 <none> 8080/TCP 2h
    [[email protected] oktayesgul]#

    Since the containers and minishift are running on minishift VM on nested GCE vm I can not reach containerized application via gce virtual machine ip from my web browser or any public network.

    How should I setup my nested vm to let me access to the containers from public network?


     

Share This Page