How to reach minishift pods at Google Compute Engine

oesgul

New Member
Joined
Apr 26, 2018
Messages
1
Reaction score
0
Credits
0
I have deployed minishift on a nested virtualization enabled VM at GCE.

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

[root@kvmminishift oktayesgul]# virsh list
Id Name State
----------------------------------------------------
1 minishift running
[root@kvmminishift 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.

[root@kvmminishift 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
[root@kvmminishift 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?
 

Members online


Latest posts

Top