会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
FromScratch
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
35
下一页
2019年12月16日
workflow1
摘要: var workflowDef = { start:{ fn:"begin", //对应处理方法可以在内部定义,也可以在外部定义 next:["task1","task2"] }, end:"end", tasks:[{ id:"task1", fn:function(){ alert("执行任务一
阅读全文
posted @ 2019-12-16 16:40 FromScratch
阅读(228)
评论(0)
推荐(0)
2019年12月11日
REDIS工具类
摘要: ocal redis = require "resty/redis" local log = ngx.log local ERR = ngx.ERR local setmetatable = setmetatable local _M = { } local mt = { __index = _M
阅读全文
posted @ 2019-12-11 16:22 FromScratch
阅读(632)
评论(0)
推荐(0)
2019年12月7日
openresty-component
摘要: 1.Array Var Nginx Module ArrayVarNginxModulelocation /foo { array_split ',' $arg_files to=$array; # use the set_quote_sql_str directive in the ngx_set
阅读全文
posted @ 2019-12-07 17:47 FromScratch
阅读(457)
评论(0)
推荐(0)
2019年11月28日
获取度量数据:创建服务账户获取访问token
摘要: kubectl create clusterrolebinding kubelet-api-test --clusterrole=system:kubelet-api-admin --serviceaccount=default:kubelet-api-test clusterrolebinding
阅读全文
posted @ 2019-11-28 20:01 FromScratch
阅读(174)
评论(0)
推荐(0)
yaml服务部署示例
摘要: apiVersion: apps/v1kind: Deploymentmetadata: name: igirl namespace: chaolai labels: app: igirlspec: replicas: 1 selector: matchLabels: app: igirl temp
阅读全文
posted @ 2019-11-28 15:16 FromScratch
阅读(509)
评论(0)
推荐(0)
给服务添加路由--ingress
摘要: kind: NamespaceapiVersion: v1metadata: name: demo-webshell generateName: demo-webshell labels: name: demo-webshell purpose: Demonstration annotations:
阅读全文
posted @ 2019-11-28 15:04 FromScratch
阅读(251)
评论(0)
推荐(0)
kongdashboard
摘要: apiVersion: v1kind: Servicemetadata: name: kong-dashboard namespace: kongspec: type: NodePort ports: - name: kong-dashboard port: 80 targetPort: 8080
阅读全文
posted @ 2019-11-28 10:45 FromScratch
阅读(180)
评论(0)
推荐(1)
无数据库模式kong/kong-ingress-controller
摘要: apiVersion: v1kind: Namespacemetadata: name: kong apiVersion: apiextensions.k8s.io/v1beta1kind: CustomResourceDefinitionmetadata: name: kongconsumers.
阅读全文
posted @ 2019-11-28 10:44 FromScratch
阅读(786)
评论(0)
推荐(0)
2019年11月25日
如何实现平台登录
摘要: 1、涉及到角色A、平台B、目标应用2、过程A、在平台进行登录,平台回调目标应用的处理程序 目标应用需要实现处理程序,<目标应用的URL>/auth?code=xxxxxxx 处理程序内需要: A-1:获取应用访问平台的访问token,建议缓存到目标应用的redis缓存,有效期建议2000秒,过期后自
阅读全文
posted @ 2019-11-25 13:04 FromScratch
阅读(287)
评论(0)
推荐(0)
2019年11月2日
git tag
摘要: git打tag 清风流苏 清风流苏 清风流苏 清风流苏 32018.09.06 09:44:06字数 459阅读 35,027 32018.09.06 09:44:06字数 459阅读 35,027 32018.09.06 09:44:06字数 459阅读 35,027 32018.09.06 09
阅读全文
posted @ 2019-11-02 15:01 FromScratch
阅读(290)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
35
下一页
公告