Comments (4)
I guess it could at least provide a better message.
from minishift.
@hferentschik I would probably think that the best way is to include a minishift serviceaccount in the cluster, that will never expire and use that service account when interacting with minishift. This will avoid these kind of issues, where the tool interacts with the openshift cluster in it.
As a regular user you will always use "oc" command line and will need to log in explicitly. As a "plus" option, one could provide a minishift login that would just ask for username and password as the cluster identity would be the one of the one active cluster. Avoiding the need of the "oc login" to know which cluster needs to connect. This minishift login command would update the KUBECONFIG file accordingly. (Just a thought)
from minishift.
I would probably think that the best way is to include a minishift serviceaccount in the cluster, that will never expire and use that service account when interacting with minishift. This will avoid these kind of issues, where the tool interacts with the openshift cluster in it.
+1 Interesting idea. For the cases where minishift has to interact with the cluster, this sounds like a good idea.
As a "plus" option, one could provide a minishift login that would just ask for username and password
hmm, not sure about this one. Maybe
from minishift.
This is already fixed now since we are now making copy of kubeconfig and run all oc command using it which doesn't require any oc session info.
$ ./minishift openshift service list
|-----------|-----------------|----------|------------------------------------------------------|--------|
| NAMESPACE | NAME | NODEPORT | ROUTE-URL | WEIGHT |
|-----------|-----------------|----------|------------------------------------------------------|--------|
| default | kubernetes | | | |
| | router | | | |
| | docker-registry | | http://docker-registry-default.192.168.42.198.nip.io | |
|-----------|-----------------|----------|------------------------------------------------------|--------|
[prkumar@dhcp193-13 bin]$ oc logout
Logged "developer" out on "https://192.168.42.198:8443"
[prkumar@dhcp193-13 bin]$ ./minishift openshift service list
|-----------|-----------------|----------|------------------------------------------------------|--------|
| NAMESPACE | NAME | NODEPORT | ROUTE-URL | WEIGHT |
|-----------|-----------------|----------|------------------------------------------------------|--------|
| default | kubernetes | | | |
| | router | | | |
| | docker-registry | | http://docker-registry-default.192.168.42.198.nip.io | |
|-----------|-----------------|----------|------------------------------------------------------|--------|
Closing this now.
from minishift.
Related Issues (20)
- api server issue ..timing out
- Minishift's Config.json couldn't be found
- minishift broke and now will not start even after reinstall
- r
- This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory HOT 9
- Not able to populate hyperv-virtual-switch flag with External VM Switch value
- Minishift not starting on Windows 10 VirtualBox HOT 4
- Minishift not starting on Rocky Linux 8.5 HOT 1
- This computer doesn't have VT-X/AMD-v enabled HOT 1
- OC commands on Monterey macOS give "fatal error: runtime: bsdthread_register error" HOT 1
- Minishift doesn't work on MacOS Monterey, need new direction if no longer maintained. HOT 2
- Could not set oc CLI context for 'minishift' profile
- please make all installation steps in one Dockerfile & run on port 3000 at the end
- Cannot get OpenShift release version v3.11.0: HOT 1
- Error ".. FAIL E1216 18:22:49.047095 3027 start.go:499] Error starting the VM: Error creating the VM." Docker certificate issue?
- Flag 'http-proxy' is not supported for oc version v3.11.0. Use 'openshift-version' flag to select a different version of OpenShift. FAIL
- > have you tried clearing the cache? and how about deploying a previous version of OpenShift to compare the results? HOT 3
- I installed minishift on my mac, While connected to vpn i am not able to access minishift console but after disconnect, console is accessible, kindly suggest How to access console with vpn as well.
- Github readme contains broken link for Getting Start with Minishift HOT 1
- Unable to connect to web console
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minishift.