Skip to content

Commit

Permalink
Merge pull request kubernetes#386 from DeanJain/master
Browse files Browse the repository at this point in the history
removing unwanted words after kubectl commands which is causing confusion
  • Loading branch information
k8s-ci-robot authored Jul 28, 2020
2 parents 46488e2 + ef5deea commit b80c941
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and to refresh command syntax, output, changed prerequisites, as needed.
|Name | Description | Notable Features Used | Complexity Level|
------------- | ------------- | ------------ | ------------ |
|[Guestbook](guestbook/) | PHP app with Redis | Deployment, Service | Beginner |
|[Guestbook-Go](guestbook-go/) | Go app with Redis | Deployment, Service | Beginner |
|[WordPress](mysql-wordpress-pd/) | WordPress with MySQL | Deployment, Persistent Volume with Claim | Beginner|
|[Cassandra](cassandra/) | Cloud Native Cassandra | Daemon Set, Stateful Set, Replication Controller | Intermediate

Expand Down
10 changes: 5 additions & 5 deletions guestbook-go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Use the `examples/guestbook-go/redis-master-controller.json` file to create a [r

```console
$ kubectl create -f examples/guestbook-go/redis-master-controller.json
replicationcontrollers/redis-master
```

2. To verify that the redis-master controller is up, list the replication controllers you created in the cluster with the `kubectl get rc` command(if you don't specify a `--namespace`, the `default` namespace will be used. The same below):
Expand Down Expand Up @@ -77,7 +77,7 @@ Services find the pods to load balance based on pod labels. The pod that you cre

```console
$ kubectl create -f examples/guestbook-go/redis-master-service.json
services/redis-master
```

2. To verify that the redis-master service is up, list the services you created in the cluster with the `kubectl get services` command:
Expand All @@ -100,7 +100,7 @@ The Redis master we created earlier is a single pod (REPLICAS = 1), while the Re

```console
$ kubectl create -f examples/guestbook-go/redis-slave-controller.json
replicationcontrollers/redis-slave
```

2. To verify that the redis-slave controller is running, run the `kubectl get rc` command:
Expand Down Expand Up @@ -143,7 +143,7 @@ Just like the master, we want to have a service to proxy connections to the read

```console
$ kubectl create -f examples/guestbook-go/redis-slave-service.json
services/redis-slave
```

2. To verify that the redis-slave service is up, list the services you created in the cluster with the `kubectl get services` command:
Expand All @@ -168,7 +168,7 @@ This is a simple Go `net/http` ([negroni](https://github.com/codegangsta/negroni

```console
$ kubectl create -f examples/guestbook-go/guestbook-controller.json
replicationcontrollers/guestbook
```

Tip: If you want to modify the guestbook code open the `_src` of this example and read the README.md and the Makefile. If you have pushed your custom image be sure to update the `image` accordingly in the guestbook-controller.json.
Expand Down

0 comments on commit b80c941

Please sign in to comment.