Git Product home page Git Product logo

charts's Introduction

Charts

Overview

Charts used with Kubernetes.

Used by:

Contents

  1. Using Helm
    1. Add helm repository
    2. List helm repositories
    3. View charts in Senzing Helm repository
    4. Remove helm repository
  2. Using Rancher Catalog
    1. Add catalog
    2. Delete catalog
  3. Development
    1. Clone repository
    2. Identify public charts
    3. Helm lint
    4. Package Helm chart

Using Helm

Add helm repository

  1. Example:

    helm repo add senzing 'https://senzing.github.io/charts/'

List helm repositories

  1. Example:

    helm repo list

View charts in Senzing Helm repository

  1. Example:

    helm search senzing

Remove helm repository

  1. Example:

    helm repo remove senzing

Using Rancher Catalog

Add catalog

  1. Using Rancher Web interface. Reference: Adding custom catalogs. Example:

    1. Choose Rancher > Top, Left-most dropdown box > Global
    2. Choose Rancher > Catalogs tab
    3. Click "Add Catalog" button.
    4. In "Add Catalog" dialog box:
      1. Name: senzing
      2. Catalog URL: https://github.com/senzing/charts
      3. Branch: master
      4. Kind: Helm
    5. Click "Create" button
  2. Using Rancher command line interface (CLI). Example:

    rancher catalog add senzing https://github.com/senzing/charts

Delete catalog

  1. Using Rancher Web interface. Example:

    1. Choose Rancher > Global tab
    2. Choose Rancher > Catalogs tab
    3. In "Custom" section, select "senzing" catalog.
    4. Click "Delete" button.
  2. Using Rancher command line interface (CLI). Example:

    rancher catalog delete senzing

Development

Clone repository

  1. Using these environment variable values:

    export GIT_ACCOUNT=senzing
    export GIT_REPOSITORY=charts
    export GIT_ACCOUNT_DIR=~/${GIT_ACCOUNT}.git
    export GIT_REPOSITORY_DIR="${GIT_ACCOUNT_DIR}/${GIT_REPOSITORY}"

    Then follow steps in clone-repository.

Identify public charts

  1. ✏️ List docker images in an environment variable. Example:

    export CHART_NAMES=( \
      "coleifer-sqlite-web" \
      "db2-client" \
      "helm-create-example" \
      "ibm-db2-driver-installer" \
      "kafka-test-client" \
      "mysql-client" \
      "phpmyadmin" \
      "phppgadmin" \
      "postgresql-client" \
      "resolver" \
      "senzing-api-server" \
      "senzing-base" \
      "senzing-configurator" \
      "senzing-debug" \
      "senzing-entity-search-web-app" \
      "senzing-hello-world" \
      "senzing-hello-world-on-hub-docker-com" \
      "senzing-ibm-db2" \
      "senzing-init-container" \
      "senzing-mock-data-generator" \
      "senzing-package" \
      "senzing-redoer" \
      "senzing-stream-loader" \
      "senzing-stream-producer" \
      "senzing-yum" \
    )

Helm lint

  1. Single chart.

    ✏️ Identify chart.

    export CHART_NAME=senzing-hello-world

    Example:

    cd ${GIT_REPOSITORY_DIR}/charts/${CHART_NAME}/${CHART_NAME}
    helm lint
  2. Public charts. Example:

    for CHART_NAME in ${CHART_NAMES[@]}; \
    do \
      cd ${GIT_REPOSITORY_DIR}/charts/${CHART_NAME}/${CHART_NAME}; \
      pwd; \
      helm lint; \
    done

Package Helm chart

  1. Single chart. Example:

    ✏️ Identify chart.

    export CHART_NAME=senzing-hello-world

    Example:

    cd ${GIT_REPOSITORY_DIR}/docs
    helm package ${GIT_REPOSITORY_DIR}/charts/${CHART_NAME}/${CHART_NAME}
    helm repo index .
  2. Public charts. Example:

    cd ${GIT_REPOSITORY_DIR}/docs
    
    for CHART_NAME in ${CHART_NAMES[@]}; \
    do \
      helm package ${GIT_REPOSITORY_DIR}/charts/${CHART_NAME}/${CHART_NAME}; \
    done
    
    helm repo index .

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.