Merge pull request #386 from DeanJain/master
removing unwanted words after kubectl commands which is causing confusion
This commit is contained in:
commit
b80c9417ab
|
@ -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
|
||||
|
||||
|
|
|
@ -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):
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue