Skip to content
Branch: master
Find file Copy path
Find file Copy path
5 contributors

Users who have contributed to this file

@technosophos @wonderflow @suhuruli @likevi-MSFT @bacongobbler
175 lines (111 sloc) 6.61 KB

Installing Rudr


You will need both kubectl and Helm 3 to install Rudr.

  1. Clone the repository.

    git clone
  2. Install kubectl. The below is for MacOS. For other OS, please go to

    curl -LO "$(curl -s"
  3. Install Helm 3. The below is copied directly from the Helm installation guide.

    1. Download your desired version of Helm 3 from the releases page
    2. Unpack it (tar -zxvf helm-v3.0.0-beta.3-darwin-amd64.tar.gz). Note that the command might change depending on the Helm 3 version you installed.
    3. Find the helm binary in the unpacked directory, and move it to its desired destination (mv macos-amd64/helm /usr/local/bin/helm)
    4. From there, you should be able to run the client: helm help.
  4. As of this writing, the supported versions of Kubernetes are 1.15 and 1.16, so make sure you have a Kubernetes cluster with a compatible version. To get started with a Kubernetes cluster, see the options below:

Installing Rudr Using Helm 3

Note: In its current version, Rudr will only listen for events in one namespace. This will change in the future. For now, though, you must install Rudr into the namespace into which you will deploy Rudr apps. You may install Rudr multiple times on the same cluster as long as you deploy to a different namespace each time.

Tip: As there are some breaking changes (such as Configuration => ApplicationConfiguration, Component => ComponentSchematic), if you reinstall Rudr, make sure your old CRDs are deleted. Helm will not automatically delete CRDs. You must do this with kubectl delete crd.

Tip: As there are some breaking changes, if you reinstall Rudr, make sure your old CRDs are deleted.

  1. Helm install Rudr
$ helm install rudr ./charts/rudr --wait --set image.tag=v1.0.0-alpha.1
NAME: rudr
LAST DEPLOYED: 2019-08-08 09:00:07.754179 -0600 MDT m=+0.710068733
NAMESPACE: default
STATUS: deployed

Rudr is a Kubernetes controller to manage Configuration CRDs.

It has been successfully installed.

This will install the CRDs and the controller into your Kubernetes cluster.

Use the --set image.tag=VERSION to specify the version that you want installed. If you do not specify a version, the latest unstable developer release will be installed.

  1. Verifying the Install

You can verify that Rudr is installed by fetching the CRDs:

$ kubectl get crds -l
NAME                                      CREATED AT   2019-10-02T19:57:32Z          2019-10-02T19:57:32Z         2019-10-02T19:57:32Z                2019-10-02T19:57:32Z                      2019-10-02T19:57:32Z                      2019-10-02T19:57:32Z

You should see at least those six CRDs. You can also verify that the Rudr deployment is running:

$ kubectl get deployment rudr
rudr   1/1     1            1           2m47s


To upgrade Rudr, typically you only need to use Helm.

Tip: During the Alpha and Beta phase of Rudr, we recommend also deleting your CRDs manually. You must do this with kubectl delete crd.

$ helm upgrade rudr charts/rudr

The above will update your Rudr to the latest version.


$ helm delete rudr

This will leave the CRDs and configurations intact.

NOTE: When you delete the CRDs, it will delete everything touching Open Application Model from configurations to secrets.

kubectl delete crd -l

The above will delete the CRDs and clean up everything related with Open Application Model.

Installing Implementations for Traits

Rudr provides several traits, including ingress and autoscaler. However, it does not install default implementations of some of these. This is because they map to primitive Kubernetes features that can be fulfilled by different controllers.

The best place to find implementations for your traits is Helm Hub.

Manual Scaler

The manual scaler trait has no external dependencies.


To successfully use an ingress trait, you will need to install one of the Kubernetes Ingress controllers. We recommend nginx-ingress.

  1. First, add the stable repo to your Helm installation.

    helm repo add stable
  2. Install the NGINX ingress using Helm 3.

    $ helm install nginx-ingress stable/nginx-ingress

Note: You still must manage your DNS configuration as well. Mapping an ingress to will not work if you do not also control the domain mapping for


To use the autoscaler trait, you must install a controller for Kubernetes HorizontalPodAutoscaler. We recommend KEDA.

  1. First, add the KEDA repo to your Helm installation.

    helm repo add kedacore
  2. Update your Helm repo.

    helm repo update
  3. Install KEDA on your cluster.

    helm install kedacore kedacore/keda-edge

Running for Development

Developers may prefer to run a local copy of the Rudr daemon. To do so:

  1. Make sure the CRDs are installed on your target cluster
  2. Make sure your current Kubernetes context is set to your target cluster. Rudr will inherit the credentials from this context entry.
  3. From the base directory of the code, run make run. This will start Rudr in the foreground, running locally, but listening on the remote cluster.

Next Steps

Deploy a sample rudr application using the tutorial.


You could check the appendix doc to find more information.

You can’t perform that action at this time.