Skip to content

Commit

Permalink
src,doc: add js- prefix to faas-js-example yamls
Browse files Browse the repository at this point in the history
  • Loading branch information
danbev committed Jan 31, 2020
1 parent f6c7aad commit bbdd35a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,15 +237,15 @@ $ kubectl --namespace js-example-service create secret docker-registry registry-

Next, we create a deployment for our application:
```console
$ kubectl apply -f deployment.yaml
$ kubectl apply -f js-deployment.yaml
$ kubectl get deployments js-example-service
NAME READY UP-TO-DATE AVAILABLE AGE
js-example-service 1/1 1 1 3d22h
```

Next we will create a service for our application, the deployment above:
```console
$ kubectl apply -f service.yaml
$ kubectl apply -f js-service.yaml
$ kubectl get svc js-example-service
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
js-example-service ClusterIP 10.103.182.147 <none> 80/TCP 3d22h
Expand All @@ -254,7 +254,7 @@ js-example-service ClusterIP 10.103.182.147 <none> 80/TCP 3d22h
Next we create the trigger which is used by the Broker to filter events and
send them to our service:
```console
$ kubectl apply trigger.yaml
$ kubectl apply js-trigger.yaml
$ kubectl get trigger js-example-service
NAME READY REASON BROKER SUBSCRIBER_URI AGE
js-example-service True default http://js-example-service.js-example-service.svc.cluster.local/ 3d22h
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit bbdd35a

Please sign in to comment.