{"id":1370,"date":"2023-10-31T12:07:57","date_gmt":"2023-10-31T11:07:57","guid":{"rendered":"https:\/\/wpethzprd.ethz.ch\/isgdmath\/?p=1370"},"modified":"2023-10-31T12:07:58","modified_gmt":"2023-10-31T11:07:58","slug":"minikube-kubernetes-development","status":"publish","type":"post","link":"https:\/\/blogs.ethz.ch\/isgdmath\/minikube-kubernetes-development\/","title":{"rendered":"minikube (Kubernetes Development)"},"content":{"rendered":"\n<p>If you want to develop something for kubernetes, you may need to run minikube. This can be done on our linux installations, the following commands should start a working &#8220;kubernetes cluster&#8221; on your installation:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir ~\/bin\/\n\nwget https:\/\/storage.googleapis.com\/minikube\/releases\/latest\/minikube-linux-amd64 -O ~\/bin\/minikube\nchmod 755 ~\/bin\/minikube\n\ncd ~\/bin\/\n.\/minikube config set rootless true\n.\/minikube config set driver podman\n.\/minikube config set container-runtime containerd\n\n.\/minikube start --cni calico<\/code><\/pre>\n\n\n\n<p>After minikube has started you can check all running pods with the following:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>minikube kubectl -- get pods -A<\/code><\/pre>\n\n\n\n<p>You can also install kubectl and helm in your ~\/bin if you like:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd ~\/bin\/\n\ncurl -LO \"https:\/\/dl.k8s.io\/release\/$(curl -L -s https:\/\/dl.k8s.io\/release\/stable.txt)\/bin\/linux\/amd64\/kubectl\"\n\nexport HELM_INSTALL_DIR=~\/bin; export USE_SUDO=false; curl https:\/\/raw.githubusercontent.com\/helm\/helm\/main\/scripts\/get-helm-3 | bash\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If you want to develop something for kubernetes, you may need to run minikube. This can be done on our linux installations, the following commands should start a working &#8220;kubernetes cluster&#8221; on your installation: After minikube has started you can check all running pods with the following: You can also install kubectl and helm in [&hellip;]<\/p>\n","protected":false},"author":43853,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[542,759],"tags":[],"class_list":["post-1370","post","type-post","status-publish","format-standard","hentry","category-general-information","category-linux"],"_links":{"self":[{"href":"https:\/\/blogs.ethz.ch\/isgdmath\/wp-json\/wp\/v2\/posts\/1370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ethz.ch\/isgdmath\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.ethz.ch\/isgdmath\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ethz.ch\/isgdmath\/wp-json\/wp\/v2\/users\/43853"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ethz.ch\/isgdmath\/wp-json\/wp\/v2\/comments?post=1370"}],"version-history":[{"count":0,"href":"https:\/\/blogs.ethz.ch\/isgdmath\/wp-json\/wp\/v2\/posts\/1370\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.ethz.ch\/isgdmath\/wp-json\/wp\/v2\/media?parent=1370"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.ethz.ch\/isgdmath\/wp-json\/wp\/v2\/categories?post=1370"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.ethz.ch\/isgdmath\/wp-json\/wp\/v2\/tags?post=1370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}