Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

cloud-native app registry server

Project description

# CNR Command Line Tool

## Install the Helm Registry Plugin

First, Install the latest [Helm release](https://github.com/kubernetes/helm#install).

If you are an OSX user, quickstart with brew: brew install kubernetes-helm

Next download and install the registry plugin for Helm.

### OSX

` wget https://github.com/cn-app-registry/cnr-cli/releases/download/v0.3.7-dev/registry-cnr-v0.3.7-dev-osx-x64-helm-plugin.tar.gz mkdir -p ~/.helm/plugins/ tar xzvf registry-cnr-v0.3.7-dev-osx-x64-helm-plugin.tar.gz  -C ~/.helm/plugins/ `

### Linux

` wget https://github.com/cn-app-registry/cnr-cli/releases/download/v0.3.7-dev/registry-cnr-v0.3.7-dev-linux-x64-helm-plugin.tar.gz mkdir -p ~/.helm/plugins/ tar xzvf registry-cnr-v0.3.7-dev-linux-x64-helm-plugin.tar.gz  -C ~/.helm/plugins/ `

### Windows

` wget https://github.com/cn-app-registry/cnr-cli/releases/download/v0.3.7-dev/registry-cnr-v0.3.7-dev-win-x64-helm-plugin.tar.gz mkdir -p ~/.helm/plugins/ tar xzvf registry-cnr-v0.3.7-dev-linux-x64-helm-plugin.tar.gz  -C ~/.helm/plugins/ `

Note: You must have bash in your path and change the registry/plugin.yaml execution to call bash -c $HELM_PLUGIN_DIR/cnr.sh

## Deploy Jenkins Using Helm from the Quay Registry

` helm registry version app.quay.io `

Output should be: ` Api-version: {u'cnr-api': u'0.X.Y'} Client-version: 0.X.Y `

### Install Jenkins

` helm init helm registry list app.quay.io helm registry install app.quay.io/helm/jenkins `

## Create and Push Your Own Chart

First, create an account on https://app.quay.io (staging server) and login to the CLI using the username and password

Set an environment for the username created at Quay to use through the rest of these instructions.

` export USERNAME=philips `

Login to Quay with the Helm registry plugin:

` helm registry login -u $USERNAME app.quay.io `

Create a new Helm chart, the default will create a sample nginx application:

` helm create nginx `

Push this new chart to Quay and then deploy it from Quay.

` cd nginx helm registry push --namespace $USERNAME app.quay.io helm registry install app.quay.io/$USERNAME/nginx `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cnr, version 0.4.1
Filename, size File type Python version Upload date Hashes
Filename, size cnr-0.4.1-py2.py3-none-any.whl (30.4 kB) File type Wheel Python version 2.7 Upload date Hashes View hashes
Filename, size cnr-0.4.1.tar.gz (21.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page