DEV Community

Livio Ribeiro
Livio Ribeiro

Posted on

3 1

Solving minishift fresh instance problems

When I started working with minishift, I did not have much experience with Openshift. I was struggling with some problems and I had no idea what was going on. These were the problems:

  • Builds failed to push to registry
  • Deployments got stuck when pulling image
  • Could not access an application via a Route
  • Could not log in to the web console as administrator

The first three problems were caused by the "docker-registry" and "router" deployments on the "default" namespace that failed to start.

The solution to these problems is quite simple and involve just a few commands on the terminal:

# login first as admin user
oc login -u system:admin
# restart "docker-registry"
oc -n default rollout latest dc/docker-registry
# restart "router"
oc -n default rollout latest dc/router
# allow "admin" user to log in to the web console
oc adm policy add-cluster-role-to-user cluster-admin admin
Enter fullscreen mode Exit fullscreen mode

Now you can work with minishift with no more problems!

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more