{"id":31,"date":"2021-01-31T18:29:00","date_gmt":"2021-01-31T18:29:00","guid":{"rendered":"http:\/\/blog.firatyasar.com\/?p=31"},"modified":"2021-03-31T18:34:52","modified_gmt":"2021-03-31T18:34:52","slug":"aks-resource-quota-enforce","status":"publish","type":"post","link":"https:\/\/blog.firatyasar.com\/?p=31","title":{"rendered":"AKS &#8211; Resource Quota Enforce"},"content":{"rendered":"\n<p>Resource quota \u00f6zelli\u011fi uygulamalar i\u00e7in cluster kaynaklar\u0131n\u0131n d\u00fczg\u00fcn \u015fekilde atanmas\u0131n\u0131 sa\u011flar.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"945\" height=\"438\" src=\"\/wp-content\/uploads\/2021\/03\/1_eRd_vLThUJ3kcEp49CID4w-1.png\" alt=\"\" class=\"wp-image-32\" srcset=\"\/wp-content\/uploads\/2021\/03\/1_eRd_vLThUJ3kcEp49CID4w-1.png 945w, \/wp-content\/uploads\/2021\/03\/1_eRd_vLThUJ3kcEp49CID4w-1-300x139.png 300w, \/wp-content\/uploads\/2021\/03\/1_eRd_vLThUJ3kcEp49CID4w-1-768x356.png 768w, \/wp-content\/uploads\/2021\/03\/1_eRd_vLThUJ3kcEp49CID4w-1-660x306.png 660w\" sizes=\"(max-width: 945px) 100vw, 945px\" \/><\/figure>\n\n\n\n<p>Resource quota\u2019lar\u0131n\u0131 namespace seviyesinde uygulamak gerekir. E\u011fer pod\u2019lar resource request ve resource limitlere sahip de\u011filse deployment reject edilmelidir. Ayr\u0131ca resource kullan\u0131mlar\u0131 monit\u00f6r edilmeli ve gerekti\u011finde tekrardan d\u00fczenlenmelidir.<\/p>\n\n\n\n<p>Limitler Kubernetes mimarisinde pod seviyesinde \u00e7al\u0131\u015f\u0131rlar. Schedular deployment s\u0131ras\u0131nda available node\u2019u bulmak i\u00e7in bu limitleri kontrol eder.<\/p>\n\n\n\n<p>E\u011fer resource limitler development team yada proje seviyesinde ayarlanmak istenirse \u201c<strong>Resource Quota<\/strong>\u201d kullan\u0131lmas\u0131 gerekir.<\/p>\n\n\n\n<p>Quota\u2019lar namespace seviyesinde tan\u0131mlan\u0131r. A\u015fa\u011f\u0131daki bile\u015fenlere s\u0131n\u0131rland\u0131r\u0131l\u0131r.<\/p>\n\n\n\n<ul><li><strong>Compute Resource<\/strong>: CPU,memory yada GPU<\/li><li><strong>Storage Resource: <\/strong>Toplam volume say\u0131s\u0131, Belirlenen storage class\u2019ta verilen disk space miktar\u0131<\/li><li><strong>Object Counts:<\/strong> Maksimum say\u0131daki secret,service,job vb.<\/li><\/ul>\n\n\n\n<p>Resource quota i\u00e7erisindeki k\u00fcm\u00fclatif toplam limit de\u011ferine ula\u015ft\u0131\u011f\u0131nda Kubernetes bunun \u00fczerine \u00e7\u0131kamaz. Bunun sonras\u0131nda devam eden deployment\u2019lar ba\u015far\u0131l\u0131 olamaz. Resource quota tan\u0131mlanan ortamlarda b\u00fct\u00fcn pod\u2019lar\u0131n limit ve resource tan\u0131mlamalar\u0131n\u0131 ta\u015f\u0131malar\u0131 gerekir. Bu tan\u0131mlamalar\u0131 ta\u015f\u0131mayan pod\u2019lara ili\u015fkin deployment\u2019lar reject edilir.<\/p>\n\n\n\n<p>F\u0131rat<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Resource quota \u00f6zelli\u011fi uygulamalar i\u00e7in cluster kaynaklar\u0131n\u0131n d\u00fczg\u00fcn \u015fekilde atanmas\u0131n\u0131 sa\u011flar. Resource quota\u2019lar\u0131n\u0131 namespace seviyesinde uygulamak gerekir. E\u011fer pod\u2019lar resource request ve resource limitlere sahip de\u011filse deployment reject edilmelidir. Ayr\u0131ca resource kullan\u0131mlar\u0131 monit\u00f6r edilmeli ve gerekti\u011finde tekrardan d\u00fczenlenmelidir. Limitler Kubernetes mimarisinde pod seviyesinde \u00e7al\u0131\u015f\u0131rlar. Schedular deployment s\u0131ras\u0131nda available node\u2019u bulmak i\u00e7in bu limitleri kontrol eder.\u2026 <span class=\"read-more\"><a href=\"https:\/\/blog.firatyasar.com\/?p=31\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.firatyasar.com\/index.php?rest_route=\/wp\/v2\/posts\/31"}],"collection":[{"href":"https:\/\/blog.firatyasar.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.firatyasar.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.firatyasar.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.firatyasar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=31"}],"version-history":[{"count":1,"href":"https:\/\/blog.firatyasar.com\/index.php?rest_route=\/wp\/v2\/posts\/31\/revisions"}],"predecessor-version":[{"id":33,"href":"https:\/\/blog.firatyasar.com\/index.php?rest_route=\/wp\/v2\/posts\/31\/revisions\/33"}],"wp:attachment":[{"href":"https:\/\/blog.firatyasar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=31"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.firatyasar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=31"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.firatyasar.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=31"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}