一般這樣都是默認編碼不支持當前字符的問題
修改環境變量后,在查看
LANG=C.utf8
查看修改時區
date +"%Z %z"
-Duser.timezone=GMT+08 //java特有
/etc/localtime //通用
/etc/timezone //debian
添加host
apiVersion: v1
kind: Pod
metadata:
name: hostaliases-pod
spec:
restartPolicy: Never
hostAliases:
- ip: "127.0.0.1"
hostnames:
- "foo.local"
- "bar.local"
- ip: "1.1.1.1"
hostnames:
- "foo.remote"
containers:
- name: cat-hosts
image: 'registry.cn-hangzhou.aliyuncs.com/bigteam/filebeat:v5'
command:
- cat
args:
- "/etc/hosts"