Skip to content

Commit 62b2aa1

Browse files
committed
consolidate documentation
1 parent 1dada3d commit 62b2aa1

File tree

2 files changed

+25
-11
lines changed

2 files changed

+25
-11
lines changed

README.md

+25-5
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,38 @@
11
# Digital Ocean Kubernetes Challenge
22

3+
Original Blogpost: [digitalocean.com/community/pages/kubernetes-challenge](https://www.digitalocean.com/community/pages/kubernetes-challenge#anchor--challenges)
4+
35
## Project Description
46

57
_Deploy a solution for configuring Kubernetes "from the inside"_
68
Install Crossplane, which is like Terraform but you manage the infra from inside Kubernetes, not from outside. Crossplane is an open source Kubernetes add-on that enables platform teams to assemble infrastructure from multiple vendors, and expose higher level self-service APIs for application teams to consume, without having to write any code.
79

810
## Documentation
911

10-
can be found in `docs`
12+
I wrote about my journey with this challenge [here](docs/journey.md).
13+
_Maybe this becomes a blogpost eventually._
14+
15+
In case you want try out what I build, follow the following steps.
16+
17+
### How to set up
18+
19+
This will create a baseline Kubernetes cluster at DigitalOcean.
20+
To deploy to your preferred region, add a `-var 'region=<YOUR_REGION>'` to step 3.
21+
22+
1. `cd installation/`
23+
2. `terraform init`
24+
3. `TF_VAR_do_token=xyz terraform apply`
25+
26+
After that, follow the documentation in the [Digital Ocean Provider](https://github.com/crossplane-contrib/provider-digitalocean).
27+
28+
I chose the local `go run`, since no official docker image is available at the time of writing.
1129

12-
## ToDos
30+
### How to use
1331

14-
- [ ] understand Crossplane
32+
To create your first Droplet via Crossplane run:
1533

16-
### Useful Links
34+
```bash
35+
$ kubectl apply -f https://raw.githubusercontent.com/crossplane-contrib/provider-digitalocean/main/examples/compute/droplet.yaml
36+
```
1737

18-
<https://github.com/crossplane-contrib/provider-digitalocean>
38+
_Simple as that!_

docs/README.md

-6
This file was deleted.

0 commit comments

Comments
 (0)