Ada Hakka's Blog

May the force be with you.

2020年9月9日

Vuejs Cron 表达式校验

摘要: Problem 笔者在使用 vue.js 需要对一个 input 框进行 cron 表达式校验。 Solution 使用 npm 安装 cron-validator 模块: $ npm install cron-validator vue.js 中使用: import { isValidCron } 阅读全文

posted @ 2020-09-09 10:25 Adahakka 阅读(5828) 评论(0) 推荐(0)

Kubernetes WebSocket: Error during WebSocket handshake: Unexpected response code: 403

摘要: Problem 笔者从 Vue 中建立 ws 连接访问 Kubernetes WebSocket 获取容器日志,得到此问题: WebSocket connection to 'ws://xx.xx.xx.xx:8080/api/v1/namespaces/default/pods/test-1/lo 阅读全文

posted @ 2020-09-09 09:50 Adahakka 阅读(2449) 评论(2) 推荐(0)

导航