Comments (6)
so i deleted everything, and restarted the box
this time, when i run 'microk8s install', it actually asks for password (which it didnt before), but i get a different failure:
🍺 multipass was successfully installed!
Waiting for multipass...
Warning: the "--mem" long option is deprecated in favour of "--memory". Please update any scripts, etc.
Launched: microk8s-vm
An error occurred when trying to execute 'sudo ping -c 1 snapcraft.io' with 'multipass': returned exit code 1.
microk8s status --wait-ready
sudo: microk8s.status: command not found
An error occurred when trying to execute 'sudo microk8s.status --wait-ready' with 'multipass': returned exit code 1.
from microk8s.
if i do these step , it installs finally.
multipass shell microk8s-vm
sudo snap install microk8s --classic --channel=1.30/stable
from microk8s.
but then the next step doesnt work:
microk8s kubectl get nodes
E0518 20:21:20.727345 5311 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused
E0518 20:21:20.731851 5311 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused
E0518 20:21:20.735448 5311 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused
E0518 20:21:20.739024 5311 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused
E0518 20:21:20.742342 5311 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused
The connection to the server localhost:8080 was refused - did you specify the right host or port?
from microk8s.
ok, once i followed this, i was able to continue
from microk8s.
summary to install on M1 macmini, sonoma 14.5:
brew install ubuntu/microk8s/microk8s
microk8s install --cpu 2 --memory 4 --disk 15
- installs multipass, needs password
MANUAL STEPS to INSTALL version 1.30 (using multipass container)
multipass shell microk8s-vm
sudo snap install microk8s --classic --channel=1.30/stable
MANUAL STEPS to create config file on M1 host: ~/.microk8s/config
Manually create the directory ( mkdir ~/.microk8s )
Grab the config from the VM environment directly ( multipass shell microk8s-vm, sudo microk8s config )
create a file ~/.microk8s/config with the contents
microk8s status --wait-ready
microk8s kubectl get nodes
microk8s kubectl get services
microk8s kubectl create deployment kubernetes-bootcamp --image=gcr.io/google-samples/kubernetes-bootcamp:v1
microk8s kubectl delete deployment kubernetes-bootcamp
from microk8s.
Related Issues (20)
- how to update metaalb address range HOT 1
- The Microk8s Addon's GPU is not working. HOT 1
- traefik-dashboard pod not created after `microk8s enable traefik` HOT 1
- Expose port on host machine problem HOT 1
- microk8s Off-line installation fails on RHEL 9.3 HOT 7
- launch failed: Cannot open image file for computing hash HOT 2
- [MinIO addon] console pod goes into ImagePullBackOff HOT 5
- Microk8s clustering, Connection Filed, Invalid Token (500) error only when joining cluster with --worker flag in 1.30/stable HOT 1
- Status --wait-ready never ends HOT 1
- Installation of 1.30/stable on debian-12-genericcloud-amd64.qcow2 fails HOT 12
- Question: why microk8s.ctr shows additional container images tagged by hash HOT 1
- Join microk8s nodes in multipass VMs from two different physical machines on the same local network
- Missing 1.30 images build script? HOT 1
- Registry service stuck in pending state
- Windows node invalid certificate (Certificate does not include any IP SANs) HOT 1
- Cluster down kine.sock connection refused HOT 1
- `microk8s join ... --worker` works, `microk8s join ... ` does not HOT 2
- microk8s add-node --format=short outputs the join command twice HOT 1
- Microk8s snap breaks on custom Ubuntu Core image on AirGapped environments HOT 6
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 microk8s.