Skip to content

Instantly share code, notes, and snippets.

View inductor's full-sized avatar
🐳
Dockerizing

Kohei Ota (inductor) inductor

🐳
Dockerizing
View GitHub Profile
@inductor
inductor / en.diff
Created June 4, 2021 10:56
git diff origin/release-1.18 origin/release-1.19 <file>
diff --git a/content/en/docs/contribute/suggesting-improvements.md b/content/en/docs/contribute/suggesting-improvements.md
index e48c2915b..dbf5bf1ab 100644
--- a/content/en/docs/contribute/suggesting-improvements.md
+++ b/content/en/docs/contribute/suggesting-improvements.md
@@ -24,7 +24,7 @@ of the Kubernetes community open a pull request with changes to resolve the issu
If you want to suggest improvements to existing content, or notice an error, then open an issue.
-1. Go to the bottom of the page and click the **Create an Issue** button. This redirects you
+1. Click the **Create an issue** link on the right sidebar. This redirects you
@inductor
inductor / en.diff
Created June 4, 2021 10:54
git diff origin/release-1.18 origin/release-1.19 <file>
diff --git a/content/en/docs/contribute/_index.md b/content/en/docs/contribute/_index.md
index 8616f77af..1db65ec56 100644
--- a/content/en/docs/contribute/_index.md
+++ b/content/en/docs/contribute/_index.md
@@ -1,6 +1,6 @@
---
content_type: concept
-title: Contribute to Kubernetes docs
+title: Contribute to K8s docs
linktitle: Contribute
@inductor
inductor / git-list.sh
Created April 9, 2021 03:35
git-list.sh
for f in $(git ls-files -z content/ja/docs/ \
| xargs -0 -n1 -I{} -- git log -1 --format="%ai {}" {} \
| awk '{print $4}' \
| sed -e 's/ja/en/'); do git diff --name-only origin/release-1.17 origin/release-1.18 -- $f; done
@inductor
inductor / en.diff
Created March 5, 2021 05:32
git diff release-1.18 release-1.19 <file>
diff --git a/content/en/docs/home/_index.md b/content/en/docs/home/_index.md
index 8864e4781..68f4bfd3c 100644
--- a/content/en/docs/home/_index.md
+++ b/content/en/docs/home/_index.md
@@ -32,7 +32,7 @@ cards:
button: "View Tutorials"
button_path: "/docs/tutorials"
- name: setup
- title: "Set up a cluster"
+ title: "Set up a K8s cluster"
@inductor
inductor / en.diff
Created March 5, 2021 05:30
git diff release-1.18 release-1.19 <file>
diff --git a/content/en/docs/contribute/suggesting-improvements.md b/content/en/docs/contribute/suggesting-improvements.md
index e48c2915b..dbf5bf1ab 100644
--- a/content/en/docs/contribute/suggesting-improvements.md
+++ b/content/en/docs/contribute/suggesting-improvements.md
@@ -24,7 +24,7 @@ of the Kubernetes community open a pull request with changes to resolve the issu
If you want to suggest improvements to existing content, or notice an error, then open an issue.
-1. Go to the bottom of the page and click the **Create an Issue** button. This redirects you
+1. Click the **Create an issue** link on the right sidebar. This redirects you
@inductor
inductor / en.diff
Created March 5, 2021 05:30
git diff release-1.18 release-1.19 <file>
diff --git a/content/en/docs/contribute/localization.md b/content/en/docs/contribute/localization.md
index 74c4f8e09..48c48b6ed 100644
--- a/content/en/docs/contribute/localization.md
+++ b/content/en/docs/contribute/localization.md
@@ -32,7 +32,7 @@ First, consult the [ISO 639-1 standard](https://www.loc.gov/standards/iso639-2/p
### Fork and clone the repo
-First, [create your own fork](/docs/contribute/new-content/new-content/#fork-the-repo) of the [kubernetes/website](https://github.com/kubernetes/website) repository.
+First, [create your own fork](/docs/contribute/new-content/open-a-pr/#fork-the-repo) of the [kubernetes/website](https://github.com/kubernetes/website) repository.
@inductor
inductor / en.diff
Created March 5, 2021 05:29
git diff release-1.18 release-1.19 <file>
diff --git a/content/en/docs/contribute/_index.md b/content/en/docs/contribute/_index.md
index 8616f77af..1db65ec56 100644
--- a/content/en/docs/contribute/_index.md
+++ b/content/en/docs/contribute/_index.md
@@ -1,6 +1,6 @@
---
content_type: concept
-title: Contribute to Kubernetes docs
+title: Contribute to K8s docs
linktitle: Contribute
@inductor
inductor / gist:2e6f436a69b705244464933e69a6a3d2
Created March 5, 2021 05:27
1.19の変更すべきファイル
content/en/docs/_index.md
content/en/docs/concepts/architecture/cloud-controller.md
content/en/docs/concepts/architecture/controller.md
content/en/docs/concepts/architecture/nodes.md
content/en/docs/concepts/cluster-administration/_index.md
content/en/docs/concepts/cluster-administration/cloud-providers.md
content/en/docs/concepts/cluster-administration/networking.md
content/en/docs/concepts/configuration/configmap.md
content/en/docs/concepts/configuration/manage-resources-containers.md
content/en/docs/concepts/configuration/secret.md
@inductor
inductor / en.diff
Created March 5, 2021 05:13
git diff release-1.18 release-1.19 <file>
diff --git a/content/en/docs/concepts/workloads/pods/pod-lifecycle.md b/content/en/docs/concepts/workloads/pods/pod-lifecycle.md
index 0daf25de1..3dfa69c5b 100644
--- a/content/en/docs/concepts/workloads/pods/pod-lifecycle.md
+++ b/content/en/docs/concepts/workloads/pods/pod-lifecycle.md
@@ -13,7 +13,8 @@ of its primary containers starts OK, and then through either the `Succeeded` or
Whilst a Pod is running, the kubelet is able to restart containers to handle some
kind of faults. Within a Pod, Kubernetes tracks different container
-[states](#container-states) and handles
+[states](#container-states) and determines what action to take to make the Pod
@inductor
inductor / en.diff
Created March 5, 2021 05:12
git diff release-1.18 release-1.19 <file>
diff --git a/content/en/docs/concepts/workloads/pods/init-containers.md b/content/en/docs/concepts/workloads/pods/init-containers.md
index 6e67a9e0c..5c92f0742 100644
--- a/content/en/docs/concepts/workloads/pods/init-containers.md
+++ b/content/en/docs/concepts/workloads/pods/init-containers.md
@@ -28,8 +28,8 @@ Init containers are exactly like regular containers, except:
* Init containers always run to completion.
* Each init container must complete successfully before the next one starts.
-If a Pod's init container fails, Kubernetes repeatedly restarts the Pod until the init container
-succeeds. However, if the Pod has a `restartPolicy` of Never, Kubernetes does not restart the Pod.