minishift behind proxy
by Tom McKay
I have a host, "desktop", that is running a minishift vm, "minishift".
"minishift" is on local libvirt network with ip addr 192.168.123.240. I
have a httpd conf.d as below on desktop. From another host, "laptop", I
want to interact with the UI on "minishift". I copied the https conf file
below and made 8443 go to 58240. Visiting https://desktop:58240/console
gives me a page that says "Application is not available".
Note there are other VMs on "desktop" so taking over the raw ports for
https and 8443 to all go to "minishift" will not work.
I searched my email archives and see similar questions but nothing that
makes sense to this unskilled dev. Any pointers?
Listen 50240 https
<VirtualHost *:50240>
ProxyPass / https://192.168.123.240/
<Location />
ProxyPassReverse https://192.168.123.240/
</Location>
SSLEngine on
SSLCertificateFile /etc/pki/tls/certs/localhost.crt
SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
ProxyPreserveHost on
SSLVerifyClient none
SSLProxyEngine On
SSLOptions +StdEnvVars +ExportCertData +FakeBasicAuth
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
</VirtualHost>
4 years, 11 months
Release announcement for Minishift 1.19.0
by Anjan Nath
Hi All,
The Minishift team is pleased to announce the release of
Minishift 1.19.0.
Minishift [1] is a command-line tool that provisions and manages a
single-node OpenShift cluster. You can run Minishift on GNU/Linux,
Microsoft Windows or macOS.
In version 1.19.0, we added some features, enhancements and bug fixes including:
- Ability to provision minishift against an remote/existing machine [5][6]
- Support for provisioning Openshift Origin v3.10
- Add support for internal Add-on variables [7]
- Config option to set Hyper-V virtual switch
- Run ‘minishift config set hyperv-virtual-switch <vswitch_name>’
- CentOS is the default ISO image for Minsihift
- Previously Boot2Docker was default, but as some of the new
features in Minishift does
not work with Boot2Docker and only works with CentOS, it is
made default.
You can find a detailed list of issues in the release notes[2].
For information about getting started, using, and developing Minishift,
see the documentation [3].
Please try the new release.
The easiest upgrade path is by simply running:
$ minishift update
We are looking forward to your feedback.
The Minishift community hangs out at #minishift channel on Freenode
and it is the perfect place to discuss anything Minishift related.
You can sign up for our mailing list [4] to receive development
updates, ask questions about Minishift, suggest ideas and talk to the
community.
[1] https://github.com/minishift/minishift
[2] https://github.com/minishift/minishift/releases/tag/v1.19.0
[3] https://docs.openshift.org/latest/minishift
[4] https://lists.minishift.io/admin/lists/minishift.lists.minishift.io
[5] https://youtu.be/fncpeFKP8vE
[6] https://docs.openshift.org/latest/minishift/using/experimental-features.h...
[7] https://docs.openshift.org/latest/minishift/using/addons.html#internal-ad...
4 years, 11 months
I can't install minishift on Windows 10. recieve always a error about de hyper-v driver
by Jonay Herrera y Steendam
hi,
I try to install minishift on Windows 10. but without success. I
have always this error:
PS C:\Users\7514756> minishift.exe config set vm-driver hyperv
No Minishift instance exists. New 'vm-driver' setting will be applied on
next 'minishift start'
PS C:\Users\7514756> minishift.exe start
-- Starting profile 'minishift'
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.9.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.9.0' is supported ... OK
-- Checking if requested hypervisor 'hyperv' is supported on this platform
... OK
-- Checking if Hyper-V driver is installed ... FAIL
See the 'Setting Up the Virtualization Environment' topic (
https://docs.openshift.org/latest/minishift/getting-started/setting-up-vi...)
for more information
PS C:\Users\7514756>
I have put my user in the admin group of Hyper-V, created the
external switch, but without success. what can I do more ?
thanks in advance,
Jonay
Regards,
Jonay Herrera y Steendam
4 years, 12 months
help with minishift ansible broker
by federico montaldo
Hi,
I followed the instruction to install ansible broker into minishfit. I
made the following:
minishift version
minishift v1.15.1+f19ac09
CDK v3.4.0-2
oc cluster up --service-catalog=true
oc login -u system:admin
oc new-project ansible-service-broker
curl -s https://raw.githubusercontent.com/openshift/ansible-service-broker/master...
| oc process -n "ansible-service-broker" -f - | oc create -f -
oc get clusterserviceclasses --all-namespaces -o
custom-columns=NAME:.metadata.name,DISPLAYNAME:spec.externalMetadata.displayName
| grep APB
0e991006d21029e47abe71acc255e807 Pyzip Demo (APB)
135bd0df0401e2fdd52fd136935014fb NGINX (APB)
1dda1477cace09730bd8ed7a6505607e PostgreSQL (APB)
5d0062cce443e5ecb8438ca5f664dcd7 Kibana (APB)
67042296c7c95e84142f21f58da2ebfe MariaDB (APB)
693cb128e68365830c913631300deac0 Pyzip Demo Database (APB)
6df7afbd132c094704b4a8bfd44378c0 ManageIQ (APB)
880ef3b4ba5fa8d80908e9974228e603 AWX (APB)
9f7da06f179b895a8ee5f9a3ce4af7ef Hello World (APB)
a946a139a9308a59bf642ac52b4ba317 Wordpress-HA (APB)
ab24ffd54da0aefdea5277e0edce8425 Hastebin (APB)
aff6d7bb9c7f57c9ce8b742228e4caa3 Elasticsearch (APB)
b43a4272a6efcaaa3e0b9616324f1099 Hello World Database (APB)
ba9c2d4db404ce97111bea80225de968 RocketChat (APB)
c65fbd4e701cb71d74fd2cc35e14432b Amazon RDS - PostgreSQL (APB)
ca91b61da8476984f18fc13883ae2fdb Etherpad (APB)
ddd528762894b277001df310a126d5ad MySQL (APB)
eebf92c7670f30007a4b8db3a8166d5c The Lounge (APB)
f4509733ca0636df3d69b6af53260160 Jenkins (APB)
f6c4486b7fb0cdac4b58e193607f7011 Mediawiki (APB)
f755257efed3e3d43c8b82afd0db1181 Prometheus (APB)
When I tried to run apb list this error occur:
apb list
Contacting the ansible-service-broker at:
https://asb-1338-ansible-service-broker.127.0.0.1.nip.io/openshift-automa...
ERROR: Failed broker request (get)
https://asb-1338-ansible-service-broker.127.0.0.1.nip.io/openshift-automa...
Exception occurred! local variable 'InsecureRequestWarning' referenced
before assignment
oc whoami
system:admin
oc login -u system:admin
Logged into "https://127.0.0.1:8443" as "system:admin" using existing
credentials.
You have access to the following projects and can switch between them
with 'oc project ':
ansible-service-broker
custom-broker
default
kube-public
kube-service-catalog
kube-system
myproject
openshift
openshift-infra
openshift-node
openshift-template-service-broker
openshift-web-console
apb list
Contacting the ansible-service-broker at:
https://asb-1338-ansible-service-broker.127.0.0.1.nip.io/openshift-automa...
ERROR: Failed broker request (get)
https://asb-1338-ansible-service-broker.127.0.0.1.nip.io/openshift-automa...
Exception occurred! local variable 'InsecureRequestWarning' referenced
before assignment
5 years