Skip to content

tillepille/do-k8s-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Digital Ocean Kubernetes Challenge

Original Blogpost: digitalocean.com/community/pages/kubernetes-challenge

Project Description

Deploy a solution for configuring Kubernetes "from the inside" 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.

Documentation

I wrote about my journey with this challenge here. Maybe this becomes a blogpost eventually.

In case you want try out what I build, follow the following steps.

How to set up

This will create a baseline Kubernetes cluster at DigitalOcean. To deploy to your preferred region, add a -var 'region=<YOUR_REGION>' to step 3.

  1. cd installation/
  2. terraform init
  3. TF_VAR_do_token=xyz terraform apply

After that, follow the documentation in the Digital Ocean Provider.

I chose the local go run, since no official docker image is available at the time of writing.

How to use

To create your first Droplet via Crossplane run:

$ kubectl apply -f https://raw.githubusercontent.com/crossplane-contrib/provider-digitalocean/main/examples/compute/droplet.yaml

Simple as that!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages