abiosoft / abiosoft/colima

colima start --kubernetes: kubernetes cluster unreachable

Đang mở
#964 2 bình luận 5 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
30.8k
Fork
613
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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_

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.