{"id":586,"date":"2018-07-09T05:58:16","date_gmt":"2018-07-09T13:58:16","guid":{"rendered":"http:\/\/andrewwippler.com\/?p=586"},"modified":"2018-07-09T05:58:16","modified_gmt":"2018-07-09T13:58:16","slug":"kubernetes-heapster-to-metrics-server","status":"publish","type":"post","link":"https:\/\/andrewwippler.com\/2018\/07\/09\/kubernetes-heapster-to-metrics-server\/","title":{"rendered":"Kubernetes: Heapster to Metrics Server"},"content":{"rendered":"

I recently updated my kubernetes cluster from 1.10.2<\/code> to 1.11.0<\/code>. I noticed heapster was being deprecated and completely removed by version 1.13.0<\/code>. I thought this would be the perfect time to try out metrics-server. I had to download the git repo to apply the kubernetes yaml to my cluster. Since this is sometimes not as ideal as I would like, (I prefer kubectl apply -f http:\/\/<\/code> when it comes from a trusted source) I am writing the below for easy access in the future:<\/p>\n

\n\nkubectl apply -f https:\/\/raw.githubusercontent.com\/kubernetes-incubator\/metrics-server\/master\/deploy\/1.8%2B\/auth-delegator.yaml\nkubectl apply -f https:\/\/raw.githubusercontent.com\/kubernetes-incubator\/metrics-server\/master\/deploy\/1.8%2B\/auth-reader.yaml\nkubectl apply -f https:\/\/raw.githubusercontent.com\/kubernetes-incubator\/metrics-server\/master\/deploy\/1.8%2B\/metrics-apiservice.yaml\nkubectl apply -f https:\/\/raw.githubusercontent.com\/kubernetes-incubator\/metrics-server\/master\/deploy\/1.8%2B\/metrics-server-deployment.yaml\nkubectl apply -f https:\/\/raw.githubusercontent.com\/kubernetes-incubator\/metrics-server\/master\/deploy\/1.8%2B\/metrics-server-service.yaml\nkubectl apply -f https:\/\/raw.githubusercontent.com\/kubernetes-incubator\/metrics-server\/master\/deploy\/1.8%2B\/resource-reader.yaml\n<\/code>\n<\/pre>\n

Note: this is for clusters running v1.8.0 or greater.<\/p>\n","protected":false},"excerpt":{"rendered":"

I recently updated my kubernetes cluster from 1.10.2 to 1.11.0. I noticed heapster was being deprecated and completely removed by version 1.13.0. I thought this would be the perfect time to try out metrics-server. I had to download the git repo to apply the kubernetes yaml to my cluster. Since this is sometimes not as […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[1],"tags":[83,85],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/posts\/586"}],"collection":[{"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/comments?post=586"}],"version-history":[{"count":1,"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/posts\/586\/revisions"}],"predecessor-version":[{"id":587,"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/posts\/586\/revisions\/587"}],"wp:attachment":[{"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/media?parent=586"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/categories?post=586"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/tags?post=586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}