Skip to content

Commit a789e56

Browse files
committed
Update getting-started.md
1 parent 05452d1 commit a789e56

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

docs/getting-started.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,38 @@
22

33
## Start Minikube/Kind
44

5+
Start a local Kubernetes cluster using for example [Minikube](https://minikube.sigs.k8s.io/docs/start/) or [Kind](https://kind.sigs.k8s.io/docs/user/quick-start/#installation).
6+
57
## Deploy the Operator
68

9+
Apply the CustomResourceDefinitions:
10+
11+
```bash
12+
kubectl apply -f https://github.com/csviri/resource-glue-operator/releases/latest/download/glues.io.csviri.operator.resourceglue-v1.yml -f https://github.com/csviri/resource-glue-operator/releases/latest/download/glueoperators.io.csviri.operator.resourceglue-v1.yml
13+
```
14+
15+
Deploy the `resource-glue-operator`:
16+
17+
```bash
18+
kubectl apply -f https://github.com/csviri/resource-glue-operator/releases/latest/download/kubernetes.yml
19+
```
20+
721
## Try out the WebPage Sample
822

23+
First apply the CustomResourceDefinition for `WebPage` :
24+
25+
```bash
26+
kubectl apply -f https://raw.githubusercontent.com/csviri/resource-glue-operator/main/src/test/resources/sample/webpage/webpage.crd.yaml
27+
```
28+
29+
Apply the `GlueOperator` for `WebPage`:
30+
31+
```bash
32+
kubectl apply -f https://raw.githubusercontent.com/csviri/resource-glue-operator/main/src/test/resources/sample/webpage/webpage.operator.yaml
33+
```
34+
35+
Create a new static WebPage:
36+
37+
```bash
38+
kubectl apply -f https://raw.githubusercontent.com/csviri/resource-glue-operator/main/src/test/resources/sample/webpage/webpage.sample.yaml
39+
```

0 commit comments

Comments
 (0)