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.

[[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?
 
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Members online


Top