Add Weave Cloud suite

This commit is contained in:
Ilya Dmitrichenko
2017-02-07 12:06:16 +00:00
parent 01a0d8f723
commit e392c674ab
5 changed files with 82 additions and 0 deletions
@@ -0,0 +1,11 @@
.catalog:
name: "Weave Cloud Agents"
description: |
Weave Cloud is a add-on to Kubernetes which provides Continuous Delivery, along with hosted Prometheus Monitoring and a visual dashboard for exploring & debugging microservices
version: "latest"
questions:
- variable: "WEAVE_CLOUD_SERVICE_TOKEN"
description: "Service token for your Weave Cloud instance, get one at https://cloud.weave.works"
label: "Weave Cloud service token"
required: true
type: "string"
@@ -0,0 +1,22 @@
apiVersion: batch/v1
kind: Job
metadata:
name: weave-cloud-installer
namespace: kube-system
labels:
app: weave-cloud-installer
name: weave-cloud-installer
weave-cloud-component: installer
spec:
template:
spec:
containers:
- name: kubectl
image: gcr.io/google_containers/hyperkube:v1.5.1
command:
- /hyperkube
- kubectl
- create
- --namespace=kube-system
- --filename=https://cloud.weave.works/k8s.yaml?t=${WEAVE_CLOUD_SERVICE_TOKEN}
restartPolicy: OnFailure