{"id":33610,"date":"2023-04-28T07:42:02","date_gmt":"2023-04-28T07:42:02","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=33610"},"modified":"2023-04-28T07:42:57","modified_gmt":"2023-04-28T07:42:57","slug":"minikube-tutorials-minikube-commands","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/minikube-tutorials-minikube-commands\/","title":{"rendered":"Minikube Tutorials: minikube commands"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">minikube config<\/h2>\n\n\n\n<p>The command you provided, <code>minikube config set memory 10000<\/code>, will set the default memory allocation for new Minikube clusters to 10 gigabytes (10000 megabytes).<\/p>\n\n\n\n<p>If you have already started a Minikube cluster and want to update the memory allocation for that cluster, you can use the <code>minikube stop<\/code> and <code>minikube start<\/code> commands with the <code>--memory<\/code> flag, like this:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Stop the running Minikube cluster: <code>minikube stop<\/code><\/li>\n\n\n\n<li>Start the Minikube cluster with the desired memory allocation: <code>minikube start --memory=10000 <\/code>Replace <code>10000<\/code> with the desired memory allocation, in megabytes.<\/li>\n\n\n\n<li>Wait for Minikube to start. Depending on the size of the cluster and the resources available on your computer, this could take a few minutes.<\/li>\n\n\n\n<li>Verify that the memory allocation has been updated by running the following command:cCopy code<code>minikube ssh -- free -m <\/code>This command will log into the Minikube virtual machine and display the amount of memory that is currently available.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>minikube config The command you provided, minikube config set memory 10000, will set the default memory allocation for new Minikube clusters to 10 gigabytes (10000 megabytes). If you have already started a Minikube cluster and want to update the memory allocation for that cluster, you can use the minikube stop and minikube start commands with&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[2],"tags":[],"class_list":["post-33610","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/33610","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=33610"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/33610\/revisions"}],"predecessor-version":[{"id":33612,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/33610\/revisions\/33612"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=33610"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=33610"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=33610"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}