Add Weave Cloud suite
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user