{"provider_url":"https://hatena.blog","image_url":null,"title":" [kubectl / oc] \u30cd\u30fc\u30e0\u30b9\u30da\u30fc\u30b9\u306e\u4f5c\u6210\u3068\u524a\u9664\u3068\u5207\u308a\u66ff\u3048 (\u30b3\u30de\u30f3\u30c9\u30e1\u30e2)","author_name":"zaki-hmkc","version":"1.0","blog_title":"zaki work log","provider_name":"Hatena Blog","type":"rich","width":"100%","url":"https://zaki-hmkc.hatenablog.com/entry/2020/04/21/073637","categories":["Kubernetes","OpenShift","\u671d\u6d3b","tech"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzaki-hmkc.hatenablog.com%2Fentry%2F2020%2F04%2F21%2F073637\" title=\" [kubectl / oc] \u30cd\u30fc\u30e0\u30b9\u30da\u30fc\u30b9\u306e\u4f5c\u6210\u3068\u524a\u9664\u3068\u5207\u308a\u66ff\u3048 (\u30b3\u30de\u30f3\u30c9\u30e1\u30e2) - zaki work log\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2020-04-21 07:36:37","blog_url":"https://zaki-hmkc.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/zaki-hmkc/","height":"190","description":"kubectx\u3092\u4f7f\u308f\u305akubectl\u3067\u6e08\u307e\u3059\u65b9\u6cd5\u3002 namespace\u3092\u4f5c\u308b kubectl create dry-run \u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u304b\u3089 namespace\u5207\u308a\u66ff\u3048 namespace\u524a\u9664 kubectl delete \u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u304b\u3089 OpenShift\u3060\u3068 \u4f5c\u6210 \u5207\u308a\u66ff\u3048 \u524a\u9664 namespace\u3068\u9055\u3046\u3068\u3053 \u74b0\u5883 namespace\u3092\u4f5c\u308b kubectl create kubectl create namespace <namespace-name>\u3067\u4f5c\u308b\u3002 [zaki@k8s-master01 ~]$ kubectl create namespace sample1 namespac\u2026"}