Skip to content

Instantly share code, notes, and snippets.

View inductor's full-sized avatar
🐳
Dockerizing

Kohei Ota (inductor) inductor

🐳
Dockerizing
View GitHub Profile
[
{
"a": "foo1",
"b": "bar1"
},
{
"a": "foo2",
"b": "bar2",
"c": [
{
@inductor
inductor / cndt.md
Last active September 8, 2020 09:11

Cloud Nativeな開発を始めて意識するようになったこと

構築の自動化だけじゃない、中長期運用を意識した変化に強い構成管理

  • 変更/回収フローを容易にした事で再現性が担保され、気軽に更新/改修ができる
    • これまでの運用方法では、一度作った環境を更新/改修することにリスクがあった

具体的な変化

  • ステージング、本番環境は人間が直接操作しない

Cloud開発をする事で『当たり前』になった事

  • 一度作った環境を頻繁に更新/改修する
    • 変更/回収フローを容易にした事で再現性が担保されている。気軽に更新/改修ができる
    • オンプレでは一度作った環境を更新/改修する事はリスクを含んでいた
  • PRD環境/STG環境は直接操作しない
    • CI/CDフローを作り込む事でPRD環境/STG環境に触れなくて良くなった
    • CI/CDフローを作り込む事で環境の変更が容易になり『急ぎだからこれは手でやってしまおう』といった事が無くなる
  • 自身の守備範囲を広くする意識を持つ
    • 自身が関連するシステムではgithubのPRをレビューする事が多いので『何が追加されたか?』『コードはどこにあるか?』等を確認する
  • オンプレではマネージドサービスが無いため各分野に『専門性』があり、業務的に分離されてる事が多かった
@inductor
inductor / setup-crio.sh
Last active November 19, 2022 09:39
setup-crio.sh
#!/bin/bash
set -eux
# Set up required sysctl params, these persist across reboots.
cat > /etc/sysctl.d/99-kubernetes-cri.conf <<EOF
net.bridge.bridge-nf-call-iptables = 1
net.ipv4.ip_forward = 1
net.bridge.bridge-nf-call-ip6tables = 1
EOF
@inductor
inductor / en.diff
Created November 24, 2020 12:28
git diff upstream/release-1.17 upstream/release-1.18 <file>
diff --git a/content/en/docs/_index.md b/content/en/docs/_index.md
index 05e96e290..e06ebf76a 100644
--- a/content/en/docs/_index.md
+++ b/content/en/docs/_index.md
@@ -1,3 +1,4 @@
---
+linktitle: Kubernetes Documentation
title: Documentation
---
@inductor
inductor / en.diff
Created November 24, 2020 12:29
git diff upstream/release-1.17 upstream/release-1.18 <file>
diff --git a/content/en/docs/concepts/architecture/controller.md b/content/en/docs/concepts/architecture/controller.md
index e5bee1d0a..72e628dad 100644
--- a/content/en/docs/concepts/architecture/controller.md
+++ b/content/en/docs/concepts/architecture/controller.md
@@ -1,10 +1,10 @@
---
title: Controllers
-content_template: templates/concept
+content_type: concept
weight: 30
@inductor
inductor / en.diff
Created November 24, 2020 12:30
git diff upstream/release-1.17 upstream/release-1.18 <file>
diff --git a/content/en/docs/concepts/architecture/nodes.md b/content/en/docs/concepts/architecture/nodes.md
index 97188ee9a..b1e1f0dc2 100644
--- a/content/en/docs/concepts/architecture/nodes.md
+++ b/content/en/docs/concepts/architecture/nodes.md
@@ -3,38 +3,136 @@ reviewers:
- caesarxuchao
- dchen1107
title: Nodes
-content_template: templates/concept
+content_type: concept
@inductor
inductor / en.diff
Created November 24, 2020 12:31
git diff upstream/release-1.17 upstream/release-1.18 <file>
diff --git a/content/en/docs/concepts/configuration/manage-resources-containers.md b/content/en/docs/concepts/configuration/manage-resources-containers.md
new file mode 100644
index 000000000..1f907ad0d
--- /dev/null
+++ b/content/en/docs/concepts/configuration/manage-resources-containers.md
@@ -0,0 +1,755 @@
+---
+title: Managing Resources for Containers
+content_type: concept
+weight: 40
@inductor
inductor / en.diff
Created November 24, 2020 12:36
git diff upstream/release-1.17 upstream/release-1.18 <file>
diff --git a/content/en/docs/concepts/configuration/secret.md b/content/en/docs/concepts/configuration/secret.md
index 356c252fb..95e15528f 100644
--- a/content/en/docs/concepts/configuration/secret.md
+++ b/content/en/docs/concepts/configuration/secret.md
@@ -2,24 +2,24 @@
reviewers:
- mikedanese
title: Secrets
-content_template: templates/concept
+content_type: concept
@inductor
inductor / en.diff
Created November 24, 2020 12:37
git diff upstream/release-1.17 upstream/release-1.18 <file>
diff --git a/content/en/docs/concepts/containers/container-lifecycle-hooks.md b/content/en/docs/concepts/containers/container-lifecycle-hooks.md
index fe810d23c..09d5530a2 100644
--- a/content/en/docs/concepts/containers/container-lifecycle-hooks.md
+++ b/content/en/docs/concepts/containers/container-lifecycle-hooks.md
@@ -3,19 +3,19 @@ reviewers:
- mikedanese
- thockin
title: Container Lifecycle Hooks
-content_template: templates/concept
+content_type: concept