Skip to content

Commit 8804987

Browse files
committed
Use git-raw for namespace creation
Signed-off-by: Alex Ellis (VMware) <[email protected]>
1 parent 264f3a4 commit 8804987

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

docs/deployment/kubernetes.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ This guide is for deployment to a vanilla Kubernetes 1.8 or 1.9 cluster running
66

77
OpenFaaS is Kubernetes-native and uses *Deployments*, *Services* and *Secrets*. For more detail check out the ["faas-netes" repository](https://github.com/openfaas/faas-netes).
88

9-
!!! note
10-
For deploying on a cloud that supports Kubernetes *LoadBalancers* you may also want to apply the configuration in: `cloud/lb.yml`.
11-
129
### 1.0 Build a cluster
1310

1411
You can start evaluating FaaS and building functions on your laptop or on a VM (cloud or on-prem).
@@ -60,16 +57,18 @@ This step assumes you are running `kubectl` on a master host.
6057
* openfaas-fn - for functions
6158

6259
```bash
63-
$ cd faas-netes && \
64-
kubectl apply -f ./namespaces.yml,./yaml
60+
$ kubectl apply -f https://raw.githubusercontent.com/openfaas/faas-netes/master/namespaces.yml
6561
```
6662

67-
!!! note
68-
RBAC is optional but encouraged and enabled by default.
63+
Now deploy OpenFaaS:
6964

70-
Asynchronous invocation works by queuing requests with NATS Streaming.
65+
```bash
66+
$ cd faas-netes && \
67+
kubectl apply -f ./yaml
68+
```
7169

72-
See: [Asynchronous function guide](../../advanced/async)
70+
!!! note
71+
For deploying on a cloud that supports Kubernetes *LoadBalancers* you may also want to apply the configuration in: `cloud/lb.yml`.
7372

7473
### 3.0 Use OpenFaaS
7574

0 commit comments

Comments
 (0)