abiosoft / abiosoft/colima

colima start --kubernetes: kubernetes cluster unreachable

Aperta
#964 2 commenti 5 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
30.8k
Fork
613
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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)
- [X] 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_

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.