microk8s

Running Kubernetes locally on M1 Mac

倖福魔咒の 提交于 2021-02-07 19:37:33
问题 I'm looking to see if it's currently possible to run Kubernetes locally on a 2020 M1 MacBook air. The environment I need is relatively simple, just for going through some tutorials. As an example, this operator-sdk guide https://sdk.operatorframework.io/docs/building-operators/golang/tutorial/. So far I've tried microk8s and minikube , as they're tools I've used before on other machines. For both of these, I've installed them using brew after opening the terminal app "with Rosetta 2" (i.e

microk8s + ingress: ingressed service always resolves to 127.0.0.1 and not pod ip

谁说我不能喝 提交于 2021-02-05 07:10:02
问题 I am learning about microk8s and how ingress works. I have a single node microk8s (v1.18.4) with the following add-ons: DNS, ingress, RBAC, storage I am trying to get it working with the microbot example. I've read (and reread) through the tutorial but, the address, once the ingress manifest is applied results with the microbot service, routed to 127.0.0.1 (and not the internal pod IP). I am attempting to access the app: http://192.168.91.166/microbot via web external to the vm that it's

microk8s + ingress: ingressed service always resolves to 127.0.0.1 and not pod ip

喜你入骨 提交于 2021-02-05 07:09:26
问题 I am learning about microk8s and how ingress works. I have a single node microk8s (v1.18.4) with the following add-ons: DNS, ingress, RBAC, storage I am trying to get it working with the microbot example. I've read (and reread) through the tutorial but, the address, once the ingress manifest is applied results with the microbot service, routed to 127.0.0.1 (and not the internal pod IP). I am attempting to access the app: http://192.168.91.166/microbot via web external to the vm that it's

Kubernetes not able pull image from private registry having private domain pointed via /etc/hosts

南笙酒味 提交于 2021-01-28 11:17:45
问题 I am trying to deploy an image from my private registry that's hosted on my local network and pointed using my local machines /etc/hosts file. I am getting the resolution error as below: Failed to pull image "gitlab.example.com:5050/group/project:latest": rpc error: code = Unknown desc = failed to resolve image My /etc/hosts file contains: 192.168.1.100 gitlab.example.com Using docker the pull/push works perfectly fine as the resolution happens using /etc/hosts I've tried editing corefile of

kubefwd with microk8s: 127.0.0.1:8080: connect: connection refused

狂风中的少年 提交于 2021-01-07 03:41:35
问题 Trying to run kubefwd with microk8s : sudo kubefwd svc It fails with an error: Runtime error: pkg/mod/k8s.io/client-go@v0.0.0-20191108070106-f8f007fd456c/tools/cache/reflector.go:108: Failed to list *v1.Service: Get "http://localhost:8080/api/v1/namespaces/default/services? limit=500&resourceVersion=0": dial tcp 127.0.0.1:8080: connect: connection refused 回答1: kubefwd does not use kubectl , only the configuration files, so ask microk8s to write its config as its README.md says: sudo microk8s

How to change a Kubernetes hostpath-provisioner mount path?

一曲冷凌霜 提交于 2020-12-02 10:33:08
问题 With the storage add-on for MicroK8s, Persistent Volume Claims are by default given storage under /var/snap/microk8s/common/default-storage on the host system. How can that be changed? Viewing the declaration for the hostpath-provisioner pod, shows that there is an environment setting called PV_DIR pointing to /var/snap/microk8s/common/default-storage - seems like what I'd like to change, but how can that be done? Not sure if I'm asking a MicroK8s specific question or if this is something

树莓派上的 Ubuntu 20.10 提供了一个完整的 Linux 桌面和微云

守給你的承諾、 提交于 2020-10-24 10:37:11
2020 年 10 月 22 日:Canonical 今天宣布发布包含树莓派优化的 Ubuntu 20.10 桌面版和服务器版系统,以支持研究人员、发明家、教育和企业。为全世界最易可访问的硬件带来了全世界最为流行的开放平台。 “这次版本发布,我们庆祝树莓派基金会致力于将开放计算给带给全球人们所做的承诺”,Canonical CEO,Mark Shuttleworth 说到。“我们也很荣幸通过优化树莓派上的 Ubuntu 以支持上述倡议,不管是个人使用,教育用途还是作为他们未来业务的基础。” 树莓派 2、3 和 4 加入 Ubuntu 认证的一系列 X86 和 ARM 设备队列中。Ubuntu 是以公共云和桌面产品而闻名的操作系统(OS),在 AWS、微软 Azure、Google、IBM 和 Oracle Clouds 被广泛使用。戴尔、惠普和联想都对其电脑做了Ubuntu桌面认证。 Ubuntu 20.10 包含了为弹性的微云(micro cloud),提供VM的小型服务器集群,按需供给的边缘 Kuberenetes 的 LXD 4.6 和 MicroK8s 1.19。可适用于远程办公室,分公司,仓储和分布的基础设施。 Ubuntu 桌面 20.10 在树莓派桌面支持上方的 Ubuntu 20.10 集成了 GNOME 3.38,此版本改进了应用栅格