heidsoft / cloud-bigdata-book

write book
56 stars 33 forks source link

kong 网关 #56

Open heidsoft opened 5 years ago

heidsoft commented 5 years ago

http://dockone.io/article/5461 https://www.lijiaocn.com/%E9%A1%B9%E7%9B%AE/2018/09/30/integrate-kubernetes-with-kong.html

heidsoft commented 5 years ago

3479 cd cn-hangkong 9633 git clone git@github.com:heidsoft/heidsoft_kong.git 9634 mv ~/Documents/kong-ingress.yaml . 9635 mv kong-ingress.yaml heidsoft_kong 9636 subl kong-ingress.yaml 9714 subl ./kong-ingress.yaml 9736 brew tap kong/kong 9777 sudo mkdir -p /etc/kong 9778 wget https://raw.githubusercontent.com/Kong/kong/master/kong.conf.default 9779 cat kong.conf.default 9780 subl kong.conf.default 9781 brew install kong 9783 kong 9784 ls -alh /usr/local/bin/kong 9785 sudo mkdir /usr/local/bin/kong 9786 sudo mkdir /usr/local/kong/ 9787 cd ../Cellar/kong/0.14.1/ 9788 cd /usr/local/Cellar/kong 9793 which kong 9794 cat /usr/local/bin/kong 9795 kong migrations up 9798 cd /usr/local/share/lua/5.1/kong/cmd/ 9800 kong start 9803 cp kong.conf.default /etc/kong/kong.conf 9804 sudo cp kong.conf.default /etc/kong/kong.conf 9805 kong start -c /etc/kong/kong.conf 9809 sudo kong start -c /etc/kong/kong.conf 9826 echo $PATH && kong start -c /etc/kong/kong.conf 9830 kong --help 9831 ls -alh /usr/local/kong/ 9837 ls -alh /usr/local/kong 9838 chown -R admin:wheel /usr/local/kong 9839 chown -R heidsoft:wheel /usr/local/kong 9840 sudo chown -R heidsoft:wheel /usr/local/kong 9841 echo $PATH && kong start --vv -c /etc/kong/kong.conf 9842 ps -ef|grep kong 9843 netstat -tlnp|grep kong 9844 netstat -al|grep kong 9848 git commit -m "update default kong config" 9849 npm install -g kong-dashboard\n 9850 kong-dashboard start --kong-url http://127.0.0.1:8001