Tangram
语言
  • What is Tangram?
  • overview
    • Capabilities
    • Architecture
  • Install
    • Start with Kubernetes
  • quick start
    • Create a flow
    • Create a tool
  • Flow
    • Nodes
      • IF
      • SWITCH
      • Format
      • Count
      • Subflow
      • Conversion
      • Execution
      • Variable
      • Note
      • Error
      • Response
    • Datasources
      • Node
      • Form
      • Variable
      • Webhooks
      • Inputs(Subflow)
      • Base
  • triggers
    • Forms
      • Text
      • Textarea
      • Number
      • Date
      • Radio
      • Checkbox
      • Single Selection
      • Multi Selection
      • File
      • Title and Content
    • Webhooks
    • Crons
  • APP Development
    • template
    • info.json
    • core.py
    • test.py
    • Upload and Debugging
Powered by GitBook
On this page
  • Stop firewall
  • Install Snap
  • Install Microk8s
  • Enable Addons
  • Install Tangram Helm Charts
  • Config Hosts
  1. Install

Start with Kubernetes

The example uses microk8s, and other Kubernetes are also feasible.

Stop firewall

systemctl stop firewalld
systemctl disable firewalld

Install Snap

sudo yum install -y epel-release
sudo yum install -y snapd
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap

Install Microk8s

sudo snap install microk8s --classic --channel=1.27/stable
microk8s status --wait-ready

#Exit and relogin to the terminal again
#The user used in the example is called tangram
sudo usermod -a -G microk8s tangram
sudo chown -f -R tangram ~/.kube

Enable Addons

#Relogin the terminal again
microk8s enable helm3 dns ingress

Install Tangram Helm Charts

microk8s helm3 install test tangram/

Config Hosts

The local environment needs to have the hosts file configured to point to the Ingress domain.

# tangram
x.x.x.x backend.tangramapps.com
x.x.x.x demo.tangramapps.com

In a cloud-based environment, you can configure the Ingress to use a private domain and perform DNS resolution.

PreviousArchitectureNextCreate a flow

Last updated 10 months ago