{"id":7785,"date":"2024-03-14T23:53:12","date_gmt":"2024-03-14T23:53:12","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=7785"},"modified":"2024-03-19T07:15:30","modified_gmt":"2024-03-19T07:15:30","slug":"kubernetes-upgrade-autoscaling-v2beta2","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/kubernetes-upgrade-autoscaling-v2beta2","title":{"rendered":"kubernetes Upgrade autoscaling\/v2beta2"},"content":{"rendered":"\n<p><strong>To get a list of Horizontal Pod Autoscalers in the cluster, use the following command:&nbsp;<\/strong><\/p>\n\n\n\n<p>kubectl get hpa<\/p>\n\n\n\n<p><br>No resources found in default namespace.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/aks\/stop-cluster-upgrade-api-breaking-changes\">Stop Azure Kubernetes Service (AKS) cluster upgrades automatically on API breaking changes &#8211; Azure Kubernetes Service | Microsoft Learn<\/a><\/p>\n\n\n\n<p>az aks update &#8211;name Clustername &#8211;resource-group XXXXXXX &#8211;enable-force-upgrade<\/p>\n\n\n\n<p>az aks upgrade &#8211;name Clustername &#8211;resource-group XXXXXXX  &#8211;kubernetes-version 1.26.12 <\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>#Example kubectl get hpa &#8211;all-namespaces -o=jsonpath=&#8221;{range .items[*]}{.apiVersion}`t{.kind}`t{.metadata.name}`n{end}&#8221;<\/p>\n\n\n\n<p>kubectl get customresourcedefinitions &#8211;all-namespaces -o=jsonpath=&#8221;{range .items[*]}{.apiVersion}<code>t{.kind}<\/code>t{.metadata.name}`n{end}&#8221;<\/p>\n\n\n\n<p>kubectl get apiservices &#8211;all-namespaces -o=jsonpath=&#8221;{range .items[*]}{.apiVersion}<code>t{.kind}<\/code>t{.metadata.name}`n{end}&#8221;<\/p>\n\n\n\n<p>kubectl get ingresses &#8211;all-namespaces -o=jsonpath=&#8221;{range .items[*]}{.apiVersion}<code>t{.kind}<\/code>t{.metadata.name}`n{end}&#8221;<\/p>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">kubectl get deploy --all-namespaces -o yaml<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>To get a list of Horizontal Pod Autoscalers in the cluster, use the following command:&nbsp; kubectl get hpa No resources found in default namespace. Stop Azure Kubernetes [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7785","post","type-post","status-publish","format-standard","hentry","category-research"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/7785","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=7785"}],"version-history":[{"count":3,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/7785\/revisions"}],"predecessor-version":[{"id":7795,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/7785\/revisions\/7795"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=7785"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=7785"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=7785"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}