Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

colima start --kubernetes: kubernetes cluster unreachable #964

Open
1 of 5 tasks
dsp opened this issue Jan 17, 2024 · 2 comments
Open
1 of 5 tasks

colima start --kubernetes: kubernetes cluster unreachable #964

dsp opened this issue Jan 17, 2024 · 2 comments

Comments

@dsp
Copy link

dsp commented Jan 17, 2024

Description

colima start --kubernetes

Results in a running kubernetes cluster that is unreachable from the host:

$ kubectl get pods -A
The connection to the server 127.0.0.1:6443 was refused - did you specify the right host or port?

Kubernetes is running within the vm, as can be verified by colima ssh -- kubectl get nodes.
Manually starting an ssh tunnel ssh -L6443:127.0.0.1:6443 colima with the generated ssh config from colima, also works.

Version

$ colima version && limactl --version && qemu-img --version
colima version HEAD-4e52450
git commit: 4e52450080340a2861edf647f460563a21e011d4

runtime: docker
arch: x86_64
client: v24.0.7
server: v24.0.7
limactl version 0.19.1
qemu-img version 8.2.0
Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers

Operating System

  • macOS Intel <= 13 (Ventura)
  • macOS Intel >= 14 (Sonoma)
  • Apple Silicon <= 13 (Ventura)
  • Apple Silicon >= 14 (Sonoma)
  • Linux

Output of colima status

INFO[0005] colima is running using macOS Virtualization.Framework
INFO[0005] arch: x86_64
INFO[0005] runtime: docker
INFO[0005] mountType: virtiofs
INFO[0005] socket: unix:///Users/dsp/.colima/default/docker.sock
INFO[0010] kubernetes: enabled

Reproduction Steps

  1. colima start --kubernetes
  2. kubectl get pods -A

Expected behaviour

kubectl returning the running pods

Additional context

No response

@trieu-hphuc96
Copy link

any updates for this issue?

@abiosoft
Copy link
Owner

abiosoft commented Jan 4, 2025

@trieu-hphuc96 is this still an issue for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants