Skip to content

Commit 6a79c0b

Browse files
axhixhilackarms
authored andcommitted
updated docs to use glooctl
1 parent 39ec8f5 commit 6a79c0b

File tree

11 files changed

+22
-21
lines changed

11 files changed

+22
-21
lines changed

docs/getting_started/aws/lambda.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727

2828
1. Install Gloo:
2929

30-
kubectl apply \
31-
-f https://raw.githubusercontent.com/solo-io/gloo/master/install/kube/install.yaml
30+
glooctl install kube
3231

3332

3433
1. Create a kubernetes secret with your AWS credentials:

docs/getting_started/kubernetes/1.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111

1212
1. Gloo and Envoy deployed and running on Kubernetes:
1313

14-
kubectl apply \
15-
-f https://raw.githubusercontent.com/solo-io/gloo/master/install/kube/install.yaml
14+
glooctl install kube
1615

1716

1817
1. Next, deploy the Pet Store app to kubernetes:
@@ -25,10 +24,17 @@ Let's verify this:
2524

2625
glooctl upstream get
2726
28-
default-petstore-8080
29-
gloo-system-gloo-8081
30-
gloo-system-ingress-8080
31-
gloo-system-ingress-8443
27+
+--------------------------------+------------+----------+-------------+
28+
| NAME | TYPE | STATUS | FUNCTION |
29+
+--------------------------------+------------+----------+-------------+
30+
| default-petstore-8080 | kubernetes | Accepted | addPet |
31+
| | | | deletePet |
32+
| | | | findPetById |
33+
| | | | findPets |
34+
| gloo-system-control-plane-8081 | kubernetes | Accepted | |
35+
| gloo-system-ingress-8080 | kubernetes | Accepted | |
36+
| gloo-system-ingress-8443 | kubernetes | Accepted | |
37+
+--------------------------------+------------+----------+-------------+
3238

3339
The upstream we want to see is `default-petstore-8080`. Digging a little deeper,
3440
we can verify that Gloo's function discovery populated our upstream with

docs/getting_started/kubernetes/2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Now that we've seen the traditional routing functionality of Gloo (i.e. API-to-s
66

77
Let's take a look at the upstream that was created for our petstore service:
88

9-
glooctl upstream get default-petstore-8080
9+
glooctl upstream get default-petstore-8080 -o yaml
1010
1111
functions:
1212
- name: addPet

docs/installation/kubernetes.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
Once your Kubernetes cluster is up and running, run the following command to deploy Gloo and Envoy to the `gloo-system` namespace:
1717

1818
```bash
19-
kubectl apply \
20-
--filename https://raw.githubusercontent.com/solo-io/gloo/master/install/kube/install.yaml
19+
glooctl install kube
2120
```
2221

2322
Check that the Gloo pods and services have been created:

docs/tutorials/fission.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Setting up kubernetes: https://docs.fission.io/0.6.0/installation/kubernetessetu
99

1010
To install gloo, run:
1111
```
12-
kubectl apply -f https://raw.githubusercontent.com/solo-io/gloo-install/master/kube/install.yaml
12+
glooctl install kube
1313
```
1414

1515
# Deploy Function

docs/tutorials/openfaas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ kubectl apply -f ./namespaces.yml,./yaml
1414

1515
To install gloo, run:
1616
```
17-
kubectl apply -f https://raw.githubusercontent.com/solo-io/gloo/master/install/kube/install.yaml
17+
glooctl install kube
1818
```
1919

2020
# Deploy Function

docs/tutorials/refactor_monolith.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ kubectl create clusterrolebinding permissive-binding \
3333

3434
## Install Gloo
3535
```shell
36-
kubectl apply \
37-
-f https://raw.githubusercontent.com/solo-io/gloo/master/install/kube/install.yaml
36+
glooctl install kube
3837
```
3938

4039
Wait \ Verify that all the pods are in Running status:

docs/tutorials/source_events_from_github.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Sourcing Events from GitHub Webhooks
44
## Setup
55

66
#### Deploy Gloo
7-
kubectl apply -f https://raw.githubusercontent.com/solo-io/gloo/master/install/kube/install.yaml
7+
glooctl install kube
88

99
#### Deploy NATS and minio
1010
kubectl apply -f \

example/demo/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ kubectl create clusterrolebinding permissive-binding \
3131

3232
## Install Gloo
3333
```shell
34-
kubectl apply \
35-
-f https://raw.githubusercontent.com/solo-io/gloo/master/install/kube/install.yaml
34+
glooctl install kube
3635
```
3736

3837
Wait \ Verify that all the pods are in Running status:

example/grpc/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ minikube start
2020

2121
## Install Gloo
2222
```shell
23-
kubectl apply \
24-
-f https://raw.githubusercontent.com/solo-io/gloo/master/install/kube/install.yaml
23+
glooctl install kube
2524
```
2625

2726
Wait \ Verify that all the pods are in Running status:

example/source_events_from_github/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Sourcing Events from GitHub Webhooks
88
## Setup
99

1010
#### Deploy Gloo
11-
kubectl apply -f https://raw.githubusercontent.com/solo-io/gloo/master/install/kube/install.yaml
11+
glooctl install kube
1212

1313
#### Deploy NATS and minio
1414
kubectl apply -f \

0 commit comments

Comments
 (0)