Cheng Wang

Results 36 comments of Cheng Wang

I also got this error, resolved as follows: ``` 1. Check GLIBC version: strings /usr/lib64/libc.so.6 | grep GLIBC_2.1 ... GLIBC_2.15 GLIBC_2.16 GLIBC_2.17 => No GLIBC_2.18 2. Install GLIBC_2.18: wget http://mirrors.ustc.edu.cn/gnu/libc/glibc-2.18.tar.gz...

时间统一用时间戳,因为 1. int 占字节比 日期少;2. int 作为索引更快; Zhan Shi 于2020年7月8日周三 下午6:41写道: > > 1. timestamp 貌似mysql之前版本或者现在版本 只能到 2038年 > 2. timestamp好像存的是 字符串,对海外的站点应用是不是有时区问题 > > — > You are receiving this...

如果用 CURRENT_TIMESTAMP ON UPDATE 这样就会每次自动更新,但一些数据可能是需要依赖更新时间的,如果需要修数据就不能只更新某些字段了,所以一般不建议采用数据库自动更新; Shuhui Xu 于2020年7月8日周三 下午3:58写道: > 为什么sql中的create_at和update_at都是int类型,而不使用数据库通过CURRENT_TIMESTAMP,CURRENT_TIMESTAMP > ON UPDATE 自动维护这两个字段? > > — > You are receiving this because you are subscribed to this thread....

Also got this error on Mac. ``` k rbac-view fatal error: runtime: bsdthread_register error runtime stack: runtime.throw(0x1e5be19, 0x21) /usr/local/go/src/runtime/panic.go:605 +0x95 fp=0x7ff7bfeff2f0 sp=0x7ff7bfeff2d0 pc=0x102a125 runtime.goenvs() /usr/local/go/src/runtime/os_darwin.go:108 +0x83 fp=0x7ff7bfeff320 sp=0x7ff7bfeff2f0 pc=0x10279c3 runtime.schedinit()...

Fixed by #536. Please update to the latest version.

I also got this issue: ``` _kube_ps1_file_newer_than:15: division by zero ``` ``` zsh --version zsh 5.0.2 (x86_64-redhat-linux-gnu) ```

【讨论】 1. secret 引用都是 namespaced 的,是否可以支持一个 ClusterSecret? https://github.com/kubernetes/kubernetes/issues/113251 2. job 完成任务之后,一般需要传递结果数据,是否可以加一个 status.data 字段? https://github.com/kubernetes/kubernetes/issues/113641

> This would need to be behind a flag as it changes the output which may break automation that relies on current behavior. Sure, we can add a flag `--show-resources`...