{"id":1217,"date":"2026-03-11T23:09:13","date_gmt":"2026-03-11T14:09:13","guid":{"rendered":"http:\/\/www.igoni.kr\/?p=1217"},"modified":"2026-03-11T23:09:13","modified_gmt":"2026-03-11T14:09:13","slug":"rbac%ea%b8%b0%eb%b0%98%ec%9d%98-namespace-%ea%b6%8c%ed%95%9c%eb%b6%80%ec%97%ac","status":"publish","type":"post","link":"http:\/\/www.igoni.kr\/?p=1217","title":{"rendered":"rbac\uae30\ubc18\uc758 namespace \uad8c\ud55c\ubd80\uc5ec"},"content":{"rendered":"<p id=\"bkmrk-%EC%84%9C%EB%B9%84%EC%8A%A4-%EA%B3%84%EC%A0%95%EC%83%9D%EC%84%B1\">\uc11c\ube44\uc2a4 \uacc4\uc815\uc0dd\uc131<\/p>\n<pre id=\"bkmrk-%24%3E-kubectl-create-sa\"><code class=\"language-bash\">$&gt; kubectl create sa testuser\n<\/code><\/pre>\n<p id=\"bkmrk-role%EC%84%A4%EC%A0%95\">role\uc124\uc815<\/p>\n<pre id=\"bkmrk-%24%3E-cat-role.yaml-api\"><code class=\"language-bash\">$&gt; cat role.yaml\napiVersion: rbac.authozation.k8s.io\/v1\nkind: Role\nmetadata\n  name: ms-role\n  namespace: ms\nrules:\n- apiGroup: [&quot;&quot;]\n  resources: [&quot;*&quot;]\n  verbs: [&quot;get&quot;, &quot;list&quot;, &quot;watch&quot;]<\/code><\/pre>\n<p id=\"bkmrk-rolebinding-%EC%84%A4%EC%A0%95\">rolebinding \uc124\uc815<\/p>\n<pre id=\"bkmrk-%24%3E-rolebinding.yaml-\"><code class=\"language-bash\">$&gt; rolebinding.yaml\napiVersion: rbac.authorization.k8s.io\/v1\nkind: RoleBinding\nmetadata:\n  name: ms-rolebinding\n  namespace: ms\nroleRef:\n  apiGroup: rbac.authorization.k8s.io\n  kind: Role\n  name: ms-role\nsubjects:\n- kind: ServiceAccount\n  name: testuser\n  namespace: ms<\/code><\/pre>\n<table id=\"bkmrk-perplexity%EC%97%90%EC%84%9C-%EC%83%9D%EC%84%B1%ED%95%9C-ai%EC%9D%B4\" style=\"border-collapse: collapse;width: 100%;height: 59.5938px\" border=\"1\">\n<tbody>\n<tr style=\"height: 29.7969px\">\n<td style=\"height: 29.7969px\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1219\" src=\"http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/03\/d7671223-ff06-44e9-8558-2979e932262f-scaled.jpg\" alt=\"\" width=\"2560\" height=\"1438\" srcset=\"http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/03\/d7671223-ff06-44e9-8558-2979e932262f-scaled.jpg 2560w, http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/03\/d7671223-ff06-44e9-8558-2979e932262f-300x169.jpg 300w, http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/03\/d7671223-ff06-44e9-8558-2979e932262f-1024x575.jpg 1024w, http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/03\/d7671223-ff06-44e9-8558-2979e932262f-768x431.jpg 768w, http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/03\/d7671223-ff06-44e9-8558-2979e932262f-1536x863.jpg 1536w, http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/03\/d7671223-ff06-44e9-8558-2979e932262f-2048x1151.jpg 2048w, http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/03\/d7671223-ff06-44e9-8558-2979e932262f-1300x730.jpg 1300w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/><\/td>\n<\/tr>\n<tr style=\"height: 29.7969px\">\n<td class=\"align-right\" style=\"height: 29.7969px\">perplexity\uc5d0\uc11c \uc0dd\uc131\ud55c AI\uc774\ubbf8\uc9c0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p id=\"bkmrk-auth-%ED%99%95%EC%9D%B8\">auth \ud655\uc778<\/p>\n<pre id=\"bkmrk-%24%3E-kubectl-auth-can-\"><code class=\"language-bash\">$&gt; kubectl auth can-i get pods --namespace=ms --as=system:serviceaccouint:default:testuser\nyes\n<\/code><\/pre>\n<p id=\"bkmrk-user-credential-%EC%83%9D%EC%84%B1\">user credential \uc0dd\uc131<\/p>\n<pre id=\"bkmrk-%24%3E-kubectl-describe-\"><code class=\"language-bash\">$&gt; kubectl describe serviceaccount testuser\n\n$&gt; kubectl describe secret testuser-token-123\n\n$&gt; kubectl config set-credentials testuser --token=testuser-token-123\n<\/code><\/pre>\n<p id=\"bkmrk-context%EC%83%9D%EC%84%B1\">context\uc0dd\uc131<\/p>\n<pre id=\"bkmrk-%24%3E-kubectl-config-se\"><code class=\"language-bash\">$&gt; kubectl config set-context test-context --cluster=testcluster --as=system:serviceaccount:default:testuser\nContext &quot;test-context&quot; created.\n\n$&gt; kubectl config get-contexts\n\n$&gt; kubectl config use-context test-context\nSwitched to context &quot;test-context&quot;\n<\/code><\/pre>","protected":false},"excerpt":{"rendered":"<p>\uc11c\ube44\uc2a4 \uacc4\uc815\uc0dd\uc131 $&gt; kubectl create sa testuser role\uc124\uc815 $&gt; cat role.yaml apiVersion: rbac.authozation.k8s.io\/v1 kind: Role metadata&hellip;<\/p>","protected":false},"author":1,"featured_media":1219,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[319],"tags":[321,371],"class_list":["post-1217","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kubernetes","tag-kubernetes","tag-rbac"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\uc11c\ube44\uc2a4 \uacc4\uc815\uc0dd\uc131 $&gt; kubectl create sa testuser role\uc124\uc815 $&gt; cat role.yaml apiVersion: rbac.authozation.k8s.io\/v1 kind: Role metadata name: ms-role namespace: ms rules: - apiGroup: [&quot;&quot;] resources: [&quot;*&quot;] verbs: [&quot;get&quot;, &quot;list&quot;, &quot;watch&quot;] rolebinding \uc124\uc815 $&gt; rolebinding.yaml apiVersion: rbac.authorization.k8s.io\/v1 kind: RoleBinding metadata: name: ms-rolebinding namespace: ms roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: ms-role subjects: - kind: ServiceAccount name:\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"artop0420\"\/>\n\t<link rel=\"canonical\" href=\"http:\/\/www.igoni.kr\/?p=1217\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"ko_KR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\uc774\uace4\uc544\uc774 - \uc798\ub098\uac00\ub294 \uc804\uc0b0\uc7c1\uc774\uc758 \ube14\ub85c\uadf8\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"rbac\uae30\ubc18\uc758 namespace \uad8c\ud55c\ubd80\uc5ec - \uc774\uace4\uc544\uc774\" \/>\n\t\t<meta property=\"og:description\" content=\"\uc11c\ube44\uc2a4 \uacc4\uc815\uc0dd\uc131 $&gt; kubectl create sa testuser role\uc124\uc815 $&gt; cat role.yaml apiVersion: rbac.authozation.k8s.io\/v1 kind: Role metadata name: ms-role namespace: ms rules: - apiGroup: [&quot;&quot;] resources: [&quot;*&quot;] verbs: [&quot;get&quot;, &quot;list&quot;, &quot;watch&quot;] rolebinding \uc124\uc815 $&gt; rolebinding.yaml apiVersion: rbac.authorization.k8s.io\/v1 kind: RoleBinding metadata: name: ms-rolebinding namespace: ms roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: ms-role subjects: - kind: ServiceAccount name:\" \/>\n\t\t<meta property=\"og:url\" content=\"http:\/\/www.igoni.kr\/?p=1217\" \/>\n\t\t<meta property=\"og:image\" content=\"http:\/\/word.igoni.kr\/wp-content\/uploads\/2026\/01\/cropped-j3fi6eistvc5ixa6lvm3ra-1.jpg\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-03-11T14:09:13+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-03-11T14:09:13+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"rbac\uae30\ubc18\uc758 namespace \uad8c\ud55c\ubd80\uc5ec - \uc774\uace4\uc544\uc774\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\uc11c\ube44\uc2a4 \uacc4\uc815\uc0dd\uc131 $&gt; kubectl create sa testuser role\uc124\uc815 $&gt; cat role.yaml apiVersion: rbac.authozation.k8s.io\/v1 kind: Role metadata name: ms-role namespace: ms rules: - apiGroup: [&quot;&quot;] resources: [&quot;*&quot;] verbs: [&quot;get&quot;, &quot;list&quot;, &quot;watch&quot;] rolebinding \uc124\uc815 $&gt; rolebinding.yaml apiVersion: rbac.authorization.k8s.io\/v1 kind: RoleBinding metadata: name: ms-rolebinding namespace: ms roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: ms-role subjects: - kind: ServiceAccount name:\" \/>\n\t\t<meta name=\"twitter:image\" content=\"http:\/\/word.igoni.kr\/wp-content\/uploads\/2026\/01\/cropped-j3fi6eistvc5ixa6lvm3ra-1.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/?p=1217#blogposting\",\"name\":\"rbac\\uae30\\ubc18\\uc758 namespace \\uad8c\\ud55c\\ubd80\\uc5ec - \\uc774\\uace4\\uc544\\uc774\",\"headline\":\"rbac\\uae30\\ubc18\\uc758 namespace \\uad8c\\ud55c\\ubd80\\uc5ec\",\"author\":{\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/?author=1#author\"},\"publisher\":{\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/www.igoni.kr\\\/wp-content\\\/uploads\\\/2026\\\/03\\\/d7671223-ff06-44e9-8558-2979e932262f-scaled.jpg\",\"width\":2560,\"height\":1438},\"datePublished\":\"2026-03-11T23:09:13+09:00\",\"dateModified\":\"2026-03-11T23:09:13+09:00\",\"inLanguage\":\"ko-KR\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/?p=1217#webpage\"},\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/?p=1217#webpage\"},\"articleSection\":\"kubernetes, kubernetes, rbac\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/?p=1217#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.igoni.kr#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/www.igoni.kr\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/?cat=317#listItem\",\"name\":\"3. Container\\\/Kubernetes\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/?cat=317#listItem\",\"position\":2,\"name\":\"3. Container\\\/Kubernetes\",\"item\":\"http:\\\/\\\/www.igoni.kr\\\/?cat=317\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/?cat=319#listItem\",\"name\":\"kubernetes\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.igoni.kr#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/?cat=319#listItem\",\"position\":3,\"name\":\"kubernetes\",\"item\":\"http:\\\/\\\/www.igoni.kr\\\/?cat=319\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/?p=1217#listItem\",\"name\":\"rbac\\uae30\\ubc18\\uc758 namespace \\uad8c\\ud55c\\ubd80\\uc5ec\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/?cat=317#listItem\",\"name\":\"3. Container\\\/Kubernetes\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/?p=1217#listItem\",\"position\":4,\"name\":\"rbac\\uae30\\ubc18\\uc758 namespace \\uad8c\\ud55c\\ubd80\\uc5ec\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/?cat=319#listItem\",\"name\":\"kubernetes\"}}]},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/#person\",\"name\":\"artop0420\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/?p=1217#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6ed969bb042731f83571e940de11778b3d6af729b07d53ffb1c9cf224e32620f?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"artop0420\"}},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/?author=1#author\",\"url\":\"http:\\\/\\\/www.igoni.kr\\\/?author=1\",\"name\":\"artop0420\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/?p=1217#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6ed969bb042731f83571e940de11778b3d6af729b07d53ffb1c9cf224e32620f?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"artop0420\"}},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/?p=1217#webpage\",\"url\":\"http:\\\/\\\/www.igoni.kr\\\/?p=1217\",\"name\":\"rbac\\uae30\\ubc18\\uc758 namespace \\uad8c\\ud55c\\ubd80\\uc5ec - \\uc774\\uace4\\uc544\\uc774\",\"description\":\"\\uc11c\\ube44\\uc2a4 \\uacc4\\uc815\\uc0dd\\uc131 $> kubectl create sa testuser role\\uc124\\uc815 $> cat role.yaml apiVersion: rbac.authozation.k8s.io\\\/v1 kind: Role metadata name: ms-role namespace: ms rules: - apiGroup: [\\\"\\\"] resources: [\\\"*\\\"] verbs: [\\\"get\\\", \\\"list\\\", \\\"watch\\\"] rolebinding \\uc124\\uc815 $> rolebinding.yaml apiVersion: rbac.authorization.k8s.io\\\/v1 kind: RoleBinding metadata: name: ms-rolebinding namespace: ms roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: ms-role subjects: - kind: ServiceAccount name:\",\"inLanguage\":\"ko-KR\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/#website\"},\"breadcrumb\":{\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/?p=1217#breadcrumblist\"},\"author\":{\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/?author=1#author\"},\"creator\":{\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/?author=1#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/www.igoni.kr\\\/wp-content\\\/uploads\\\/2026\\\/03\\\/d7671223-ff06-44e9-8558-2979e932262f-scaled.jpg\",\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/?p=1217\\\/#mainImage\",\"width\":2560,\"height\":1438},\"primaryImageOfPage\":{\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/?p=1217#mainImage\"},\"datePublished\":\"2026-03-11T23:09:13+09:00\",\"dateModified\":\"2026-03-11T23:09:13+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/#website\",\"url\":\"http:\\\/\\\/www.igoni.kr\\\/\",\"name\":\"\\uc774\\uace4\\uc544\\uc774\",\"description\":\"\\uc798\\ub098\\uac00\\ub294 \\uc804\\uc0b0\\uc7c1\\uc774\\uc758 \\ube14\\ub85c\\uadf8\",\"inLanguage\":\"ko-KR\",\"publisher\":{\"@id\":\"http:\\\/\\\/www.igoni.kr\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"rbac\uae30\ubc18\uc758 namespace \uad8c\ud55c\ubd80\uc5ec - \uc774\uace4\uc544\uc774","description":"\uc11c\ube44\uc2a4 \uacc4\uc815\uc0dd\uc131 $> kubectl create sa testuser role\uc124\uc815 $> cat role.yaml apiVersion: rbac.authozation.k8s.io\/v1 kind: Role metadata name: ms-role namespace: ms rules: - apiGroup: [\"\"] resources: [\"*\"] verbs: [\"get\", \"list\", \"watch\"] rolebinding \uc124\uc815 $> rolebinding.yaml apiVersion: rbac.authorization.k8s.io\/v1 kind: RoleBinding metadata: name: ms-rolebinding namespace: ms roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: ms-role subjects: - kind: ServiceAccount name:","canonical_url":"http:\/\/www.igoni.kr\/?p=1217","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"http:\/\/www.igoni.kr\/?p=1217#blogposting","name":"rbac\uae30\ubc18\uc758 namespace \uad8c\ud55c\ubd80\uc5ec - \uc774\uace4\uc544\uc774","headline":"rbac\uae30\ubc18\uc758 namespace \uad8c\ud55c\ubd80\uc5ec","author":{"@id":"http:\/\/www.igoni.kr\/?author=1#author"},"publisher":{"@id":"http:\/\/www.igoni.kr\/#person"},"image":{"@type":"ImageObject","url":"http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/03\/d7671223-ff06-44e9-8558-2979e932262f-scaled.jpg","width":2560,"height":1438},"datePublished":"2026-03-11T23:09:13+09:00","dateModified":"2026-03-11T23:09:13+09:00","inLanguage":"ko-KR","mainEntityOfPage":{"@id":"http:\/\/www.igoni.kr\/?p=1217#webpage"},"isPartOf":{"@id":"http:\/\/www.igoni.kr\/?p=1217#webpage"},"articleSection":"kubernetes, kubernetes, rbac"},{"@type":"BreadcrumbList","@id":"http:\/\/www.igoni.kr\/?p=1217#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"http:\/\/www.igoni.kr#listItem","position":1,"name":"Home","item":"http:\/\/www.igoni.kr","nextItem":{"@type":"ListItem","@id":"http:\/\/www.igoni.kr\/?cat=317#listItem","name":"3. Container\/Kubernetes"}},{"@type":"ListItem","@id":"http:\/\/www.igoni.kr\/?cat=317#listItem","position":2,"name":"3. Container\/Kubernetes","item":"http:\/\/www.igoni.kr\/?cat=317","nextItem":{"@type":"ListItem","@id":"http:\/\/www.igoni.kr\/?cat=319#listItem","name":"kubernetes"},"previousItem":{"@type":"ListItem","@id":"http:\/\/www.igoni.kr#listItem","name":"Home"}},{"@type":"ListItem","@id":"http:\/\/www.igoni.kr\/?cat=319#listItem","position":3,"name":"kubernetes","item":"http:\/\/www.igoni.kr\/?cat=319","nextItem":{"@type":"ListItem","@id":"http:\/\/www.igoni.kr\/?p=1217#listItem","name":"rbac\uae30\ubc18\uc758 namespace \uad8c\ud55c\ubd80\uc5ec"},"previousItem":{"@type":"ListItem","@id":"http:\/\/www.igoni.kr\/?cat=317#listItem","name":"3. Container\/Kubernetes"}},{"@type":"ListItem","@id":"http:\/\/www.igoni.kr\/?p=1217#listItem","position":4,"name":"rbac\uae30\ubc18\uc758 namespace \uad8c\ud55c\ubd80\uc5ec","previousItem":{"@type":"ListItem","@id":"http:\/\/www.igoni.kr\/?cat=319#listItem","name":"kubernetes"}}]},{"@type":"Person","@id":"http:\/\/www.igoni.kr\/#person","name":"artop0420","image":{"@type":"ImageObject","@id":"http:\/\/www.igoni.kr\/?p=1217#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/6ed969bb042731f83571e940de11778b3d6af729b07d53ffb1c9cf224e32620f?s=96&d=mm&r=g","width":96,"height":96,"caption":"artop0420"}},{"@type":"Person","@id":"http:\/\/www.igoni.kr\/?author=1#author","url":"http:\/\/www.igoni.kr\/?author=1","name":"artop0420","image":{"@type":"ImageObject","@id":"http:\/\/www.igoni.kr\/?p=1217#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/6ed969bb042731f83571e940de11778b3d6af729b07d53ffb1c9cf224e32620f?s=96&d=mm&r=g","width":96,"height":96,"caption":"artop0420"}},{"@type":"WebPage","@id":"http:\/\/www.igoni.kr\/?p=1217#webpage","url":"http:\/\/www.igoni.kr\/?p=1217","name":"rbac\uae30\ubc18\uc758 namespace \uad8c\ud55c\ubd80\uc5ec - \uc774\uace4\uc544\uc774","description":"\uc11c\ube44\uc2a4 \uacc4\uc815\uc0dd\uc131 $> kubectl create sa testuser role\uc124\uc815 $> cat role.yaml apiVersion: rbac.authozation.k8s.io\/v1 kind: Role metadata name: ms-role namespace: ms rules: - apiGroup: [\"\"] resources: [\"*\"] verbs: [\"get\", \"list\", \"watch\"] rolebinding \uc124\uc815 $> rolebinding.yaml apiVersion: rbac.authorization.k8s.io\/v1 kind: RoleBinding metadata: name: ms-rolebinding namespace: ms roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: ms-role subjects: - kind: ServiceAccount name:","inLanguage":"ko-KR","isPartOf":{"@id":"http:\/\/www.igoni.kr\/#website"},"breadcrumb":{"@id":"http:\/\/www.igoni.kr\/?p=1217#breadcrumblist"},"author":{"@id":"http:\/\/www.igoni.kr\/?author=1#author"},"creator":{"@id":"http:\/\/www.igoni.kr\/?author=1#author"},"image":{"@type":"ImageObject","url":"http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/03\/d7671223-ff06-44e9-8558-2979e932262f-scaled.jpg","@id":"http:\/\/www.igoni.kr\/?p=1217\/#mainImage","width":2560,"height":1438},"primaryImageOfPage":{"@id":"http:\/\/www.igoni.kr\/?p=1217#mainImage"},"datePublished":"2026-03-11T23:09:13+09:00","dateModified":"2026-03-11T23:09:13+09:00"},{"@type":"WebSite","@id":"http:\/\/www.igoni.kr\/#website","url":"http:\/\/www.igoni.kr\/","name":"\uc774\uace4\uc544\uc774","description":"\uc798\ub098\uac00\ub294 \uc804\uc0b0\uc7c1\uc774\uc758 \ube14\ub85c\uadf8","inLanguage":"ko-KR","publisher":{"@id":"http:\/\/www.igoni.kr\/#person"}}]},"og:locale":"ko_KR","og:site_name":"\uc774\uace4\uc544\uc774 - \uc798\ub098\uac00\ub294 \uc804\uc0b0\uc7c1\uc774\uc758 \ube14\ub85c\uadf8","og:type":"article","og:title":"rbac\uae30\ubc18\uc758 namespace \uad8c\ud55c\ubd80\uc5ec - \uc774\uace4\uc544\uc774","og:description":"\uc11c\ube44\uc2a4 \uacc4\uc815\uc0dd\uc131 $&gt; kubectl create sa testuser role\uc124\uc815 $&gt; cat role.yaml apiVersion: rbac.authozation.k8s.io\/v1 kind: Role metadata name: ms-role namespace: ms rules: - apiGroup: [&quot;&quot;] resources: [&quot;*&quot;] verbs: [&quot;get&quot;, &quot;list&quot;, &quot;watch&quot;] rolebinding \uc124\uc815 $&gt; rolebinding.yaml apiVersion: rbac.authorization.k8s.io\/v1 kind: RoleBinding metadata: name: ms-rolebinding namespace: ms roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: ms-role subjects: - kind: ServiceAccount name:","og:url":"http:\/\/www.igoni.kr\/?p=1217","og:image":"http:\/\/word.igoni.kr\/wp-content\/uploads\/2026\/01\/cropped-j3fi6eistvc5ixa6lvm3ra-1.jpg","article:published_time":"2026-03-11T14:09:13+00:00","article:modified_time":"2026-03-11T14:09:13+00:00","twitter:card":"summary_large_image","twitter:title":"rbac\uae30\ubc18\uc758 namespace \uad8c\ud55c\ubd80\uc5ec - \uc774\uace4\uc544\uc774","twitter:description":"\uc11c\ube44\uc2a4 \uacc4\uc815\uc0dd\uc131 $&gt; kubectl create sa testuser role\uc124\uc815 $&gt; cat role.yaml apiVersion: rbac.authozation.k8s.io\/v1 kind: Role metadata name: ms-role namespace: ms rules: - apiGroup: [&quot;&quot;] resources: [&quot;*&quot;] verbs: [&quot;get&quot;, &quot;list&quot;, &quot;watch&quot;] rolebinding \uc124\uc815 $&gt; rolebinding.yaml apiVersion: rbac.authorization.k8s.io\/v1 kind: RoleBinding metadata: name: ms-rolebinding namespace: ms roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: ms-role subjects: - kind: ServiceAccount name:","twitter:image":"http:\/\/word.igoni.kr\/wp-content\/uploads\/2026\/01\/cropped-j3fi6eistvc5ixa6lvm3ra-1.jpg"},"aioseo_meta_data":{"post_id":"1217","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"titles":[],"descriptions":[],"socialPosts":{"email":[],"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2026-03-11 14:09:13","updated":"2026-03-11 15:09:25","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/www.igoni.kr\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/www.igoni.kr\/?cat=317\" title=\"3. Container\/Kubernetes\">3. Container\/Kubernetes<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/www.igoni.kr\/?cat=319\" title=\"kubernetes\">kubernetes<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\trbac\uae30\ubc18\uc758 namespace \uad8c\ud55c\ubd80\uc5ec\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"http:\/\/www.igoni.kr"},{"label":"3. Container\/Kubernetes","link":"http:\/\/www.igoni.kr\/?cat=317"},{"label":"kubernetes","link":"http:\/\/www.igoni.kr\/?cat=319"},{"label":"rbac\uae30\ubc18\uc758 namespace \uad8c\ud55c\ubd80\uc5ec","link":"http:\/\/www.igoni.kr\/?p=1217"}],"_links":{"self":[{"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/posts\/1217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1217"}],"version-history":[{"count":1,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/posts\/1217\/revisions"}],"predecessor-version":[{"id":1221,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/posts\/1217\/revisions\/1221"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/media\/1219"}],"wp:attachment":[{"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1217"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}