Closed vlatte closed 2 years ago
createdTime 일자가 잘못 저장되거나 잘 못 조회되는 것으로 보이는데 원인을 못찾겠네요. 약 9시간정도 차이 나는 것같은데 원인이 뭘까요?
9시간이라면.. 그리니치 표준시와의 차이로 보이는데... 혹시 서버의 시간이 다른건 아닐까요?
docker alpine 베이스 이미지가 원인인듯하네요. 소스코드로 돌린것이 아니라 docker build 한 이미지로 테스트 했거든요.. https://velog.io/@kineo2k/Docker-alpine-%EC%9D%B4%EB%AF%B8%EC%A7%80-%EC%82%AC%EC%9A%A9-%EC%8B%9C-Timezone-%EC%84%A4%EC%A0%95
아하! docker 베이스로는 테스트를 안해봤네요 ㅠㅠ
alpine 이미지는 기본값이 UTC 인듯 "Container docker based on Alpine Linux uses standard timezone UTC" https://quaded.com/docker-apline-configure-timezone/
createdTime을 아래와 같이 UTC 기준으로 변경하였습니다.
"createdTime": "2021-11-03T06:19:10Z"
feat: add parameter and entity (label, description, createdTime) for cluster, node (#99)
fix: remove tencent exception handling from CheckSpec, CreateSshKey
Tested with