First-time tutorials import from k/examples (#4353)
This imports the tutorials from kubernetes/examples repository for the first time. It adds "DO NOT UPDATE" notices and updates some titles. These tutorials will be maintained at k/examples repository. Also fixing a bug in the update script (we were inserting the `<!--` comments before the metadata section on the top, causing articles to render incorrectly). Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
committed by
Andrew Chen
parent
35cc32f87c
commit
8b687fcb12
@@ -2,6 +2,43 @@
|
|||||||
title: "Example: Deploying Cassandra with Stateful Sets"
|
title: "Example: Deploying Cassandra with Stateful Sets"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
<!--
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
DO NOT UPDATE THIS FILE!
|
||||||
|
|
||||||
|
Submit a patch to https://github.com/kubernetes/examples and
|
||||||
|
once it is merged, run ./update-imported-tutorials.sh to
|
||||||
|
import it to the website.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
## Table of Contents
|
## Table of Contents
|
||||||
|
|
||||||
- [Prerequisites](#prerequisites)
|
- [Prerequisites](#prerequisites)
|
||||||
@@ -835,7 +872,7 @@ via a replication control or a daemonset, you will need to use the custom seed p
|
|||||||
In Cassandra, a `SeedProvider` bootstraps the gossip protocol that Cassandra uses to find other
|
In Cassandra, a `SeedProvider` bootstraps the gossip protocol that Cassandra uses to find other
|
||||||
Cassandra nodes. Seed addresses are hosts deemed as contact points. Cassandra
|
Cassandra nodes. Seed addresses are hosts deemed as contact points. Cassandra
|
||||||
instances use the seed list to find each other and learn the topology of the
|
instances use the seed list to find each other and learn the topology of the
|
||||||
ring. The [`KubernetesSeedProvider`](https://github.com/kubernetes/kubernetes/blob/master/examples/storage/cassandra/java/src/main/java/io/k8s/cassandra/KubernetesSeedProvider.java)
|
ring. The [`KubernetesSeedProvider`](https://github.com/kubernetes/examples/blob/master/cassandra/java/src/main/java/io/k8s/cassandra/KubernetesSeedProvider.java)
|
||||||
discovers Cassandra seeds IP addresses via the Kubernetes API, those Cassandra
|
discovers Cassandra seeds IP addresses via the Kubernetes API, those Cassandra
|
||||||
instances are defined within the Cassandra Service.
|
instances are defined within the Cassandra Service.
|
||||||
|
|
||||||
@@ -856,4 +893,4 @@ manager that we need 0.1 cpu (0.1 core).
|
|||||||
|
|
||||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||||
[]()
|
[]()
|
||||||
<!-- END MUNGE: GENERATED_ANALYTICS -->
|
<!-- END MUNGE: GENERATED_ANALYTICS -->
|
||||||
@@ -1,10 +1,44 @@
|
|||||||
---
|
---
|
||||||
title: "Example: WordPress and MySQL with Persistent Volumes"
|
title: "Example: WordPress and MySQL with Persistent Volumes"
|
||||||
assignees:
|
|
||||||
- ahmetb
|
|
||||||
- jeffmendoza
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
<!--
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
DO NOT UPDATE THIS FILE!
|
||||||
|
|
||||||
|
Submit a patch to https://github.com/kubernetes/examples and
|
||||||
|
once it is merged, run ./update-imported-tutorials.sh to
|
||||||
|
import it to the website.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
This example describes how to run a persistent installation of
|
This example describes how to run a persistent installation of
|
||||||
[WordPress](https://wordpress.org/) and
|
[WordPress](https://wordpress.org/) and
|
||||||
[MySQL](https://www.mysql.com/) on Kubernetes. We'll use the
|
[MySQL](https://www.mysql.com/) on Kubernetes. We'll use the
|
||||||
@@ -366,4 +400,4 @@ kubectl delete pv wordpress-pv-1 wordpress-pv-2
|
|||||||
|
|
||||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||||
[]()
|
[]()
|
||||||
<!-- END MUNGE: GENERATED_ANALYTICS -->
|
<!-- END MUNGE: GENERATED_ANALYTICS -->
|
||||||
@@ -1,10 +1,43 @@
|
|||||||
---
|
---
|
||||||
title: "Example: PHP Guestbook application with Redis"
|
title: "Example: Deploying PHP Guestbook application with Redis"
|
||||||
assignees:
|
|
||||||
- ahmetb
|
|
||||||
- jeffmendoza
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
<!--
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
DO NOT UPDATE THIS FILE!
|
||||||
|
|
||||||
|
Submit a patch to https://github.com/kubernetes/examples and
|
||||||
|
once it is merged, run ./update-imported-tutorials.sh to
|
||||||
|
import it to the website.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
This example shows how to build a simple, multi-tier web application using Kubernetes and [Docker](https://www.docker.com/).
|
This example shows how to build a simple, multi-tier web application using Kubernetes and [Docker](https://www.docker.com/).
|
||||||
|
|
||||||
@@ -704,4 +737,4 @@ For Google Compute Engine details about limiting traffic to specific sources, se
|
|||||||
|
|
||||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||||
[]()
|
[]()
|
||||||
<!-- END MUNGE: GENERATED_ANALYTICS -->
|
<!-- END MUNGE: GENERATED_ANALYTICS -->
|
||||||
@@ -59,8 +59,8 @@ def main():
|
|||||||
|
|
||||||
print('Processing {0}'.format(dst_path))
|
print('Processing {0}'.format(dst_path))
|
||||||
remove_excluded_snippets(dst_path)
|
remove_excluded_snippets(dst_path)
|
||||||
insert_title(dst_path, new_title)
|
|
||||||
insert_do_not_update(dst_path)
|
insert_do_not_update(dst_path)
|
||||||
|
insert_title(dst_path, new_title)
|
||||||
print('Processed {0}'.format(dst_path))
|
print('Processed {0}'.format(dst_path))
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user