Skip to content

Commit

Permalink
renaming folder to v1beta3 and updating testcases
Browse files Browse the repository at this point in the history
  • Loading branch information
sub-mod committed Feb 23, 2015
1 parent fd3d60f commit 95c2255
Show file tree
Hide file tree
Showing 15 changed files with 30 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func TestExampleObjectSchemas(t *testing.T) {
"redis-master-service": &api.Service{},
"redis-slave-service": &api.Service{},
},
"../examples/guestbook/v3_json_files": {
"../examples/guestbook/v1beta3": {
"frontend-controller": &api.ReplicationController{},
"redis-slave-controller": &api.ReplicationController{},
"redis-master": &api.ReplicationController{},
Expand All @@ -131,7 +131,7 @@ func TestExampleObjectSchemas(t *testing.T) {
"redis-master-service": &api.Service{},
"redis-slave-service": &api.Service{},
},
"../examples/guestbook-go/v3_json_files": {
"../examples/guestbook-go/v1beta3": {
"guestbook-controller": &api.ReplicationController{},
"redis-slave-controller": &api.ReplicationController{},
"redis-master-controller": &api.ReplicationController{},
Expand Down
14 changes: 14 additions & 0 deletions examples/guestbook-go/v1beta3/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## GuestBook v1beta3 example

This example shows how to build a simple, multi-tier web application using Kubernetes and Docker.

The example consists of:
- A web frontend
- A redis master (for storage and a replicated set of redis slaves)

The web front end interacts with the redis master via javascript redis API calls.

The v1beta3 API is not enabled by default. The kube-apiserver process needs to run with the --runtime_config=api/v1beta3 argument. Use the following command to enable it:
$sudo sed -i 's|KUBE_API_ARGS="|KUBE_API_ARGS="--runtime_config=api/v1beta3 |' /etc/kubernetes/apiserver


14 changes: 14 additions & 0 deletions examples/guestbook/v1beta3/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## GuestBook v1beta3 example

This example shows how to build a simple, multi-tier web application using Kubernetes and Docker.

The example consists of:
- A web frontend
- A redis master (for storage and a replicated set of redis slaves)

The web front end interacts with the redis master via javascript redis API calls.

The v1beta3 API is not enabled by default. The kube-apiserver process needs to run with the --runtime_config=api/v1beta3 argument. Use the following command to enable it:
$sudo sed -i 's|KUBE_API_ARGS="|KUBE_API_ARGS="--runtime_config=api/v1beta3 |' /etc/kubernetes/apiserver


0 comments on commit 95c2255

Please sign in to comment.