Comments (5)
cc @ethernetdan
from minikube.
+1 for this of course.
If it gets even more complex, there's reason to move scripts (bash) to build/
like k8s does.
from minikube.
Since minikube's primary usecase for localkube is providing a Kube cluster within a Linux environment, I definitely think we should optimize for that usecase.
The current build step in the PR compiles it statically using an external linker while stripping symbols:
go build --ldflags '-extldflags "-static" --s -w' k8s.io/minikube/cmd/localkube
The static compilation was intended to support running from a "scratch" Docker image, which is not a requirement in minikube. The external linker usage is to support static compilation with cAdvisor.
If we decide to support other platforms we should probably use conditional compilation to remove the components that require Linux features (ie. proxy, kubelet) when targeting platforms other than Linux. This would require having changing components to register themselves in init blocks.
from minikube.
localkube
targets: linux/amd64
, linux/arm
, linux/arm64
, linux/ppc64le
. Dynamically built until we fix cAdvisor: google/cadvisor#1237 and kubelet
in turn. I've already done the hard parts with dynamic cross-compilation (which is a bit tricky) with Kubernetes, so we'll just reuse that code.
minikube
targets: linux/amd64
, linux/arm
, linux/arm64
, linux/ppc64le
, darwin/amd64
, windows/amd64
. Statically built. Should offer both a VM, dockerized and maybe host env for running localkube
.
from minikube.
Resolved by #43
from minikube.
Related Issues (20)
- Failed to start minikube on Virtual Box
- minikube start --vm-driver=qemu --network=socket_vmne
- minikube start --driver=qemu --network=builtin --memory=4Gb
- `minikube addons enable ingress` fails on Minikube v1.33.0 HOT 2
- 使用minikube start --nodes 2 -p multinode-demo创建多节点集群后,worker节点的状态为 NotReady
- Unable to run minikube on windows 11
- minikube ip is not pingable
- [Feature Request] Support GPU on Windows with WSL2
- Frequent test failures of `TestNetworkPlugins/group/kindnet/NetCatPod`
- X Exiting due to RUNTIME_ENABLE: Failed to start container runtime: Temporary Error: sudo /usr/local/bin/crictl version: exit status 1 stdout: HOT 1
- minikube start --driver=docker fails
- Exiting due to GUEST_PROVISION / Failed to decode PEM data HOT 1
- tryRegistry fuc should once it i fails, should try outside minikube
- 'minikube image load -' leaves behind a poorly-named /tmp/build.NNNN.tar HOT 1
- crun: chmod `run/shm`: Operation not supported
- MiniKube_error HOT 1
- minikube start fails on ppc64le ubuntu 22.04 HOT 1
- Frequent test failures of `TestNetworkPlugins/group/auto/NetCatPod`
- minikube not starting
- k8s 1.29 使用 calicao v3.27.3 calico-kube-controllers 无法成功运行 HOT 3
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 minikube.