ministryofjustice / cloud-platform

Documentation on the MoJ cloud platform
MIT License
87 stars 44 forks source link

SPIKE: Open Service Broker API #213

Closed alkar closed 6 years ago

alkar commented 6 years ago

Background

Investigate whether it's a good fit for managing resources. See references.

Proposed user journey

N/A

Approach

N/A

Questions / Assumptions

Definition of done

Reference

tatyree commented 6 years ago

Moving out of To Do for now - needs more detail, please.

tatyree commented 6 years ago

@alkar if you've already done it, or are doing it, just move it to the appropriate column, please.

alkar commented 6 years ago

Must have missed this one. I had a go at it for half a day, didn't get far, put it back in the queue. Hope to pick it up again this week.

alkar commented 6 years ago

Could not create an RDS postgres:

cat <<EOF | kubectl apply -f -
apiVersion: v1
kind: Namespace
metadata:
  name: demo
---
apiVersion: servicecatalog.k8s.io/v1beta1
kind: ServiceInstance
metadata:
  name: demo-postgres
  namespace: demo
spec:
  clusterServiceClassExternalName: dh-rdspostgresql
  clusterServicePlanExternalName: dev
  parameters:
    AccessCidr: 0.0.0.0/0
---
apiVersion: servicecatalog.k8s.io/v1beta1
kind: ServiceBinding
metadata:
  name: demo-postgres
  namespace: demo
spec:
  instanceRef:
    name: demo-postgres
EOF

Upstream issue: https://github.com/awslabs/aws-servicebroker/issues/3

alkar commented 6 years ago

Documentation can be found here.

To answer the questions of the ticket:

Pros

Cons