{"author_url":"https://blog.hatena.ne.jp/lirlia/","categories":["Kubernetes","Tips","Shell"],"author_name":"lirlia","provider_name":"Hatena Blog","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/73158536/1534511431670062","published":"2021-08-24 23:58:59","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.framinal.life%2Fentry%2F2021%2F08%2F24%2F235859\" title=\"kubectl apply / diff \u3092xargs\u3092\u4f7f\u3063\u3066\u9ad8\u901f\u3067\u7d42\u308f\u3089\u305b\u308b - \u30d5\u30e9\u30df\u30ca\u30eb\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://blog.framinal.life/","type":"rich","description":"kubectl diff -f . \u2193 ls . | xargs -t -P$(ls | wc -l) -I {} kubectl diff -f {} or ls . | xargs -t -P$(ls | wc -l) -I {} sh -c 'kubectl diff -f {} | tee -a /tmp/diff/{}.diff' kubectl apply -f . \u2193 ls . | xargs -t -P$(ls | wc -l) -I {} kubectl apply --validate=true --dry-run=server -f {}","version":"1.0","blog_title":"\u30d5\u30e9\u30df\u30ca\u30eb","title":"kubectl apply / diff \u3092xargs\u3092\u4f7f\u3063\u3066\u9ad8\u901f\u3067\u7d42\u308f\u3089\u305b\u308b","width":"100%","height":"190","provider_url":"https://hatena.blog","url":"https://blog.framinal.life/entry/2021/08/24/235859"}