From 8b687fcb12e14f8e4817b196b26a0c4a665dcfc3 Mon Sep 17 00:00:00 2001 From: Ahmet Alp Balkan Date: Fri, 21 Jul 2017 11:52:38 -0700 Subject: [PATCH] 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 ` + + ## Table of Contents - [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 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 -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 instances are defined within the Cassandra Service. @@ -856,4 +893,4 @@ manager that we need 0.1 cpu (0.1 core). [![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/cassandra/README.md?pixel)]() - + \ No newline at end of file diff --git a/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume.md b/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume.md index d8d4da9f46..2ede41834a 100644 --- a/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume.md +++ b/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume.md @@ -1,10 +1,44 @@ --- title: "Example: WordPress and MySQL with Persistent Volumes" -assignees: -- ahmetb -- jeffmendoza --- + + + This example describes how to run a persistent installation of [WordPress](https://wordpress.org/) and [MySQL](https://www.mysql.com/) on Kubernetes. We'll use the @@ -366,4 +400,4 @@ kubectl delete pv wordpress-pv-1 wordpress-pv-2 [![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/examples/mysql-wordpress-pd/README.md?pixel)]() - + \ No newline at end of file diff --git a/docs/tutorials/stateless-application/guestbook.md b/docs/tutorials/stateless-application/guestbook.md index fe9f36d37f..42775d131d 100644 --- a/docs/tutorials/stateless-application/guestbook.md +++ b/docs/tutorials/stateless-application/guestbook.md @@ -1,10 +1,43 @@ --- -title: "Example: PHP Guestbook application with Redis" -assignees: -- ahmetb -- jeffmendoza +title: "Example: Deploying PHP Guestbook application with Redis" --- + + 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 [![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/examples/guestbook/README.md?pixel)]() - + \ No newline at end of file diff --git a/update-imported-tutorials.py b/update-imported-tutorials.py index 35bb160e5e..93b5fc98d1 100755 --- a/update-imported-tutorials.py +++ b/update-imported-tutorials.py @@ -59,8 +59,8 @@ def main(): print('Processing {0}'.format(dst_path)) remove_excluded_snippets(dst_path) - insert_title(dst_path, new_title) insert_do_not_update(dst_path) + insert_title(dst_path, new_title) print('Processed {0}'.format(dst_path))