8일
- Marp 로 PPT 대체
- D2로 그래프 대체
10일
- k8s, read yaml and apply to cluster
- 기본적으로는 yaml 을 Split을 미리 해야 함.
- kubectl 에서는 yaml decoder 에서 split 해주고 Decode 까지 하도록 되어 있다.
- 각 Object 를 Decode 했다면 이것을 k8s API Server 로 보내야 하는데,
/kubernetes/client-go
는 이게 편하게 되어있지는 않다.- https://stackoverflow.com/questions/58783939/using-client-go-to-kubectl-apply-against-the-kubernetes-api-directly-with-mult
- https://github.com/billiford/go-clouddriver/blob/master/pkg/kubernetes/client.go#L63
- 아무래도 이미 Kind를 알고 있다는 가정하에 쓰는것이 편하도록 되어 있는듯 하다.
- 사실 yaml file을 읽어서 Apply하는 코드를 직접 만들기보다는 kubectl 을 그냥 쓰는게 훨씬 유리하긴 하니까..
- 기본적으로는 yaml 을 Split을 미리 해야 함.
13일
- https://coolors.co/
- color 선택시 사용할수 있는 site