diff --git a/kubernetes-templates/weave-cloud/0/rancher-compose.yml b/kubernetes-templates/weave-cloud/0/rancher-compose.yml new file mode 100644 index 0000000..abb620f --- /dev/null +++ b/kubernetes-templates/weave-cloud/0/rancher-compose.yml @@ -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" diff --git a/kubernetes-templates/weave-cloud/0/weave-cloud-installer-job.yaml b/kubernetes-templates/weave-cloud/0/weave-cloud-installer-job.yaml new file mode 100644 index 0000000..6f85f5b --- /dev/null +++ b/kubernetes-templates/weave-cloud/0/weave-cloud-installer-job.yaml @@ -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 diff --git a/kubernetes-templates/weave-cloud/README.md b/kubernetes-templates/weave-cloud/README.md new file mode 100644 index 0000000..89289dd --- /dev/null +++ b/kubernetes-templates/weave-cloud/README.md @@ -0,0 +1,23 @@ +# Weave Cloud Agents + +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. + +This package contains the agents which connect your cluster to Weave Cloud. + +_To learn more and sign up please visit [Weaveworks website](https://weave.works)._ + +You will need a service token which you can get from [cloud.weave.works](https://cloud.weave.works/). + +## Technical Information + +This stack installs a Kubernetes job that in turns installs the latest version of all the neccessary components. + +To view the pods installed, try `kubectl get pods -n kube-system -l weave-cloud-component`. + +## If you need to Uninstall... + +If you would like to uninstall this stack, you will need to do it using Rancher UI or CLI first, and then run the following command: + +``` +kubectl detele -n kube-system -f "https://cloud.weave.works/k8s.yaml?t=${WEAVE_CLOUD_SERVICE_TOKEN}" +``` diff --git a/kubernetes-templates/weave-cloud/catalogIcon-weave-cloud.svg b/kubernetes-templates/weave-cloud/catalogIcon-weave-cloud.svg new file mode 100644 index 0000000..70dd094 --- /dev/null +++ b/kubernetes-templates/weave-cloud/catalogIcon-weave-cloud.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/kubernetes-templates/weave-cloud/config.yml b/kubernetes-templates/weave-cloud/config.yml new file mode 100644 index 0000000..e29d62f --- /dev/null +++ b/kubernetes-templates/weave-cloud/config.yml @@ -0,0 +1,6 @@ +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" +category: "Continuous Delivery, Monitoring & Debugging" +maintainer: "Ilya Dmitrichenko "